Generic ELF target group signature symbol
[deliverable/binutils-gdb.git] / ld / emultempl / beos.em
index 8b7d5a53fa59f800379743ece59bd1b11b7228cd..bf75c5450a51400f32b0169ccb36458f777debd9 100644 (file)
@@ -7,7 +7,7 @@ else
 fi
 fragment <<EOF
 /* This file is part of GLD, the Gnu Linker.
-   Copyright (C) 1995-2017 Free Software Foundation, Inc.
+   Copyright (C) 1995-2019 Free Software Foundation, Inc.
 
    This file is part of the GNU Binutils.
 
@@ -226,7 +226,7 @@ set_pe_subsystem (void)
          return;
        }
     }
-  einfo (_("%P%F: invalid subsystem type %s\n"), optarg);
+  einfo (_("%F%P: invalid subsystem type %s\n"), optarg);
 }
 
 
@@ -237,7 +237,7 @@ set_pe_value (char *name)
   set_pe_name (name,  strtoul (optarg, &end, 0));
   if (end == optarg)
     {
-      einfo (_("%P%F: invalid hex number for PE parameter '%s'\n"), optarg);
+      einfo (_("%F%P: invalid hex number for PE parameter '%s'\n"), optarg);
     }
 
   optarg = end;
@@ -254,7 +254,7 @@ set_pe_stack_heap (char *resname, char *comname)
     }
   else if (*optarg)
     {
-      einfo (_("%P%F: strange hex info for PE parameter '%s'\n"), optarg);
+      einfo (_("%F%P: strange hex info for PE parameter '%s'\n"), optarg);
     }
 }
 
@@ -366,7 +366,7 @@ gld_${EMULATION_NAME}_set_symbols (void)
   if (pe.FileAlignment >
       pe.SectionAlignment)
     {
-      einfo (_("%P: warning, file alignment > section alignment.\n"));
+      einfo (_("%P: warning, file alignment > section alignment\n"));
     }
 }
 
@@ -380,7 +380,7 @@ gld_${EMULATION_NAME}_after_open (void)
      including an internal BFD header.  */
   if (!coff_data(link_info.output_bfd)->pe)
     {
-      einfo (_("%F%P: PE operations on non PE file.\n"));
+      einfo (_("%F%P: PE operations on non PE file\n"));
     }
 
   pe_data(link_info.output_bfd)->pe_opthdr = pe;
@@ -433,14 +433,14 @@ sort_by_file_name (const void *a, const void *b)
                                     (*ra)->input_section.section, &a_sec,
                                     (file_ptr) 0,
                                     (bfd_size_type) sizeof(a_sec)))
-       einfo (_("%F%B: Can't read contents of section .idata: %E\n"),
+       einfo (_("%F%P: %pB: can't read contents of section .idata: %E\n"),
               (*ra)->input_section.section->owner);
 
       if (!bfd_get_section_contents ((*rb)->input_section.section->owner,
                                     (*rb)->input_section.section, &b_sec,
                                     (file_ptr) 0,
                                     (bfd_size_type) sizeof(b_sec)))
-       einfo (_("%F%B: Can't read contents of section .idata: %E\n"),
+       einfo (_("%F%P: %pB: can't read contents of section .idata: %E\n"),
               (*rb)->input_section.section->owner);
 
       i = a_sec < b_sec ? -1 : 0;
@@ -618,7 +618,8 @@ gld_${EMULATION_NAME}_before_allocation (void)
     {
       if (!ppc_process_before_allocation(is->the_bfd, &link_info))
        {
-         einfo (_("Errors encountered processing file %s\n"), is->filename);
+         einfo (_("%P: errors encountered processing file %s\n"),
+                is->filename);
        }
     }
   }
@@ -638,7 +639,8 @@ gld_${EMULATION_NAME}_before_allocation (void)
     {
       if (!arm_process_before_allocation (is->the_bfd, & link_info))
        {
-         einfo (_("Errors encountered processing file %s"), is->filename);
+         einfo (_("%P: errors encountered processing file %s\n"),
+                is->filename);
        }
     }
   }
@@ -686,7 +688,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s,
   /* Everything from the '\$' on gets deleted so don't allow '\$' as the
      first character.  */
   if (*secname == '\$')
-    einfo (_("%P%F: section %s has '\$' as first character\n"), secname);
+    einfo (_("%F%P: section %s has '\$' as first character\n"), secname);
   if (strchr (secname + 1, '\$') == NULL)
     return NULL;
 
@@ -718,7 +720,7 @@ gld${EMULATION_NAME}_place_orphan (asection *s,
       }
   ps[0] = 0;
   if (l == NULL)
-    einfo (_("%P%F: *(%s\$) missing from linker script\n"), output_secname);
+    einfo (_("%F%P: *(%s\$) missing from linker script\n"), output_secname);
 
   /* Link the input section in and we're done for now.
      The sections still have to be sorted, but that has to wait until
This page took 0.035075 seconds and 4 git commands to generate.