> You see, in C, I call the function like this (for example): > > void pic16l_setled(unsigned int val); > pic16l_setled (0x1234); > > And it gets assembled to: > > pushl $0x1234 > call pic16l_setled > > But it should be assembled to: > > pushl $0x1234 > call pic16l_setled > add $4,%esp /* ditch the parameter */
Usually gcc collects stack cleanups. See -fno-defer-pop. Norbert _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "[EMAIL PROTECTED]"