aboutsummaryrefslogtreecommitdiff
path: root/ld/gld960.em
diff options
context:
space:
mode:
authorSteve Chamberlain <sac@cygnus>1992-04-15 22:23:33 +0000
committerSteve Chamberlain <sac@cygnus>1992-04-15 22:23:33 +0000
commit3d2b83ea49dc76204b0b068a56d8c9c37075b0d5 (patch)
tree998e276461fb1641df1ef55cc23251073e60b95c /ld/gld960.em
parentb7311408af78f016a0a1d440c11f79bb60c9402e (diff)
downloadgdb-3d2b83ea49dc76204b0b068a56d8c9c37075b0d5.zip
gdb-3d2b83ea49dc76204b0b068a56d8c9c37075b0d5.tar.gz
gdb-3d2b83ea49dc76204b0b068a56d8c9c37075b0d5.tar.bz2
Personal checkpoint - now should parse some MRI stuff
Diffstat (limited to 'ld/gld960.em')
-rw-r--r--ld/gld960.em11
1 files changed, 10 insertions, 1 deletions
diff --git a/ld/gld960.em b/ld/gld960.em
index 23db7ea..e70580d 100644
--- a/ld/gld960.em
+++ b/ld/gld960.em
@@ -113,11 +113,20 @@ static char *script =
#include "gld960.x"
;
+
+static char *script_reloc =
+#include "gld960.xr"
+ ;
+
static char *
gld960_get_script()
{
-return script;
+ extern ld_config_type config;
+ if (config.relocateable_output)
+ return script_reloc;
+ return script;
+
}
struct ld_emulation_xfer_struct ld_gld960_emulation =