Based on patches from H.J. Lu <hjl@nynexst.com>:
authorIan Lance Taylor <ian@airs.com>
Mon, 10 Jul 1995 21:16:40 +0000 (21:16 +0000)
committerIan Lance Taylor <ian@airs.com>
Mon, 10 Jul 1995 21:16:40 +0000 (21:16 +0000)
commit7213def760558d19c934ebd3175577dce3580846
treea2924c33d60003b7a242d32f6464d52700b19eba
parentdb8e56dc1399e3bdf7f3c7417a5644002005e62f
Based on patches from H.J. Lu <hjl@nynexst.com>:
* ldlang.h (lang_input_statement_type): Add new field dynamic.
* ldlang.c (new_afile): Set dynamic from config.dynamic_link.
* ldfile.c: Include bfdlink.h.
(ldfile_open_file): Check dynamic field of entry, not global
dynamic_link field.  Don't do a dynamic search when doing a
relocateable link.
* ldmain.c (main): Don't warn about dynamic_link for a
relocateable link.
* emultempl/sunos.em (gld${EMULATION_NAME}_find_so): Skip file if
dynamic is false.
(gld${EMULATION_NAME}_create_output_section_statements): Always
loop over input files.
* Makefile.in: Rebuild dependencies.
ld/ChangeLog
ld/ldmain.c