Fix linker tests to work with 16-bit targets.
[deliverable/binutils-gdb.git] / ld / emultempl / netbsd.em
index 20158233fd9ef8e317797886a8add10239c671d8..981df08796560a6b1fa7f490cc7413e1806e22ce 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2007 Free Software Foundation, Inc.
+#   Copyright (C) 2007-2020 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -21,7 +21,7 @@
 
 LDEMUL_BEFORE_PARSE=gldnetbsd_before_parse
 
-cat >>e${EMULATION_NAME}.c <<EOF
+fragment <<EOF
 static void
 gld${EMULATION_NAME}_before_parse (void);
 
@@ -29,6 +29,6 @@ static void
 gldnetbsd_before_parse (void)
 {
   gld${EMULATION_NAME}_before_parse ();
-  link_info.common_skip_ar_aymbols = bfd_link_common_skip_text;
+  link_info.common_skip_ar_symbols = bfd_link_common_skip_text;
 }
 EOF
This page took 0.023962 seconds and 4 git commands to generate.