x86; Don't add elf64-x86-64.lo nor elf64.lo together with elfxx-x86.lo
[deliverable/binutils-gdb.git] / bfd / coff-tic4x.c
index 36a89015480172530612a271d323e11bd7b709ee..89dc36b0b698a3a58a3eadc0ad1a4bff720e4154 100644 (file)
@@ -1,5 +1,5 @@
 /* BFD back-end for TMS320C4X coff binaries.
-   Copyright (C) 1996-2014 Free Software Foundation, Inc.
+   Copyright (C) 1996-2017 Free Software Foundation, Inc.
 
    Contributed by Michael Hayes (m.hayes@elec.canterbury.ac.nz)
 
@@ -180,8 +180,8 @@ tic4x_lookup_howto (arelent *internal,
        }
     }
 
-  (*_bfd_error_handler) (_("Unrecognized reloc type 0x%x"),
-                        (unsigned int) dst->r_type);
+  _bfd_error_handler (_("Unrecognized reloc type 0x%x"),
+                     (unsigned int) dst->r_type);
   abort();
 }
 
@@ -222,9 +222,10 @@ tic4x_reloc_processing (arelent *relent,
     {
       if (reloc->r_symndx < 0 || reloc->r_symndx >= obj_conv_table_size (abfd))
         {
-          (*_bfd_error_handler)
-            (_("%s: warning: illegal symbol index %ld in relocs"),
-             bfd_get_filename (abfd), reloc->r_symndx);
+         _bfd_error_handler
+           /* xgettext: c-format */
+           (_("%B: warning: illegal symbol index %ld in relocs"),
+            abfd, reloc->r_symndx);
           relent->sym_ptr_ptr = bfd_abs_section_ptr->symbol_ptr_ptr;
           ptr = NULL;
         }
@@ -261,30 +262,30 @@ tic4x_reloc_processing (arelent *relent,
 
 /* TI COFF v0, DOS tools (little-endian headers).  */
 CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff0_vec, "coff0-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              NULL, &ticoff0_swap_table);
 
 /* TI COFF v0, SPARC tools (big-endian headers).  */
 CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff0_beh_vec, "coff0-beh-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              &tic4x_coff0_vec, &ticoff0_swap_table);
 
 /* TI COFF v1, DOS tools (little-endian headers).  */
 CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff1_vec, "coff1-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              &tic4x_coff0_beh_vec, &ticoff1_swap_table);
 
 /* TI COFF v1, SPARC tools (big-endian headers).  */
 CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff1_beh_vec, "coff1-beh-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              &tic4x_coff1_vec, &ticoff1_swap_table);
 
 /* TI COFF v2, TI DOS tools output (little-endian headers).  */
 CREATE_LITTLE_COFF_TARGET_VEC(tic4x_coff2_vec, "coff2-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              &tic4x_coff1_beh_vec, COFF_SWAP_TABLE);
 
 /* TI COFF v2, TI SPARC tools output (big-endian headers).  */
 CREATE_BIGHDR_COFF_TARGET_VEC(tic4x_coff2_beh_vec, "coff2-beh-tic4x",
-                             HAS_LOAD_PAGE, SEC_CODE | SEC_READONLY, '_',
+                             0, SEC_CODE | SEC_READONLY, '_',
                              &tic4x_coff2_vec, COFF_SWAP_TABLE);
This page took 0.025375 seconds and 4 git commands to generate.