diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 4 |
2 files changed, 6 insertions, 2 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index c0699c7..05c7fa2 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2002-03-04 Alan Modra <amodra@bigpond.net.au> + + * scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit. + 2002-03-01 David Mosberger <davidm@hpl.hp.com> * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index bf67811..7fda8ba 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -250,12 +250,12 @@ cat <<EOF could instead move the label definition inside the section, but the linker would then create the section even if it turns out to be empty, which isn't pretty. */ - ${RELOCATING+. = ALIGN(${ALIGNMENT})} + ${RELOCATING+. = ALIGN(${ALIGNMENT});} ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = .);}} .preinit_array ${RELOCATING-0} : { *(.preinit_array) } ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_end = .);}} - ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_start = .)}}; + ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_start = .);}} .init_array ${RELOCATING-0} : { *(.init_array) } ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}} |