This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: m68k patch reviews
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