]> git.ipfire.org Git - thirdparty/grub.git/commitdiff
2009-03-22 Pavel Roskin <proski@gno.org>
authorproski <proski@localhost>
Sun, 22 Mar 2009 00:37:49 +0000 (00:37 +0000)
committerproski <proski@localhost>
Sun, 22 Mar 2009 00:37:49 +0000 (00:37 +0000)
* kern/powerpc/ieee1275/startup.S: Replace EXT_C(start) with
_start.
* kern/i386/pc/startup.S: Likewise.
* kern/i386/efi/startup.S: Likewise.
* kern/i386/ieee1275/startup.S: Likewise.
* kern/i386/coreboot/startup.S: Likewise.
* kern/x86_64/efi/startup.S: Likewise.

ChangeLog
kern/i386/coreboot/startup.S
kern/i386/efi/startup.S
kern/i386/ieee1275/startup.S
kern/i386/pc/startup.S
kern/powerpc/ieee1275/startup.S
kern/x86_64/efi/startup.S

index 3edfedc0333a09ce35820697152f82c363bab5c7..dba06c26037b29548ac69420b80c14103f882a88 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,5 +1,13 @@
 2009-03-22  Pavel Roskin  <proski@gno.org>
 
+       * kern/powerpc/ieee1275/startup.S: Replace EXT_C(start) with
+       _start.
+       * kern/i386/pc/startup.S: Likewise.
+       * kern/i386/efi/startup.S: Likewise.
+       * kern/i386/ieee1275/startup.S: Likewise.
+       * kern/i386/coreboot/startup.S: Likewise.
+       * kern/x86_64/efi/startup.S: Likewise.
+
        * aclocal.m4 (grub_CHECK_START_SYMBOL): Remove.
        * configure.ac: Don't call grub_CHECK_START_SYMBOL.
        * kern/i386/pc/startup.S: Use _start instead of START_SYMBOL.
index 835978bfe6417bd9874a0b0ddfb8d7fedc2a596f..b14171e6f61829c58e507b5f652ad23414b15b4b 100644 (file)
@@ -44,7 +44,7 @@ _start:
         *  This is a special data area at a fixed offset from the beginning.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_PREFIX
+       . = _start + GRUB_KERNEL_CPU_PREFIX
 
 VARIABLE(grub_prefix)
        /* to be filled by grub-mkimage */
@@ -53,7 +53,7 @@ VARIABLE(grub_prefix)
         *  Leave some breathing room for the prefix.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_DATA_END
+       . = _start + GRUB_KERNEL_CPU_DATA_END
 
 /*
  *  Support for booting GRUB from a Multiboot boot loader (e.g. GRUB itself).
index 4709b3f29c515ca45b144a0b673880482a41dcbb..b886280108ab5092c33829da29cec76ec696bbc7 100644 (file)
@@ -34,14 +34,14 @@ _start:
          *  These MUST be at byte offset 6 and 7 of the executable
          *  DO NOT MOVE !!!
          */
-        . = EXT_C(start) + 0x6
+        . = _start + 0x6
         .byte   GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
 
         /*
          *  This is a special data area 8 bytes from the beginning.
          */
 
-        . = EXT_C(start) + 0x8
+        . = _start + 0x8
 
 VARIABLE(grub_prefix)
        /* to be filled by grub-mkimage */
@@ -50,7 +50,7 @@ VARIABLE(grub_prefix)
          *  Leave some breathing room for the prefix.
          */
 
-        . = EXT_C(start) + 0x50
+        . = _start + 0x50
 
 codestart:
        /*
index db6ce1e62a21ba27f6d714edd4f4bf13fdabbe01..3b030b1b49e3bb99a240d0b41c4e1f4e5a46ebad 100644 (file)
@@ -45,7 +45,7 @@ _start:
         *  This is a special data area at a fixed offset from the beginning.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_PREFIX
+       . = _start + GRUB_KERNEL_CPU_PREFIX
 
 VARIABLE(grub_prefix)
        /* to be filled by grub-mkimage */
@@ -54,7 +54,7 @@ VARIABLE(grub_prefix)
         *  Leave some breathing room for the prefix.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_DATA_END
+       . = _start + GRUB_KERNEL_CPU_DATA_END
 
 codestart:
        movl %eax, EXT_C(grub_ieee1275_entry_fn)
index 7ebe592e4d9134ac6525db38c2cfc7fe8d2cbf80..8e8b66135bb3a545fd5b047d0e83191b5113891c 100644 (file)
@@ -53,7 +53,7 @@
 #include <multiboot.h>
 #include <multiboot2.h>
                
-#define ABS(x) ((x) - EXT_C(start) + GRUB_BOOT_MACHINE_KERNEL_ADDR + 0x200)
+#define ABS(x) ((x) - _start + GRUB_BOOT_MACHINE_KERNEL_ADDR + 0x200)
        
        .file   "startup.S"
 
@@ -77,14 +77,14 @@ _start:
         *  These MUST be at byte offset 6 and 7 of the executable
         *  DO NOT MOVE !!!
         */
-       . = EXT_C(start) + 0x6
+       . = _start + 0x6
        .byte   GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
 
        /*
         *  This is a special data area 8 bytes from the beginning.
         */
 
-       . = EXT_C(start) + 0x8
+       . = _start + 0x8
 
 VARIABLE(grub_total_module_size)
        .long   0
@@ -103,7 +103,7 @@ VARIABLE(grub_prefix)
         *  Leave some breathing room for the prefix.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_MACHINE_DATA_END
+       . = _start + GRUB_KERNEL_MACHINE_DATA_END
 
 /*
  * Support for booting GRUB from a Multiboot boot loader (e.g. GRUB itself).
@@ -510,7 +510,7 @@ gate_a20_check_state:
  * The code beyond this point is compressed.  Assert that the uncompressed
  * code fits GRUB_KERNEL_MACHINE_RAW_SIZE.
  */
-       . = EXT_C(start) + GRUB_KERNEL_MACHINE_RAW_SIZE
+       . = _start + GRUB_KERNEL_MACHINE_RAW_SIZE
 
 /*
  *  This call is special...  it never returns...  in fact it should simply
index 4b18fd74568ed8ec76d20b4c4899cdb659ff2205..75e1ed852bea0ce970b6b039a1a582dfa84fcb3e 100644 (file)
@@ -30,7 +30,7 @@ start:
 _start:
        b       codestart
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_PREFIX
+       . = _start + GRUB_KERNEL_CPU_PREFIX
 
 VARIABLE(grub_prefix)
        /* to be filled by grub-mkelfimage */
@@ -39,7 +39,7 @@ VARIABLE(grub_prefix)
         *  Leave some breathing room for the prefix.
         */
 
-       . = EXT_C(start) + GRUB_KERNEL_CPU_DATA_END
+       . = _start + GRUB_KERNEL_CPU_DATA_END
 
 codestart:
        li      2, 0
index 835c4fb28214f73cbecfe4052c0b7a07960469c4..2cb1fd4a5c54c6f3f5f0ccf12f942c4b4367f3c6 100644 (file)
@@ -36,14 +36,14 @@ _start:
          *  These MUST be at byte offset 6 and 7 of the executable
          *  DO NOT MOVE !!!
          */
-        . = EXT_C(start) + 0x6
+        . = _start + 0x6
         .byte   GRUB_BOOT_VERSION_MAJOR, GRUB_BOOT_VERSION_MINOR
 
         /*
          *  This is a special data area 8 bytes from the beginning.
          */
 
-        . = EXT_C(start) + 0x8
+        . = _start + 0x8
 
 VARIABLE(grub_prefix)
        /* to be filled by grub-mkimage */
@@ -52,7 +52,7 @@ VARIABLE(grub_prefix)
          *  Leave some breathing room for the prefix.
          */
 
-        . = EXT_C(start) + 0x50
+        . = _start + 0x50
 
 codestart:
        movq    %rcx, EXT_C(grub_efi_image_handle)(%rip)