On Sun, 7 Aug 2016, Mark Kettenis wrote:
...
> Going to give this a go on hppa to see if I can spot any issues there.

It works there just as well as before for me, with no new failures in my 
"try lots of ld option combinations" test.  Since it has an executable 
.plt, to make relro work will require a layout more like sparc64, with the 
.plt section hoisted to before the data.  I need to see what the 
limitations on .plt<-->.got distance are to see where .got goes for that.

(The existing failure on hppa in my ld combination test is for dynamic -Z 
-nopie binaries, which fail because the .plt is placed in the same section 
as .data and .bss, but unless/until someone has a use for that combo, I'm 
going to preserve my sanity and not poke elf.sc to try to make it work.)


> Doesn't the powerpc change mean we'll be making some things writable 
> again until we switch relro on there?

Dang it, yeah, the .plt is no longer protected there.  Let me see if I can 
fix that without tangling this too much more...


Philip

Reply via email to