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 <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
This commit is contained in:
Ard Biesheuvel 2015-07-01 01:04:28 +00:00 committed by yingke
parent 6956ecfe1e
commit 203beadc12

View File

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