diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2013-12-17 14:10:03 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2013-12-17 14:10:03 -0800 |
commit | 0af031261fa0326656d6dfd93f68179adcf9a48b (patch) | |
tree | 03a3f1b5c8b52d9836032f5e2a5c349b27a98fad /bfd/elf32-spu.c | |
parent | 782450358dc18c4818faaae643ab5f91d6464fe7 (diff) | |
download | gdb-0af031261fa0326656d6dfd93f68179adcf9a48b.zip gdb-0af031261fa0326656d6dfd93f68179adcf9a48b.tar.gz gdb-0af031261fa0326656d6dfd93f68179adcf9a48b.tar.bz2 |
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.
Diffstat (limited to 'bfd/elf32-spu.c')
-rw-r--r-- | bfd/elf32-spu.c | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/bfd/elf32-spu.c b/bfd/elf32-spu.c index 86fb33c..3b7f266 100644 --- a/bfd/elf32-spu.c +++ b/bfd/elf32-spu.c @@ -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 |