diff options
author | Nick Clifton <nickc@redhat.com> | 2002-07-31 12:50:09 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2002-07-31 12:50:09 +0000 |
commit | d8f30db44739af73d229f540fd9030603350bc35 (patch) | |
tree | e6a95b62f53245ef1b01bc49ea69b0040dec46e4 /ld/emultempl/netbsd.em | |
parent | 9eed56874cf76de7f8d3128a16d55d314169ad55 (diff) | |
download | binutils-redhat-d8f30db44739af73d229f540fd9030603350bc35.tar.gz |
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
Diffstat (limited to 'ld/emultempl/netbsd.em')
-rw-r--r-- | ld/emultempl/netbsd.em | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/ld/emultempl/netbsd.em b/ld/emultempl/netbsd.em new file mode 100644 index 0000000000..4ad564b242 --- /dev/null +++ b/ld/emultempl/netbsd.em @@ -0,0 +1,9 @@ +LDEMUL_BEFORE_PARSE=gldnetbsd_before_parse +cat >>e${EMULATION_NAME}.c <<EOF +static void +gldnetbsd_before_parse () +{ + gld${EMULATION_NAME}_before_parse (); + link_info.common_skip_ar_aymbols = bfd_link_common_skip_text; +} +EOF |