unreviewed patch

Richard Henderson rth@redhat.com
Tue Aug 17 06:53:00 GMT 2004


On Mon, Aug 16, 2004 at 11:49:37PM +0200, Lars Sonchocky-Helldorf wrote:
> http://gcc.gnu.org/ml/gcc-patches/2004-08/msg00506.html

I guess this is ok, since all functional changes are protected
by TARGET_MACHO.

I really really really hate how Darwin represents things though.

IMO, we should be re-using UNSPEC_GOTOFF for base-label relative
references and UNSPEC_GOT for non-lazy-ptr references.  The only
places we need darwin-specific hooks is then in output_pic_addr_const
when we turn the unspecs into assembly syntax.  The x86 rtl patterns
and predicates don't have to know anything special.



r~



More information about the Gcc-patches mailing list