diff options
| author | Anatolij Gustschin <agust@denx.de> | 2008-02-15 20:09:01 +0100 | 
|---|---|---|
| committer | Wolfgang Denk <wd@denx.de> | 2008-02-16 00:31:16 +0100 | 
| commit | 30c6a241e88499f536e86d325759e29ba00ff67f (patch) | |
| tree | 793520df08f329a19579254bf1aa3f01690c03ed /drivers/bios_emulator/x86emu | |
| parent | 45da195cf675d0b4054aeeabf7b9c0daf798841d (diff) | |
| download | olio-uboot-2014.01-30c6a241e88499f536e86d325759e29ba00ff67f.tar.xz olio-uboot-2014.01-30c6a241e88499f536e86d325759e29ba00ff67f.zip | |
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 <agust@denx.de>
Diffstat (limited to 'drivers/bios_emulator/x86emu')
| -rw-r--r-- | drivers/bios_emulator/x86emu/ops.c | 14 | ||||
| -rw-r--r-- | drivers/bios_emulator/x86emu/ops2.c | 2 | 
2 files changed, 8 insertions, 8 deletions
| diff --git a/drivers/bios_emulator/x86emu/ops.c b/drivers/bios_emulator/x86emu/ops.c index a77bd9b49..10f275794 100644 --- a/drivers/bios_emulator/x86emu/ops.c +++ b/drivers/bios_emulator/x86emu/ops.c @@ -91,7 +91,7 @@ static char *x86emu_GenOpName[8] = {  #endif  /* used by several opcodes  */ -static u8 (*genop_byte_operation[])(u8 d, u8 s) __attribute__ ((section(".got2"))) = +static u8 (*genop_byte_operation[])(u8 d, u8 s) __attribute__ ((section(GOT2_TYPE))) =  {      add_byte,		/* 00 */      or_byte,		/* 01 */ @@ -103,7 +103,7 @@ static u8 (*genop_byte_operation[])(u8 d, u8 s) __attribute__ ((section(".got2")      cmp_byte,		/* 07 */  }; -static u16 (*genop_word_operation[])(u16 d, u16 s) __attribute__ ((section(".got2"))) = +static u16 (*genop_word_operation[])(u16 d, u16 s) __attribute__ ((section(GOT2_TYPE))) =  {      add_word,		/*00 */      or_word,		/*01 */ @@ -115,7 +115,7 @@ static u16 (*genop_word_operation[])(u16 d, u16 s) __attribute__ ((section(".got      cmp_word,		/*07 */  }; -static u32 (*genop_long_operation[])(u32 d, u32 s) __attribute__ ((section(".got2"))) = +static u32 (*genop_long_operation[])(u32 d, u32 s) __attribute__ ((section(GOT2_TYPE))) =  {      add_long,		/*00 */      or_long,		/*01 */ @@ -128,7 +128,7 @@ static u32 (*genop_long_operation[])(u32 d, u32 s) __attribute__ ((section(".got  };  /* used by opcodes 80, c0, d0, and d2. */ -static u8(*opcD0_byte_operation[])(u8 d, u8 s) __attribute__ ((section(".got2"))) = +static u8(*opcD0_byte_operation[])(u8 d, u8 s) __attribute__ ((section(GOT2_TYPE))) =  {      rol_byte,      ror_byte, @@ -141,7 +141,7 @@ static u8(*opcD0_byte_operation[])(u8 d, u8 s) __attribute__ ((section(".got2"))  };  /* used by opcodes c1, d1, and d3. */ -static u16(*opcD1_word_operation[])(u16 s, u8 d) __attribute__ ((section(".got2"))) = +static u16(*opcD1_word_operation[])(u16 s, u8 d) __attribute__ ((section(GOT2_TYPE))) =  {      rol_word,      ror_word, @@ -154,7 +154,7 @@ static u16(*opcD1_word_operation[])(u16 s, u8 d) __attribute__ ((section(".got2"  };  /* used by opcodes c1, d1, and d3. */ -static u32 (*opcD1_long_operation[])(u32 s, u8 d) __attribute__ ((section(".got2"))) = +static u32 (*opcD1_long_operation[])(u32 s, u8 d) __attribute__ ((section(GOT2_TYPE))) =  {      rol_long,      ror_long, @@ -5147,7 +5147,7 @@ void x86emuOp_opcFF_word_RM(u8 X86EMU_UNUSED(op1))  /***************************************************************************   * Single byte operation code table:   **************************************************************************/ -void (*x86emu_optab[256])(u8) __attribute__ ((section(".got2"))) = +void (*x86emu_optab[256])(u8) __attribute__ ((section(GOT2_TYPE))) =  {  /*  0x00 */ x86emuOp_genop_byte_RM_R,  /*  0x01 */ x86emuOp_genop_word_RM_R, diff --git a/drivers/bios_emulator/x86emu/ops2.c b/drivers/bios_emulator/x86emu/ops2.c index d6a210c97..d90d36629 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)      */ |