assembler on Linux-m68k and arla. (fwd)
Love
lha at stacken.kth.se
Fri Aug 25 16:51:15 CEST 2000
Janne Johansson <jj at dynarc.se> writes:
> > The offending lines look like this:
> > movl %a6@(area2),%a0
> >
> > and changing them to
> >
> > movl a6@(area2),a0
> >
> > makes it compile nicely again.
> >
> > Since the arla-guys want it to work on all possible platforms
> > currently in use, I've volunteered to ask you linux-68k-folks
> > if it would break compilation on linux-68k if the asm for
> > 68k was changed to that format instead?
>
> The first syntax is for ELF, the second for pre-ELF (a.out). Current
> Linux assemblers won't understand the second variant :-( (They would
> interpret the "a6" as a symbol, not as register name.)
Weird, the sunos/sun3 assembler seemed to use the % notation too.
I added a hack that might make it work, care to try it out ?
Love
More information about the Arla-drinkers
mailing list