From 724e34c6f7b0dcdf0ccedd2fe11e3b65efb77bfe Mon Sep 17 00:00:00 2001 From: Roland McGrath Date: Fri, 23 Aug 2013 22:38:42 +0000 Subject: ld/ * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in SIZEOF_HEADERS here; elf.sc does it already. --- ld/ChangeLog | 5 +++++ ld/emulparams/elf_nacl.sh | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index f9cc7e6..27b4be7 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2013-08-23 Roland McGrath + + * emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in + SIZEOF_HEADERS here; elf.sc does it already. + 2013-08-23 Nick Clifton PR ld/15839 diff --git a/ld/emulparams/elf_nacl.sh b/ld/emulparams/elf_nacl.sh index 657cd06..d68cbcd 100644 --- a/ld/emulparams/elf_nacl.sh +++ b/ld/emulparams/elf_nacl.sh @@ -6,7 +6,7 @@ NACL_RODATA_DISTANCE=0x10000000 nacl_rodata_addr() { nacl_text_addr="SEGMENT_START(\"text-segment\", $1)" - nacl_rodata_addr="$nacl_text_addr + ${NACL_RODATA_DISTANCE} + SIZEOF_HEADERS" + nacl_rodata_addr="$nacl_text_addr + ${NACL_RODATA_DISTANCE}" echo "$nacl_rodata_addr" } -- cgit v1.1