summaryrefslogtreecommitdiffstats
path: root/binutils-2.25/bfd/elf32-i370.c
diff options
context:
space:
mode:
Diffstat (limited to 'binutils-2.25/bfd/elf32-i370.c')
-rw-r--r--binutils-2.25/bfd/elf32-i370.c12
1 files changed, 8 insertions, 4 deletions
diff --git a/binutils-2.25/bfd/elf32-i370.c b/binutils-2.25/bfd/elf32-i370.c
index 48e25f22..c9ed6e02 100644
--- a/binutils-2.25/bfd/elf32-i370.c
+++ b/binutils-2.25/bfd/elf32-i370.c
@@ -1,6 +1,5 @@
/* i370-specific support for 32-bit ELF
- Copyright 1994, 1995, 1996, 1997, 1998, 2000, 2001, 2002, 2003, 2004,
- 2005, 2006, 2007, 2008, 2010, 2011, 2012 Free Software Foundation, Inc.
+ Copyright (C) 1994-2014 Free Software Foundation, Inc.
Written by Ian Lance Taylor, Cygnus Support.
Hacked by Linas Vepstas for i370 linas@linas.org
@@ -1091,6 +1090,12 @@ i370_elf_relocate_section (bfd *output_bfd,
else
{
h = sym_hashes[r_symndx - symtab_hdr->sh_info];
+
+ if (info->wrap_hash != NULL
+ && (input_section->flags & SEC_DEBUGGING) != 0)
+ h = ((struct elf_link_hash_entry *)
+ unwrap_hash_lookup (info, input_bfd, &h->root));
+
while (h->root.type == bfd_link_hash_indirect
|| h->root.type == bfd_link_hash_warning)
h = (struct elf_link_hash_entry *) h->root.u.i.link;
@@ -1357,7 +1362,7 @@ i370_elf_relocate_section (bfd *output_bfd,
return ret;
}
-#define TARGET_BIG_SYM bfd_elf32_i370_vec
+#define TARGET_BIG_SYM i370_elf32_vec
#define TARGET_BIG_NAME "elf32-i370"
#define ELF_ARCH bfd_arch_i370
#define ELF_MACHINE_CODE EM_S370
@@ -1388,7 +1393,6 @@ i370_elf_relocate_section (bfd *output_bfd,
#define elf_backend_section_from_shdr i370_elf_section_from_shdr
#define elf_backend_adjust_dynamic_symbol i370_elf_adjust_dynamic_symbol
#define elf_backend_check_relocs i370_elf_check_relocs
-#define elf_backend_post_process_headers _bfd_elf_set_osabi
static int
i370_noop (void)