Mail Archives: djgpp-workers/1999/07/04/08:49:22
On Thu, 1 Jul 1999, Jan Hubicka wrote:
> > Rather than replacing all the .S files with .c files, please add
> > macros to some global asm macros file to access the parameters, like
> > ARG0, ARG1, etc, for as many args as you need. Or, use conditional
>
> I was thinking about this originally, problem is that making such macros
> is quite complex. For example when arg0 is in register, movl ARG0, %eax
> will result in movl %eax, %eax and thats not very nice.
What about conditionals? IMHO, it's still better to use some ifdef's
than rewrite every .S file in sight. The de-stabilizing effect of a
complete rewrite frightens me.
- Raw text -