summaryrefslogtreecommitdiff
path: root/drivers/bios_emulator/biosemu.c
diff options
context:
space:
mode:
authorAnatolij Gustschin <agust@denx.de>2008-02-15 20:09:01 +0100
committerWolfgang Denk <wd@denx.de>2008-02-16 00:31:16 +0100
commit30c6a241e88499f536e86d325759e29ba00ff67f (patch)
tree793520df08f329a19579254bf1aa3f01690c03ed /drivers/bios_emulator/biosemu.c
parent45da195cf675d0b4054aeeabf7b9c0daf798841d (diff)
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/biosemu.c')
-rw-r--r--drivers/bios_emulator/biosemu.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/bios_emulator/biosemu.c b/drivers/bios_emulator/biosemu.c
index 75ceb458c..decdb79a7 100644
--- a/drivers/bios_emulator/biosemu.c
+++ b/drivers/bios_emulator/biosemu.c
@@ -53,7 +53,7 @@
#include "biosemui.h"
BE_sysEnv _BE_env = {{0}};
-static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
+static X86EMU_memFuncs _BE_mem __attribute__((section(GOT2_TYPE))) = {
BE_rdb,
BE_rdw,
BE_rdl,
@@ -62,7 +62,7 @@ static X86EMU_memFuncs _BE_mem __attribute__((section(".got2"))) = {
BE_wrl,
};
-static X86EMU_pioFuncs _BE_pio __attribute__((section(".got2"))) = {
+static X86EMU_pioFuncs _BE_pio __attribute__((section(GOT2_TYPE))) = {
BE_inb,
BE_inw,
BE_inl,