aboutsummaryrefslogtreecommitdiff
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
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.
-rw-r--r--ld/ChangeLog5
-rw-r--r--ld/emulparams/elf_nacl.sh2
2 files changed, 6 insertions, 1 deletions
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 <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
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"
}