Call _bfd_elf_post_process_headers
* elf32-spu.c (spu_elf_post_process_headers): Call _bfd_elf_post_process_headers. * elfxx-mips.c (_bfd_mips_post_process_headers): Likewise.
This commit is contained in:
parent
782450358d
commit
0af031261f
@ -1,3 +1,9 @@
|
||||
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.
|
||||
|
||||
2013-12-17 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* elf-bfd.h (_bfd_elf_set_osabi): Renamed to ...
|
||||
|
@ -5146,8 +5146,7 @@ spu_elf_plugin (int val)
|
||||
/* Set ELF header e_type for plugins. */
|
||||
|
||||
static void
|
||||
spu_elf_post_process_headers (bfd *abfd,
|
||||
struct bfd_link_info *info ATTRIBUTE_UNUSED)
|
||||
spu_elf_post_process_headers (bfd *abfd, struct bfd_link_info *info)
|
||||
{
|
||||
if (spu_plugin)
|
||||
{
|
||||
@ -5155,6 +5154,8 @@ spu_elf_post_process_headers (bfd *abfd,
|
||||
|
||||
i_ehdrp->e_type = ET_DYN;
|
||||
}
|
||||
|
||||
_bfd_elf_post_process_headers (abfd, info);
|
||||
}
|
||||
|
||||
/* We may add an extra PT_LOAD segment for .toe. We also need extra
|
||||
|
@ -15348,4 +15348,6 @@ _bfd_mips_post_process_headers (bfd *abfd, struct bfd_link_info *link_info)
|
||||
if (htab->use_plts_and_copy_relocs && !htab->is_vxworks)
|
||||
i_ehdrp->e_ident[EI_ABIVERSION] = 1;
|
||||
}
|
||||
|
||||
_bfd_elf_post_process_headers (abfd, link_info);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user