gcc 3.4.2 cpu32 patch
Chris Johns
cjohns at cybertec.com.au
Thu Nov 18 01:16:01 UTC 2004
Aaron J. Grier wrote:
>
> it seems to be a result of the newly-introduced TARGET_CPU_CPP_BUILTINS
> macro in gcc/config/m68k/m68k.h , which adds a preprocessor definition
> for __mc68020__ if TARGET_68020. -mcpu32 defines MASK_68020, which
> prior to my patch would cause TARGET_68020 to evaluate to true.
>
> my patch changes TARGET_68020 to be true only if MASK_68020 and
> MASK_BITFIELD are set, hence __mc68020__ doesn't get defined, hence
> RTEMS can compile.
>
I would like Peter or Bernado to comment on why 68020 is defined for a
cpu32 or a Coldfire.
The thread can be reviewed here:
http://www.rtems.com/ml/rtems-users/2004/november/msg00197.html
--
Chris Johns
More information about the users
mailing list