m68k patch reviews

Gunther Nikl gni@gecko.de
Mon Aug 25 15:33:00 GMT 2003


On Fri, Aug 22, 2003 at 07:17:16PM +0200, Bernardo Innocenti wrote:
> On Friday 22 August 2003 11:44, Gunther Nikl wrote:
> > On Thu, Aug 21, 2003 at 08:31:41PM +0200, Bernardo Innocenti wrote:
> > > IIRC, the __saveds attribute told the compiler to reload the data section
> > > pointer in A4 at function prologue time.
> >
> >   Yes, when compiling for smalldata.
> 
> Yeah, and it's also necessary for compiler-assisted reentrant code
> (residentable programs).

  For that only smalldata is necessary. You can't use __saveds for reentrant
  code.

>  m68k_save_reg() used to be an ugly and unreadable macro before...

  m68k_save_reg() was never a macro.

  Gunther



More information about the Gcc mailing list