diff options
author | Ian Lance Taylor <ian@airs.com> | 1996-04-01 16:52:17 +0000 |
---|---|---|
committer | Ian Lance Taylor <ian@airs.com> | 1996-04-01 16:52:17 +0000 |
commit | 23595ba57a93b713a23fbb25b71229613b9e7132 (patch) | |
tree | 152375f05639345ad697b2ab024588dadf0d76b5 /ld/ldwrite.h | |
parent | 771f63d3ff21c3cdbbf7ecf0537dbebf782e5f00 (diff) | |
download | gdb-23595ba57a93b713a23fbb25b71229613b9e7132.zip gdb-23595ba57a93b713a23fbb25b71229613b9e7132.tar.gz gdb-23595ba57a93b713a23fbb25b71229613b9e7132.tar.bz2 |
* ldlang.c (section_already_linked): New static function.
(wild_doit): Discard sections with SEC_EXCLUDE set if not doing a
relocateable link. Don't worry about section being NULL, since it
never should be. Don't call init_os unless the section is going
to be added.
(ldlang_add_file): Call section_already_linked for each section.
* ldmain.c (multiple_definition): Don't warn about multiple
definitions in sections which are being discarded.
Diffstat (limited to 'ld/ldwrite.h')
0 files changed, 0 insertions, 0 deletions