aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorRoland McGrath <roland@gnu.org>2013-08-23 22:38:42 +0000
committerRoland McGrath <roland@gnu.org>2013-08-23 22:38:42 +0000
commit724e34c6f7b0dcdf0ccedd2fe11e3b65efb77bfe (patch)
tree630fc02c8696d8c007bfcf2109a8b69f0855c775 /ld/emulparams
parent664a88c6c25f4158a99c4be423cfd94a29686f7b (diff)
downloadgdb-724e34c6f7b0dcdf0ccedd2fe11e3b65efb77bfe.zip
gdb-724e34c6f7b0dcdf0ccedd2fe11e3b65efb77bfe.tar.gz
gdb-724e34c6f7b0dcdf0ccedd2fe11e3b65efb77bfe.tar.bz2
ld/
* emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in SIZEOF_HEADERS here; elf.sc does it already.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf_nacl.sh2
1 files changed, 1 insertions, 1 deletions
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"
}