diff options
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/scripttempl/elf.sc | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index e38cde9..67788df 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2013-01-08 Leif Ekblad <leif@rdos.net> + + * scripttempl/elf.sc (RODATA_ADDR): Typo fix. + 2013-01-08 Alan Modra <amodra@gmail.com> * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index cb162e8..7b390b4 100644 --- a/ld/scripttempl/elf.sc +++ b/ld/scripttempl/elf.sc @@ -496,7 +496,7 @@ if test -n "${SEPARATE_CODE}"; then RODATA_ADDR="\ SEGMENT_START(\"rodata-segment\", ${RODATA_ADDR}) + SIZEOF_HEADERS" else - RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))}" + RODATA_ADDR="ALIGN(${SEGMENT_SIZE}) + (. & (${MAXPAGESIZE} - 1))" RODATA_ADDR="SEGMENT_START(\"rodata-segment\", ${RODATA_ADDR})" fi if test -n "${SHLIB_RODATA_ADDR}"; then |