aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNathan Sidwell <nathan@codesourcery.com>2009-05-01 15:23:42 +0000
committerNathan Sidwell <nathan@codesourcery.com>2009-05-01 15:23:42 +0000
commit1f7f5cbe1c9d434707b77f4543f491c56cbb0fbe (patch)
tree2c6259b7107358474bfdffe846d84e7c7fd60d5b
parent45eb4c1b77d62e66daf78a5dddf43fd8413d68df (diff)
downloadgdb-1f7f5cbe1c9d434707b77f4543f491c56cbb0fbe.zip
gdb-1f7f5cbe1c9d434707b77f4543f491c56cbb0fbe.tar.gz
gdb-1f7f5cbe1c9d434707b77f4543f491c56cbb0fbe.tar.bz2
* emulparams/vxworks.sh (TEXT_START_ADDR): Override.
-rw-r--r--ld/ChangeLog4
-rw-r--r--ld/emulparams/vxworks.sh1
2 files changed, 5 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog
index 26c446f..77586e3 100644
--- a/ld/ChangeLog
+++ b/ld/ChangeLog
@@ -1,3 +1,7 @@
+2009-05-01 Nathan Sidwell <nathan@codesourcery.com>
+
+ * emulparams/vxworks.sh (TEXT_START_ADDR): Override.
+
2009-04-30 Nick Clifton <nickc@redhat.com>
* NEWS: Mention support for IFUNC symbols.
diff --git a/ld/emulparams/vxworks.sh b/ld/emulparams/vxworks.sh
index 74a11ac..6ece8be 100644
--- a/ld/emulparams/vxworks.sh
+++ b/ld/emulparams/vxworks.sh
@@ -40,6 +40,7 @@ OTHER_READWRITE_SECTIONS=".tls_vars ${RELOCATING-0} : {${RELOCATING+
__wrs_rtp_tls_vars_size = SIZEOF(.tls_vars);
___wrs_rtp_tls_vars_size = SIZEOF(.tls_vars);}"
+TEXT_START_ADDR="(DEFINED (__wrs_rtp_base) ? __wrs_rtp_base : 0)"
ETEXT_NAME=etext_unrelocated
OTHER_END_SYMBOLS="PROVIDE (${SYMPREFIX}_ehdr = ${TEXT_START_ADDR});"
DATA_END_SYMBOLS=".edata : { PROVIDE (${SYMPREFIX}_edata = .); }"