From 30c6a241e88499f536e86d325759e29ba00ff67f Mon Sep 17 00:00:00 2001 From: Anatolij Gustschin Date: Fri, 15 Feb 2008 20:09:01 +0100 Subject: Wipe out assembler warnings while compiling x86 biosemu This patch tries to get rid of some assembler warnings about changed .got2 section type while compiling x86 bios emulator code. Signed-off-by: Anatolij Gustschin --- drivers/bios_emulator/x86emu/ops2.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'drivers/bios_emulator/x86emu/ops2.c') diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c index d6a210c973..d90d36629f 100644 --- a/drivers/bios_emulator/x86emu/ops2.c +++ b/drivers/bios_emulator/x86emu/ops2.c @@ -1498,7 +1498,7 @@ void x86emuOp2_movsx_word_R_RM(u8 X86EMU_UNUSED(op2)) /*************************************************************************** * Double byte operation code table: **************************************************************************/ -void (*x86emu_optab2[256])(u8) __attribute__((section(".got2"))) = +void (*x86emu_optab2[256])(u8) __attribute__((section(GOT2_TYPE))) = { /* 0x00 */ x86emuOp2_illegal_op, /* Group F (ring 0 PM) */ /* 0x01 */ x86emuOp2_illegal_op, /* Group G (ring 0 PM) */ -- cgit v1.2.3