aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2007-03-28 14:42:28 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2007-03-28 14:42:28 +0000
commitc76308d222c1144f80f5cd36e8c69952a2594d0a (patch)
tree131b7cfc38bd928088b81fae819fa183ccc61088 /ld/ldmain.c
parent39817122fc9818f3bb36e89b35d5b9c472f6d87f (diff)
downloadfsf-binutils-gdb-c76308d222c1144f80f5cd36e8c69952a2594d0a.zip
fsf-binutils-gdb-c76308d222c1144f80f5cd36e8c69952a2594d0a.tar.gz
fsf-binutils-gdb-c76308d222c1144f80f5cd36e8c69952a2594d0a.tar.bz2
ld/
* ld.h (ld_config_type): Add rpath_separator. * ldmain.c (main): Initialize it. * lexsup.c (parse_args): Honor config.rpath_separator. * emultempl/elf32.em (gld${EMULATION_NAME}_search_needed): Likewise. (gld${EMULATION_NAME}_add_sysroot): Likewise. (gld${EMULATION_NAME}_parse_ld_so_conf): Use config.rpath_separator rather than ':' when building the path. * emultempl/vxworks.em (vxworks_before_parse): New function. Override config.rpath_separator. (LDEMUL_AFTER_OPEN): Do not change if EXTRA_EM_FILE has been set to gld${EMULATION_NAME}_after_open; #define that identifier to vxworks_foo instead. (LDEMUL_BEFORE_PARSE): Override in the same way as LDEMUL_AFTER_OPEN. ld/testsuite/ * ld-vxworks/rpath-1.s, ld-vxworks/rpath-1.d, * ld-vxworks/vxworks.exp: New files.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index f47758f..5d43076 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -247,6 +247,7 @@ main (int argc, char **argv)
config.build_constructors = TRUE;
config.dynamic_link = FALSE;
config.has_shared = FALSE;
+ config.rpath_separator = ':';
config.split_by_reloc = (unsigned) -1;
config.split_by_file = (bfd_size_type) -1;
config.hash_table_size = 0;