diff options
Diffstat (limited to 'ld/gld960.em')
-rw-r--r-- | ld/gld960.em | 11 |
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 = |