darcs patch: Set .type @object for all global symbols in NCG

Clemens Fruhwirth clemens at endorphin.org
Sat Jun 30 04:26:23 EDT 2007


At Fri, 29 Jun 2007 19:08:27 -0700,
Aaron Tomb <atomb at soe.ucsc.edu> wrote:

> You might already be aware of this, but .type seems to be a gas- 
> specific directive. At least, it's not supported by the OS X version  
> of as, so HEAD can't successfully compile things on that platform for  
> the moment. Feel free to ignore me if you're already planning to fix  
> this. :)

Thanks for pointing that out. I restricted the generation of these
directives to linux_TARGET_OS. I'd say that's a synonym for
we_are_using_GNU_as_and_an_ELF_target.
--
Fruhwirth Clemens - http://clemens.endorphin.org 



More information about the Cvs-ghc mailing list