SPU overlay headers
authorAlan Modra <amodra@gmail.com>
Fri, 5 Oct 2018 14:05:01 +0000 (23:35 +0930)
committerAlan Modra <amodra@gmail.com>
Mon, 8 Oct 2018 09:56:08 +0000 (20:26 +1030)
commite0c3dfa2eebcf862d45b05f363a81f57ca30dead
tree53b4c216b567249473bfeef2360ad007f7eb2559
parent00bee008e9f7d0b3adf3278962450944653787f8
SPU overlay headers

Overlay PT_LOAD headers are moved early for reasons explained by
comments in spu_elf_modify_segment_map.  This patch fixes cases that
shouldn't occur in sane SPU executables.

* elf32-spu.c (spu_elf_modify_segment_map): Don't insert
overlays before segment containing headers.
bfd/ChangeLog
bfd/elf32-spu.c