[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
gcc 3.4.2 cpu32 patch
- Date: Thu, 18 Nov 2004 12:16:01 +1100
- From: cjohns at cybertec.com.au (Chris Johns)
- Subject: gcc 3.4.2 cpu32 patch
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