ld/
authorRoland McGrath <roland@gnu.org>
Fri, 23 Aug 2013 22:38:42 +0000 (22:38 +0000)
committerRoland McGrath <roland@gnu.org>
Fri, 23 Aug 2013 22:38:42 +0000 (22:38 +0000)
* emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in
SIZEOF_HEADERS here; elf.sc does it already.

ld/ChangeLog
ld/emulparams/elf_nacl.sh

index f9cc7e61b07b0b3e275671c8145e4011778ee35a..27b4be715ee9ad72dad44c84d3a6dd8d43572e95 100644 (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
index 657cd06f13ba32ce9ca0bb94982fc38ba93d02da..d68cbcdc09f7fdd53ddbee197eb1e1acefb53ea5 100644 (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"
 }