[PATCH] add __amd64__ predefined symbols

Jan Hubicka jh@suse.cz
Sat Apr 26 22:56:00 GMT 2003


> On Sun, Apr 27, 2003 at 12:15:56AM +0200, Jan Hubicka wrote:
> > > Why do we need both flags?  Isn't __amd64__ enough?
> > The naming change is bit problematic.  We still have only one choice to
> > define for "machine" and I don't think we can change it from "x86_64"
> > settings at this stage.  Still I guess it is least confusing to the user
> > if both of the macors were defined.
> 
> That's fine for now.
>  
> > Adding __amd64 only is OK for mainlnie and branch.
> > Andreas, we also probably can update ABI document regarding that...
> 
> __amd64 or __amd64__?  FreeBSD needs __amd64__ only.

Hmm, thinking about it, I tend to preffer to simply define both since
majority of targets do that today and people are probably used to both
forms of defines.  Are there any major complains?

Honza



More information about the Gcc-patches mailing list