gdb/23712: Test case for multidictionary
[deliverable/binutils-gdb.git] / ld / emultempl / elf-generic.em
index 2c850f1141b357ffb81f23471183f55db303109a..ac60f99925c0f17ce345833dfdd3b05346c79225 100644 (file)
@@ -1,5 +1,5 @@
 # This shell script emits a C file. -*- C -*-
-#   Copyright 2006, 2007, 2008, 2009 Free Software Foundation, Inc.
+#   Copyright (C) 2006-2019 Free Software Foundation, Inc.
 #
 # This file is part of the GNU Binutils.
 #
@@ -35,7 +35,7 @@ gld${EMULATION_NAME}_map_segments (bfd_boolean need_layout)
       need_layout = FALSE;
 
       if (link_info.output_bfd->xvec->flavour == bfd_target_elf_flavour
-         && !link_info.relocatable)
+         && !bfd_link_relocatable (&link_info))
        {
          bfd_size_type phdr_size;
 
@@ -46,7 +46,7 @@ gld${EMULATION_NAME}_map_segments (bfd_boolean need_layout)
            elf_seg_map (link_info.output_bfd) = NULL;
          if (!_bfd_elf_map_sections_to_segments (link_info.output_bfd,
                                                  &link_info))
-           einfo ("%F%P: map sections to segments failed: %E\n");
+           einfo (_("%F%P: map sections to segments failed: %E\n"));
 
          if (phdr_size != elf_program_header_size (link_info.output_bfd))
            {
@@ -66,6 +66,6 @@ gld${EMULATION_NAME}_map_segments (bfd_boolean need_layout)
   while (need_layout && --tries);
 
   if (tries == 0)
-    einfo (_("%P%F: looping in map_segments"));
+    einfo (_("%F%P: looping in map_segments"));
 }
 EOF
This page took 0.024574 seconds and 4 git commands to generate.