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 | f7c33884fa544b222c98aee4a34c47686f62229f (patch) | |
tree | d9d76352ac488fc9361b324b7850ebc1d18e3456 /ld/emultempl | |
parent | 8f64befb294f61bb55b79152b628a332dc1d2e3b (diff) | |
download | gdb-f7c33884fa544b222c98aee4a34c47686f62229f.zip gdb-f7c33884fa544b222c98aee4a34c47686f62229f.tar.gz gdb-f7c33884fa544b222c98aee4a34c47686f62229f.tar.bz2 |
Add new field to bfd_link structure and use it to control how common symbols
are extracted from archives.
Diffstat (limited to 'ld/emultempl')
-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 0000000..4ad564b --- /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 |