[PATCH] -fpie/-fPIE/-pie GCC support
Neil Booth
neil@daikokuya.co.uk
Mon Jun 2 21:34:00 GMT 2003
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.
More information about the Gcc-patches
mailing list