Re: RFA: Multilib support in gdb.asm tests

Nick Clifton
2002-01-13T08:14:46Z

Hi Mark,

> I'm a bit puzzled by this comment. These tests already invoke `gcc'
> for doing the final link. Isn't that a problem too?

Actually that is the source of the problem. Since the final link uses
'gcc' it does get the correct multilib flags. But the assembler
sources were not being built with the appropriate 'gas' versions of
those flags.

So, for example, the assembler object files would be built with the
default endian setting, but the final link would be done with the
proper multilib endian setting. This causes the final link to fail if
the two endian settings are not the same, (and it was this failure
that lead me to detect the problem in the first place).

Cheers
Nick