This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] -fpie/-fPIE/-pie GCC support


Joseph S. Myers wrote:-

> > __PIC__ and __pic__ definitions are also target dependent, so IMHO it cannot
> > be done globally but has to be kept in target headers.
> 
> Are they really target-dependent, when there is a central flag_pic?  
> __ELF__ was centralised to elfos.h and documented, what would break if
> __PIC__ and __pic__ were centrally defined conditional on flag_pic, and
> documented as target-independent?

I agree this is a good idea; provided nothing breaks (which I would find
hard to imagine).

Neil.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]