From a0f49396fd3a721a3bcd77457abeff75dd9564d9 Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Wed, 16 May 2012 16:38:29 +0000 Subject: * bfd-in.h (bfd_get_section_name, bfd_get_section_vma, bfd_get_section_lma, bfd_get_section_alignment, bfd_get_section_flags, bfd_get_section_userdata): Rewrite macros in order to use the `bfd' argument. * bfd-in2.h: Regenerate. * elf-vxworks.c (elf_vxworks_finish_dynamic_entry): Pass proper `bfd' as the first argument for `bfd_get_section_alignment'. * elf32-arm.c (create_ifunc_sections): Likewise, for `bfd_set_section_alignment'. * elf32-m32r.c (m32r_elf_relocate_section): Likewise, for `bfd_get_section_name'. * elf32-microblaze.c (microblaze_elf_relocate_section): Likewise. * elf32-ppc.c (ppc_elf_size_dynamic_sections): Likewise. (ppc_elf_relocate_section): Likewise. * elf64-mmix.c (mmix_final_link_relocate): Likewise, for `bfd_get_section_vma'. * elf64-ppc.c (create_linkage_sections): Likewise, for `bfd_set_section_alignment'. * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' as the first argument for `bfd_get_section_name'. * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd' as the first argument for `bfd_get_section_vma'. --- ld/ChangeLog | 5 +++++ ld/emultempl/m68hc1xelf.em | 4 ++-- 2 files changed, 7 insertions(+), 2 deletions(-) (limited to 'ld') diff --git a/ld/ChangeLog b/ld/ChangeLog index d026c35..07b5455 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,8 @@ +2012-05-16 Sergio Durigan Junior + + * emultempl/m68hc1xelf.em (hook_in_stub): Pass proper `bfd' + as the first argument for `bfd_get_section_name'. + 2012-05-16 Samuel Thibault PR ld/14069 diff --git a/ld/emultempl/m68hc1xelf.em b/ld/emultempl/m68hc1xelf.em index deeefce..594b193 100644 --- a/ld/emultempl/m68hc1xelf.em +++ b/ld/emultempl/m68hc1xelf.em @@ -204,9 +204,9 @@ hook_in_stub (struct hook_stub_info *info, lang_statement_union_type **lp) case lang_input_section_enum: if (l->input_section.section == info->input_section - || strcmp (bfd_get_section_name (output_section, + || strcmp (bfd_get_section_name (l->input_section.section->owner, l->input_section.section), - bfd_get_section_name (output_section, + bfd_get_section_name (info->input_section->owner, info->input_section)) == 0) { /* We've found our section. Insert the stub immediately -- cgit v1.1