PR26069, strip/objcopy misaligned address accesses
[deliverable/binutils-gdb.git] / bfd / elf32-tilegx.c
index bf1ad6bb105247729b9f2ca43efe0c0ad561eaac..dd7560d160a252fcb74f984d928e7c134cba3cff 100644 (file)
@@ -1,5 +1,5 @@
 /* TILE-Gx-specific support for 32-bit ELF.
-   Copyright (C) 2011-2016 Free Software Foundation, Inc.
+   Copyright (C) 2011-2020 Free Software Foundation, Inc.
 
    This file is part of BFD, the Binary File Descriptor library.
 
@@ -87,14 +87,14 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define ELF_MAXPAGESIZE                0x10000
 #define ELF_COMMONPAGESIZE     0x10000
 
-#define TARGET_BIG_SYM          tilegx_elf32_be_vec
-#define TARGET_BIG_NAME         "elf32-tilegx-be"
-#define TARGET_LITTLE_SYM       tilegx_elf32_le_vec
-#define TARGET_LITTLE_NAME      "elf32-tilegx-le"
+#define TARGET_BIG_SYM         tilegx_elf32_be_vec
+#define TARGET_BIG_NAME                "elf32-tilegx-be"
+#define TARGET_LITTLE_SYM      tilegx_elf32_le_vec
+#define TARGET_LITTLE_NAME     "elf32-tilegx-le"
 
 #define elf_backend_reloc_type_class        tilegx_reloc_type_class
 
-#define bfd_elf32_bfd_reloc_name_lookup      tilegx_reloc_name_lookup
+#define bfd_elf32_bfd_reloc_name_lookup             tilegx_reloc_name_lookup
 #define bfd_elf32_bfd_link_hash_table_create tilegx_elf_link_hash_table_create
 #define bfd_elf32_bfd_reloc_type_lookup             tilegx_reloc_type_lookup
 #define bfd_elf32_bfd_merge_private_bfd_data \
@@ -110,12 +110,11 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define elf_backend_finish_dynamic_symbol    tilegx_elf_finish_dynamic_symbol
 #define elf_backend_finish_dynamic_sections  tilegx_elf_finish_dynamic_sections
 #define elf_backend_gc_mark_hook            tilegx_elf_gc_mark_hook
-#define elf_backend_gc_sweep_hook            tilegx_elf_gc_sweep_hook
 #define elf_backend_plt_sym_val                     tilegx_elf_plt_sym_val
-#define elf_info_to_howto_rel                NULL
-#define elf_info_to_howto                    tilegx_info_to_howto_rela
-#define elf_backend_grok_prstatus            tilegx_elf_grok_prstatus
-#define elf_backend_grok_psinfo              tilegx_elf_grok_psinfo
+#define elf_info_to_howto_rel               NULL
+#define elf_info_to_howto                   tilegx_info_to_howto_rela
+#define elf_backend_grok_prstatus           tilegx_elf_grok_prstatus
+#define elf_backend_grok_psinfo                     tilegx_elf_grok_psinfo
 #define elf_backend_additional_program_headers tilegx_additional_program_headers
 
 #define elf_backend_init_index_section _bfd_elf_init_1_index_section
@@ -128,6 +127,7 @@ tilegx_elf_grok_psinfo (bfd *abfd, Elf_Internal_Note *note)
 #define elf_backend_plt_alignment 6
 #define elf_backend_want_plt_sym 1
 #define elf_backend_got_header_size 4
+#define elf_backend_want_dynrelro 1
 #define elf_backend_rela_normal 1
 #define elf_backend_default_execstack 0
 
This page took 0.02383 seconds and 4 git commands to generate.