Bernardo Innocenti wrote:

>> --- gcc-4.0.2/gcc/config/m68k/linux.h.mps    2006-01-08 23:02:06 +0100
>> +++ gcc-4.0.2/gcc/config/m68k/linux.h        2006-01-08 23:03:02 +0100
>> @@ -85,6 +85,11 @@
>>      LINUX_TARGET_OS_CPP_BUILTINS();         \
>>      builtin_define_std ("mc68000");         \
>>      builtin_define_std ("mc68020");         \
>> +    if (flag_pic)                           \
>> +      {                                     \
>> +        builtin_define ("__PIC__");         \
>> +        builtin_define ("__pic__");         \
>> +      }                                     \
> 
> This shouldn't be needed on HEAD because c-cppbuiltin.c
> already defines them globally for all targets.

btw, a cool cleanup could be factoring the various
_POSIX_SOURCE definitions from the subtargets and
handle it in c-cppbuiltin.c.

A few years ago we were trying to get rid of the old
spec syntax, but there are still plenty of definitions
in the target subdirs.

-- 
  // Bernardo Innocenti - Develer S.r.l., R&D dept.
\X/  http://www.develer.com/


Reply via email to