diff --git a/ld/ChangeLog b/ld/ChangeLog index e38cde9211..67788df652 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2013-01-08 Leif Ekblad + + * scripttempl/elf.sc (RODATA_ADDR): Typo fix. + 2013-01-08 Alan Modra * emultempl/elf32.em (gld${EMULATION_NAME}_check_ld_so_conf): Replace diff --git a/ld/scripttempl/elf.sc b/ld/scripttempl/elf.sc index cb162e8a86..7b390b44af 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