Call _bfd_elf_post_process_headers
authorH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Dec 2013 22:36:45 +0000 (14:36 -0800)
committerH.J. Lu <hjl.tools@gmail.com>
Tue, 17 Dec 2013 22:36:45 +0000 (14:36 -0800)
* elf32-arm.c (elf32_arm_post_process_headers): Call
_bfd_elf_post_process_headers.

bfd/ChangeLog
bfd/elf32-arm.c

index 4b46b098e74125a982555659f0a243c8d79ede0a..5630be5f37481127c53d0c0a64e7a8076cdcd497 100644 (file)
@@ -1,3 +1,8 @@
+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
index b0234997274fdb260d32bff85299314e6fffe779..6a9e60fcab9fdcbf79adfad877a54fb06e9b922e 100644 (file)
@@ -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)