From: Ard Biesheuvel Date: Wed, 1 Jul 2015 01:04:28 +0000 (+0000) Subject: There needs to be a space between the output section name and the colon, i.e., X-Git-Tag: edk2-stable201903~9525 X-Git-Url: https://git.proxmox.com/?p=mirror_edk2.git;a=commitdiff_plain;h=203beadc12dbc5665d4de1003246fc13c94763fc There needs to be a space between the output section name and the colon, i.e., .text : ALIGN(0x1000) ^ Fix this for all output sections Contributed-under: TianoCore Contribution Agreement 1.0 Signed-off-by: Ard Biesheuvel Reviewed-by: Liming Gao git-svn-id: https://svn.code.sf.net/p/edk2/code/trunk/edk2@17748 6f19259b-4bc3-4df7-8a09-765794883524 --- diff --git a/BaseTools/Scripts/gcc-4K-align-ld-script b/BaseTools/Scripts/gcc-4K-align-ld-script index 1f23079023..16cf623a33 100644 --- a/BaseTools/Scripts/gcc-4K-align-ld-script +++ b/BaseTools/Scripts/gcc-4K-align-ld-script @@ -3,12 +3,12 @@ SECTIONS { /* . = 0 + SIZEOF_HEADERS; */ . = 0x280; - .text: ALIGN(0x1000) + .text : ALIGN(0x1000) { *(.text .stub .text.* .gnu.linkonce.t.*) . = ALIGN(0x20); } - .data: ALIGN(0x1000) + .data : ALIGN(0x1000) { *( .rodata .rodata.* .gnu.linkonce.r.* @@ -18,16 +18,16 @@ SECTIONS ) . = ALIGN(0x20); } - .eh_frame: ALIGN(0x1000) + .eh_frame : ALIGN(0x1000) { KEEP (*(.eh_frame)) } - .got: ALIGN(0x1000) + .got : ALIGN(0x1000) { *(.got .got.*) . = ALIGN(0x20); } - .rela: ALIGN(0x1000) + .rela : ALIGN(0x1000) { *(.rela .rela.*) }