* ldlang.c (load_symbols): If whole_archive is true and ENTRY
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Mar 1995 19:06:41 +0000 (19:06 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Mar 1995 19:06:41 +0000 (19:06 +0000)
commitf2f55b1677af6a75aa735277b533c566886e1279
tree949174773294d9131b7860b47719c5c2384a198d
parent171eb2f2596b261bd311a248aea2c6eb6c96d4f6
* ldlang.c (load_symbols): If whole_archive is true and ENTRY
describes an archive, call bfd_link_add_symbols on each member.
* ldmain.c (whole_archive): New variable.
(main): Initialize it to false.
* ldmain.h: Declare whole_archive.
* lexsup.c (parse_args): Grok --whole-archive switch.
ld/ChangeLog
ld/ldmain.c