Index: bfd/elfxx-target.h |
diff --git a/bfd/elfxx-target.h b/bfd/elfxx-target.h |
index 5a6cae02ee3f5eb5370eb8a6cb88e1a5132b370b..d42ce26fddd413e3ce558ced8086eff523ea885e 100644 |
--- a/bfd/elfxx-target.h |
+++ b/bfd/elfxx-target.h |
@@ -109,6 +109,9 @@ |
#ifndef elf_backend_default_execstack |
#define elf_backend_default_execstack 1 |
#endif |
+#ifndef elf_backend_stack_align |
+#define elf_backend_stack_align 16 |
+#endif |
#define bfd_elfNN_bfd_debug_info_start bfd_void |
#define bfd_elfNN_bfd_debug_info_end bfd_void |
@@ -229,14 +232,13 @@ |
_bfd_elf_canonicalize_dynamic_reloc |
#endif |
-#ifndef bfd_elfNN_bfd_link_hash_table_free |
-#define bfd_elfNN_bfd_link_hash_table_free _bfd_generic_link_hash_table_free |
-#endif |
- |
#ifdef elf_backend_relocate_section |
#ifndef bfd_elfNN_bfd_link_hash_table_create |
#define bfd_elfNN_bfd_link_hash_table_create _bfd_elf_link_hash_table_create |
#endif |
+#ifndef bfd_elfNN_bfd_link_hash_table_free |
+#define bfd_elfNN_bfd_link_hash_table_free _bfd_elf_link_hash_table_free |
+#endif |
#ifndef bfd_elfNN_bfd_link_add_symbols |
#define bfd_elfNN_bfd_link_add_symbols bfd_elf_link_add_symbols |
#endif |
@@ -253,6 +255,9 @@ |
#define bfd_elfNN_bfd_link_hash_table_create \ |
_bfd_generic_link_hash_table_create |
#endif |
+#ifndef bfd_elfNN_bfd_link_hash_table_free |
+#define bfd_elfNN_bfd_link_hash_table_free _bfd_generic_link_hash_table_free |
+#endif |
#ifndef bfd_elfNN_bfd_link_add_symbols |
#define bfd_elfNN_bfd_link_add_symbols _bfd_generic_link_add_symbols |
#endif |
@@ -419,8 +424,8 @@ |
#ifndef elf_backend_check_directives |
#define elf_backend_check_directives 0 |
#endif |
-#ifndef elf_backend_as_needed_cleanup |
-#define elf_backend_as_needed_cleanup 0 |
+#ifndef elf_backend_notice_as_needed |
+#define elf_backend_notice_as_needed _bfd_elf_notice_as_needed |
#endif |
#ifndef elf_backend_adjust_dynamic_symbol |
#define elf_backend_adjust_dynamic_symbol 0 |
@@ -700,7 +705,7 @@ static struct elf_backend_data elfNN_bed = |
elf_backend_relocs_compatible, |
elf_backend_check_relocs, |
elf_backend_check_directives, |
- elf_backend_as_needed_cleanup, |
+ elf_backend_notice_as_needed, |
elf_backend_adjust_dynamic_symbol, |
elf_backend_always_size_sections, |
elf_backend_size_dynamic_sections, |
@@ -770,6 +775,7 @@ static struct elf_backend_data elfNN_bed = |
elf_backend_obj_attrs_order, |
elf_backend_obj_attrs_handle_unknown, |
elf_backend_static_tls_alignment, |
+ elf_backend_stack_align, |
elf_backend_collect, |
elf_backend_type_change_ok, |
elf_backend_may_use_rel_p, |