darcs patch: Support the GNU non-exec stack annotatio... (and
duncan.coutts at worc.ox.ac.uk
Tue Aug 8 18:12:28 EDT 2006
On Tue, 2006-08-08 at 06:26 -0700, Chris Parrott wrote:
> In the gentoo-haskell darcs repository, look at
> portage/dev-lang/ghc/files/ghc-6.4.1-alphamangler.patch. This patch
> contains a number of mangler modifications for alpha. I don't remember
> if this addresses the .note.GNU-stack issue now, but I believe it might.
>From my quick reading of it it doesn't look like it does. Did you have
any other mangler changes apart from the ones in that patch? I recall
you saying that you had something to not strip the .note.GNU-stack
If you can't find it, don't worry, I don't expect it's too hard for us
to make the change again. It can't be that hard... ;-)
Simon: for the mangler we think it really is as simple as making it not
strip a line starting with ".note.GNU-stack". We have not yet
investigated the splitter but I expect it'll be somewhat more tricky. We
probably need to make it add the line to the end of every output .s file
if it occurs in the original .s file.
> Note that other fixes are still needed to get a fully registerised build
> of ghc for alpha, but this is a first step.
Sure, for the 6.6 release it's just the GNU stack stuff I was interested
in. We can come back to the alpha patches some time.
More information about the Cvs-ghc