* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.

This commit is contained in:
Alan Modra
2002-03-04 01:37:52 +00:00
parent bb2a49f247
commit f42ce16e2f
2 changed files with 6 additions and 2 deletions

View File

@ -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> 2002-03-01 David Mosberger <davidm@hpl.hp.com>
* scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array, * scripttempl/elf.sc (SECTIONS): Add entries for .preinit_array,

View File

@ -250,12 +250,12 @@ cat <<EOF
could instead move the label definition inside the section, but could instead move the label definition inside the section, but
the linker would then create the section even if it turns out to the linker would then create the section even if it turns out to
be empty, which isn't pretty. */ be empty, which isn't pretty. */
${RELOCATING+. = ALIGN(${ALIGNMENT})} ${RELOCATING+. = ALIGN(${ALIGNMENT});}
${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = .);}} ${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_start = .);}}
.preinit_array ${RELOCATING-0} : { *(.preinit_array) } .preinit_array ${RELOCATING-0} : { *(.preinit_array) }
${RELOCATING+${CREATE_SHLIB-PROVIDE (__preinit_array_end = .);}} ${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) } .init_array ${RELOCATING-0} : { *(.init_array) }
${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}} ${RELOCATING+${CREATE_SHLIB-PROVIDE (__init_array_end = .);}}