]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
remove data32
authorVladimir Serbinenko <phcoder@gmail.com>
Mon, 23 Dec 2013 23:44:07 +0000 (00:44 +0100)
committerVladimir Serbinenko <phcoder@gmail.com>
Mon, 23 Dec 2013 23:44:07 +0000 (00:44 +0100)
acinclude.m4
config.h.in
configure.ac
grub-core/boot/i386/pc/startup_raw.S
grub-core/boot/i386/qemu/boot.S
grub-core/kern/i386/pc/startup.S
grub-core/kern/i386/realmode.S
grub-core/modinfo.sh.in

index 32d5477d10057357477ba764238099c39f120fe2..2ce95460baf6e7c9189b3d3940243e8a32bd229a 100644 (file)
@@ -272,14 +272,11 @@ rm -f conftest*])
 
 if test "x$grub_cv_i386_asm_prefix_requirement" = xyes; then
   grub_tmp_addr32="addr32"
-  grub_tmp_data32="data32"
 else
   grub_tmp_addr32="addr32;"
-  grub_tmp_data32="data32;"
 fi
 
 ADDR32=$grub_tmp_addr32
-DATA32=$grub_tmp_data32
 
 AC_MSG_RESULT([$grub_cv_i386_asm_prefix_requirement])])
 
index 4b6301441535e5d52f5bcbdf3ce194f3ef0f92c0..229cfb89c8dd03b3ced8da9e87882339d4ae193b 100644 (file)
@@ -33,8 +33,6 @@
 #define HAVE_ASM_USCORE @HAVE_ASM_USCORE@
 /* Define it to \"addr32\" or \"addr32;\" to make GAS happy.  */
 #define ADDR32 @ADDR32@
-/* Define it to \"data32\" or \"data32;\" to make GAS happy. */
-#define DATA32 @DATA32@
 /* Define it to one of __bss_start, edata and _edata.  */
 #define BSS_START_SYMBOL @BSS_START_SYMBOL@
 /* Define it to either end or _end.  */
index 77c942a29f3b9747fcf29af76b3c847f8601b394..1f70a02148993638efc7ef3c4c4076106cc9633d 100644 (file)
@@ -1569,7 +1569,6 @@ AS_IF([test x$target_cpu = xi386 -a x$platform = xqemu],
 
 AC_SUBST(HAVE_ASM_USCORE)
 AC_SUBST(ADDR32)
-AC_SUBST(DATA32)
 AC_SUBST(BSS_START_SYMBOL)
 AC_SUBST(END_SYMBOL)
 AC_SUBST(PACKAGE)
index 2796740303ea39892a8878f4a104f5f094c27f9f..812ff54948aab6818af14aa32b49ae1789d558f8 100644 (file)
@@ -95,7 +95,7 @@ LOCAL (codestart):
        int     $0x13
 
        /* transition to protected mode */
-       DATA32  call real_to_prot
+       calll   real_to_prot
 
        /* The ".code32" directive takes GAS out of 16-bit mode. */
        .code32
@@ -149,7 +149,7 @@ gate_a20_try_bios:
        movw    $0x2401, %ax
        int     $0x15
 
-       DATA32  call    real_to_prot
+       calll   real_to_prot
        .code32
 
        popl    %ebp
index bdd68c7044e267456e366f8a5ab86cec7da5b91c..8d97fc18c5b5229bb51995f58da076e3811b31d7 100644 (file)
@@ -48,7 +48,7 @@ VARIABLE(grub_core_entry_addr)
        /* Transition to protected mode.  We use pushl to force generation
           of a flat return address.  */
        pushl   $1f
-       DATA32  jmp real_to_prot
+       jmpl    real_to_prot
        .code32
        /* Ensure A20 is enabled. We're in qemu, so control port A works
           and there is no need to wait since there is no real logic, it's
index 6bb36c603be50c17060fd49d0439c2b1d75da71a..b8a9b33b491007203e1cab21c62ae2398350754b 100644 (file)
@@ -135,7 +135,7 @@ LOCAL(prot_to_real_addr):
 
        .macro REAL_TO_PROT
        movl    LOCAL(real_to_prot_addr), %eax
-       DATA32  call    *%ax
+       calll   *%eax
        .endm
 
 /*
index 541cedc87bb09a1e9c279cae1d4715db58f248ea..3eb85d7a346dc86c1373082f9028c9d3caa6a02c 100644 (file)
@@ -54,7 +54,7 @@ protstack:
        .endm
 
        .macro REAL_TO_PROT
-       DATA32  call    real_to_prot
+       calll   real_to_prot
        .endm
 
 /*
@@ -137,7 +137,7 @@ real_to_prot:
        /* load the GDT register */
        xorw    %ax, %ax
        movw    %ax, %ds
-       DATA32  ADDR32  lgdt    gdtdesc
+       ADDR32  lgdtl   gdtdesc
 
        /* turn on protected mode */
        movl    %cr0, %eax
@@ -145,7 +145,7 @@ real_to_prot:
        movl    %eax, %cr0
 
        /* jump to relocation, flush prefetch queue, and reload %cs */
-       DATA32  ljmp    $GRUB_MEMORY_MACHINE_PROT_MODE_CSEG, $protcseg
+       ljmpl   $GRUB_MEMORY_MACHINE_PROT_MODE_CSEG, $protcseg
 
        .code32
 protcseg:
@@ -237,7 +237,7 @@ tmpcseg:
        movl    %eax, %cr0
 
        /* flush prefetch queue, reload %cs */
-       DATA32  ljmp    $0, $realcseg
+       ljmpl   $0, $realcseg
 
 realcseg:
        /* we are in real mode now
@@ -258,6 +258,6 @@ realcseg:
 #endif
 
        /* return on new stack! */
-       DATA32  ret
+       retl
 
        .code32
index d46b56c070b50fb34efd87511b481d591e0180a4..ac1db7cde5de1083dfc65d115f5156fd0091dc1e 100644 (file)
@@ -10,7 +10,6 @@ grub_have_font_source=@HAVE_FONT_SOURCE@
 # Autodetected config
 grub_have_asm_uscore=@HAVE_ASM_USCORE@
 grub_i8086_addr32="@ADDR32@"
-grub_i8086_data32="@DATA32@"
 grub_bss_start_symbol="@BSS_START_SYMBOL@"
 grub_end_symbol="@END_SYMBOL@"