aboutsummaryrefslogtreecommitdiff
path: root/ld/ldmain.c
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1996-03-12 23:39:18 +0000
committerIan Lance Taylor <ian@airs.com>1996-03-12 23:39:18 +0000
commite3d73386d704f9fdd4c3c2bd87531cbc5f4e28d6 (patch)
tree3315be13f078607db0e3279c8a1b64bd8f3d09bc /ld/ldmain.c
parent8881b321e06d93be5b37a5504359347b0e104bf0 (diff)
downloadgdb-e3d73386d704f9fdd4c3c2bd87531cbc5f4e28d6.zip
gdb-e3d73386d704f9fdd4c3c2bd87531cbc5f4e28d6.tar.gz
gdb-e3d73386d704f9fdd4c3c2bd87531cbc5f4e28d6.tar.bz2
* lexsup.c (parse_args): Handle --wrap.
* ldmain.c (main): Initialize link_info.wrap_hash. * ldexp.c (fold_name): Use bfd_wrapped_link_hash_lookup in DEFINED and NAME cases. * ld.texinfo, ld.1: Document --wrap.
Diffstat (limited to 'ld/ldmain.c')
-rw-r--r--ld/ldmain.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ld/ldmain.c b/ld/ldmain.c
index 5dbfc55..6d78e27 100644
--- a/ld/ldmain.c
+++ b/ld/ldmain.c
@@ -189,7 +189,7 @@ main (argc, argv)
link_info.hash = NULL;
link_info.keep_hash = NULL;
link_info.notice_hash = NULL;
-
+ link_info.wrap_hash = NULL;
ldfile_add_arch ("");