This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
Re: MIPS gas is broken now.
[ catching up on old mail ]
At Wed, 4 Sep 2002 11:01:41 +0000 (UTC), "Maciej W. Rozycki" wrote:
> Do any empic tests explicitly need BFD64? If so, they need to be fixed
> or disabled (the ones that are irrelevant for a plain 32-bit
> configuration), regardless of the target, be it linux, irix, elf or
> whatever.
looking at them, alas, yes some of them do:
specificially, they do things like:
.dword g1 # R_MIPS_64 g1 0
.dword l1 # R_MIPS_64 .foo 100
.dword l2 # R_MIPS_64 .text 4
.dword g1-l3 # R_MIPS_PC64 g1 4C
.dword l1-l3 # R_MIPS_PC64 .foo 154
.dword l2-l3 # -30
in tests run on both 32-bit and 64-bit systems. (They also use dla,
but I don't know that that ever requires 64-bit bfd, given that the
addresses are always known to be 32-bit or sign-extended 32-bit.
("Hey don't look at me, they predate my embedded PIC hacking." 8-)
I wouldn't be strongly against someone duplicating empic.s/empic.d,
running them only on targets w/ 64-bit BFDs, triming the 64-bit stuff
out of the duplicates (preferably by adding space in their place, so
the rest stays the same 8-), and running the trimmed ones everywhere.
cgd