aboutsummaryrefslogtreecommitdiff
path: root/ld
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2002-03-04 01:37:52 +0000
committerAlan Modra <amodra@gmail.com>2002-03-04 01:37:52 +0000
commitf42ce16e2f08589abe64bf29d162c10325d36eee (patch)
tree6d7e2ba4487554851a3f7fdcb28dc65ff6b080fe /ld
parentbb2a49f24718e0d5cb66144f31ac7e4ed3929fa7 (diff)
downloadgdb-f42ce16e2f08589abe64bf29d162c10325d36eee.zip
gdb-f42ce16e2f08589abe64bf29d162c10325d36eee.tar.gz
gdb-f42ce16e2f08589abe64bf29d162c10325d36eee.tar.bz2
* scripttempl/elf.sc: Correct syntax errors in 2002-03-01 commit.
Diffstat (limited to 'ld')
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/scripttempl/elf.sc4
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 = .);}}