> Date: Sun, 7 Aug 2016 20:06:39 -0700 > From: Philip Guenther <[email protected]> > > On Sun, 7 Aug 2016, Philip Guenther wrote: > > 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. > > New diff, adding relro support for hppa! Yay!
So I looked a bit closer at this version instead ;). Mostly like what I see. It keeps .plt and .got together which is indeed essential. Moving those before .data will have some consequences though since it reduces the amount of .data and .bss that can be reached by short branches. I believe the linker will emit long branching stubs though. I'll try to build some big stuff on hppa here. On the bright side, this makes my hack for emacs unnecessary since .data and .bss are now together in a single segment. Even if some of the bigger ports don't build anymore, this shouldn't be a show-stopper.
