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: [m68k] Fix m68k-netbsdelf bootstrap


On Thu, Jan 22, 2004 at 01:04:25AM +0100, Bernardo Innocenti wrote:
> > [M68K_REGNAME define]
> 
> Anyway, this conditional code is going to be ripped out now that
> Gunther confirmed that GAS knows about %fp in m68k-amigaos.

  I would prefer to have the "FRAME_POINTER_REGNUM == 14" in the macro
  definition.

> AFAIK, no other m68k targets have %fp != %a6.  Even so, they'd better
> patch GAS too, otherwise they'd get broken code for asm functions and
> inline macros.

  Its better to avoid %fp at all [in these cases]. If %fp is a different
  register then it was thought to be, the code might use the "spare"
  register which is now %fp.

  Gunther
  


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