Update year range in copyright notice of binutils files
[deliverable/binutils-gdb.git] / ld / emultempl / vxworks.em
index 3748ddb37c2bc4016abf6489834c3cdecc92757e..1efb8076bde14088c7f762f8945afc071a74ec5a 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2006, 2007, 2008 Free Software Foundation, Inc.
+#   Copyright (C) 2006-2019 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -44,13 +44,13 @@ vxworks_after_open (void)
       && bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour
       && !_bfd_elf_link_create_dynamic_sections (link_info.input_bfds,
                                                 &link_info))
-    einfo ("%X%P: Cannot create dynamic sections %E\n");
+    einfo (_("%X%P: cannot create dynamic sections %E\n"));
 
   if (!force_dynamic
-      && !link_info.shared
+      && !bfd_link_pic (&link_info)
       && bfd_get_flavour (link_info.output_bfd) == bfd_target_elf_flavour
       && elf_hash_table (&link_info)->dynamic_sections_created)
-    einfo ("%X%P: Dynamic sections created in non-dynamic link\n");
+    einfo (_("%X%P: dynamic sections created in non-dynamic link\n"));
 }
 
 EOF
@@ -90,7 +90,7 @@ PARSE_AND_LIST_ARGS_CASES=$PARSE_AND_LIST_ARGS_CASES'
 #      something other than gld${EMULATION_NAME}_foo.  We handle
 #      this case in the same way as (1).
 for override in before_parse after_open; do
-  var="LDEMUL_`echo ${override} | tr a-z A-Z`"
+  var="LDEMUL_`echo ${override} | tr 'abcdefghijklmnopqrstuvwxyz' 'ABCDEFGHIJKLMNOPQRSTUVWXYZ'`"
   eval value=\$${var}
   if test "${value}" = "gld${EMULATION_NAME}_${override}"; then
     fragment <<EOF
This page took 0.024186 seconds and 4 git commands to generate.