gas-950726/ss-950728/powerpc*-*-eabi: addis 9,0,a-400000@ha ???
Michael Meissner
meissner@cygnus.com
Wed Aug 9 12:38:00 GMT 1995
| Hello,
|
| c-torture-1.34/execute/index-1.c
|
| from the lines:
|
| int
| f (int n)
| {
| return a[n - 100000];
| }
|
| outputs the assembler:
|
| addis 9,0,a-400000@ha
| addi 11,9,a-400000@l
|
| quite simply, is this valid PowerPC assembler? Gas doesn't think so:
It probably should be valid PowerPC assembler (given the semantics of
@ha and @l and the fact that the PowerPC elf uses RELA relocations
instead of the stupid REL relocations like the x86 does). I'll look
into it.
--
Michael Meissner, Cygnus Support (East Coast)
Suite 105, 48 Grove Street, Somerville, MA 02144, USA
meissner@cygnus.com, 617-629-3016 (office), 617-629-3010 (fax)
More information about the Gas2
mailing list