]> git.proxmox.com Git - mirror_edk2.git/commitdiff
There needs to be a space between the output section name and the colon, i.e.,
authorArd Biesheuvel <ard.biesheuvel@linaro.org>
Wed, 1 Jul 2015 01:04:28 +0000 (01:04 +0000)
committeryingke <yingke@Edk2>
Wed, 1 Jul 2015 01:04:28 +0000 (01:04 +0000)
  .text : ALIGN(0x1000)
       ^

Fix this for all output sections

Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Reviewed-by: Liming Gao <liming.gao@intel.com>
git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17748 6f19259b-4bc3-4df7-8a09-765794883524

BaseTools/Scripts/gcc-4K-align-ld-script

index 1f23079023a6dd6e13bc6d68b1eccb9b42619de5..16cf623a33626ac16ce0a9369de467122a77a93d 100644 (file)
@@ -3,12 +3,12 @@ SECTIONS
 {\r
   /* . = 0 + SIZEOF_HEADERS; */\r
   . = 0x280;\r
-  .text: ALIGN(0x1000) \r
+  .text : ALIGN(0x1000)\r
   {\r
     *(.text .stub .text.* .gnu.linkonce.t.*)\r
     . = ALIGN(0x20);\r
   }\r
-  .data: ALIGN(0x1000)\r
+  .data : ALIGN(0x1000)\r
   {\r
     *(\r
       .rodata .rodata.* .gnu.linkonce.r.*\r
@@ -18,16 +18,16 @@ SECTIONS
     )\r
     . = ALIGN(0x20);\r
   }\r
-  .eh_frame: ALIGN(0x1000)\r
+  .eh_frame : ALIGN(0x1000)\r
   {\r
     KEEP (*(.eh_frame))\r
   }\r
-  .got: ALIGN(0x1000)\r
+  .got : ALIGN(0x1000)\r
   {\r
     *(.got .got.*)\r
     . = ALIGN(0x20);\r
   }\r
-  .rela: ALIGN(0x1000)\r
+  .rela : ALIGN(0x1000)\r
   {\r
     *(.rela .rela.*)\r
   }\r