mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-01-18 12:24:38 +08:00
ld/
* emulparams/elf_nacl.sh (nacl_rodata_addr): Don't add in SIZEOF_HEADERS here; elf.sc does it already.
This commit is contained in:
parent
664a88c6c2
commit
724e34c6f7
@ -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>
|
2013-08-23 Nick Clifton <nickc@redhat.com>
|
||||||
|
|
||||||
PR ld/15839
|
PR ld/15839
|
||||||
|
@ -6,7 +6,7 @@ NACL_RODATA_DISTANCE=0x10000000
|
|||||||
nacl_rodata_addr()
|
nacl_rodata_addr()
|
||||||
{
|
{
|
||||||
nacl_text_addr="SEGMENT_START(\"text-segment\", $1)"
|
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"
|
echo "$nacl_rodata_addr"
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user