aboutsummaryrefslogtreecommitdiff
path: root/ld/emultempl/netbsd.em
blob: 43715e404621e2af6bd1a8570768c666ddc8a248 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
LDEMUL_BEFORE_PARSE=gldnetbsd_before_parse

cat >>e${EMULATION_NAME}.c <<EOF
static void
gld${EMULATION_NAME}_before_parse (void);

static void
gldnetbsd_before_parse (void)
{
  gld${EMULATION_NAME}_before_parse ();
  link_info.common_skip_ar_aymbols = bfd_link_common_skip_text;
}
EOF