aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2008-06-07 11:35:46 +0000
committerAlan Modra <amodra@gmail.com>2008-06-07 11:35:46 +0000
commit967928e91621dc120ef477b7333471e5fb06957c (patch)
treef412b3396ae248b9dfba613ca45aafacea4e812e /ld/ldmain.c
parent6efef468bed94a730bb0ae60a36ebead70c97f4e (diff)
downloadgdb-967928e91621dc120ef477b7333471e5fb06957c.zip
gdb-967928e91621dc120ef477b7333471e5fb06957c.tar.gz
gdb-967928e91621dc120ef477b7333471e5fb06957c.tar.bz2
* NEWS: Mention archive:path patterns.
* ld.texinfo: Likewise. * ldlang.c: Formatting throughout. (archive_path): Only assume "[A-Za-z]:" is a dos drive. (input_statement_is_archive_path): New function, extracted from.. (walk_wild): ..here. (walk_wild_consider_section): Match archive:path here too. (init_map_userdata, sort_def_symbol): Convert to ISO C. * ldmain.c (main): Set link_info.path_separator. * emultempl/spuelf.em (choose_target): Don't set it here.
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 dd7b7fe..e7b9c0f 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -276,6 +276,7 @@ main (int argc, char **argv)
link_info.relax_pass = 1;
link_info.pei386_auto_import = -1;
link_info.spare_dynamic_tags = 5;
+ link_info.path_separator = ':';
ldfile_add_arch ("");
emulation = get_emulation (argc, argv);