* emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
	SIZEOF_HEADERS here; elf.sc does it already.
This commit is contained in:
Roland McGrath 2013-08-23 22:38:42 +00:00
parent 664a88c6c2
commit 724e34c6f7
2 changed files with 6 additions and 1 deletions

View File

@ -1,3 +1,8 @@
2013-08-23 Roland McGrath <mcgrathr@google.com>
* emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
SIZEOF_HEADERS here; elf.sc does it already.
2013-08-23 Nick Clifton <nickc@redhat.com>
PR ld/15839

View File

@ -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"
}