aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2013-12-17 14:36:45 -0800
committerH.J. Lu <hjl.tools@gmail.com>2013-12-17 14:36:45 -0800
commit7394f108c22108c2cde3d0f6d6c49313c847cb13 (patch)
treededff68e45f07e293b4f2e9a736f251454146136
parent0af031261fa0326656d6dfd93f68179adcf9a48b (diff)
downloadgdb-7394f108c22108c2cde3d0f6d6c49313c847cb13.zip
gdb-7394f108c22108c2cde3d0f6d6c49313c847cb13.tar.gz
gdb-7394f108c22108c2cde3d0f6d6c49313c847cb13.tar.bz2
Call _bfd_elf_post_process_headers
* elf32-arm.c (elf32_arm_post_process_headers): Call _bfd_elf_post_process_headers.
-rw-r--r--bfd/ChangeLog5
-rw-r--r--bfd/elf32-arm.c2
2 files changed, 6 insertions, 1 deletions
diff --git a/bfd/ChangeLog b/bfd/ChangeLog
index 4b46b09..5630be5 100644
--- a/bfd/ChangeLog
+++ b/bfd/ChangeLog
@@ -1,5 +1,10 @@
2013-12-17 H.J. Lu <hongjiu.lu@intel.com>
+ * elf32-arm.c (elf32_arm_post_process_headers): Call
+ _bfd_elf_post_process_headers.
+
+2013-12-17 H.J. Lu <hongjiu.lu@intel.com>
+
* elf32-spu.c (spu_elf_post_process_headers): Call
_bfd_elf_post_process_headers.
* elfxx-mips.c (_bfd_mips_post_process_headers): Likewise.
diff --git a/bfd/elf32-arm.c b/bfd/elf32-arm.c
index b023499..6a9e60f 100644
--- a/bfd/elf32-arm.c
+++ b/bfd/elf32-arm.c
@@ -14506,7 +14506,7 @@ elf32_arm_post_process_headers (bfd * abfd, struct bfd_link_info * link_info ATT
if (EF_ARM_EABI_VERSION (i_ehdrp->e_flags) == EF_ARM_EABI_UNKNOWN)
i_ehdrp->e_ident[EI_OSABI] = ELFOSABI_ARM;
else
- i_ehdrp->e_ident[EI_OSABI] = 0;
+ _bfd_elf_post_process_headers (abfd, link_info);
i_ehdrp->e_ident[EI_ABIVERSION] = ARM_ELF_ABI_VERSION;
if (link_info)