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/biosemu.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'drivers/bios_emulator/biosemu.c') diff --git a/drivers/bios_emulator/biosemu.c b/drivers/bios_emulator/biosemu.c index 75ceb458cf..decdb79a74 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, -- cgit v1.2.1