Accept odd result in ld-powerpc/tocnovar testcase

Cary Coutant ccoutant@gmail.com
Thu Apr 23 15:06:00 GMT 2015


> I didn't commit this with the relro and powerpc .TOC. changes,
> thinking that something should be done about the odd result of
> .shstrtab appearing in PT_GNU_RELRO.  On looking at it further,
> I think that changing readelf would be wrong, so let's just
> accept the results.  Real binaries will always have other sections
> past .got, so PT_GNU_RELRO won't finish past the end of loaded
> sections.

Still, why should readelf show any non-allocated sections as part of a segment?

-cary



More information about the Binutils mailing list