Changes for a `m88k-motorola-sysv3'

Kaveh R. Ghazi ghazi@caip.rutgers.edu
Thu Sep 11 11:36:00 GMT 1997


 > From: Richard Henderson <rth@dot.cygnus.com>
 > Subject: Re: Changes for a `m88k-motorola-sysv3'
 > 
 > >   > + 	* config/m88k/sysv3.h (INITIALIZE_TRAMPOLINE): Redefine to call
 > >   > + 	`__enable_execute_stack()' for m88k-motorola-sysv3 (sysV88).
 > >   > + 	* libgcc2.c (__enable_execute_stack): Use same definition as for
 > >   > + 	dolphin.
 > > I'd like someone else that knows these systems to comment on this patch
 > > (it's appended).  I know zilch about them and thus don't feel all that
 > > comfortable installing patches for them.
 > 
 > This should be done by redefining the m68k.h FINALIZE_TRAMPLOLINE
 > macro instead of the entire INITIALIZE_TRAMPOLINE.
 > 
 > > + I don't actually have a clue why nobody else than sysV88 and __DOLPHIN__
 > > + needs to call this; perhaps they didn't ever run the c-torture tests
 > > + getting segmentations violations and/or bus errors with nested functions.
 > 
 > Ah, but we did.  It took about a year for my patches to make it into
 > the main line though.
 > r~

	Yes, I saw problems years ago with the nested funciton c-torture
tests on the tekXD88.  Unfortunately, my XD88 hasn't worked in a long
while (its sitting in the corner gathering dust) so I can't test these
changes. 

		--Kaveh
--
Kaveh R. Ghazi				Project Manager
ghazi@caip.rutgers.edu			ICon CMT Corp.



More information about the Gcc mailing list