This is the mail archive of the
mailing list for the binutils project.
Re: FYI: patches for powerpc-aix...
> > /tmp//ccY5Nx8U.s: Assembler messages:
> > /tmp//ccY5Nx8U.s:241: Internal error, aborting at /homes/brobecke/act/binutils/binutils-head/gas/config/tc-ppc.c line 3319 in md_assemble
> Likely my 2012-11-05 tc-ppc.c change exposing lack of support for
> relocs in _bfd_xcoff_reloc_type_lookup. Taking a wild stab at it (I
> don't speak xcoff):
That was mighty generous of you to send a patch, Alan. I could
only give it a quick test, and we get past the error in as, but
unfortunately, I now get errors in ld.
These are the types of errors I see:
/[...]/b~foo.adb:131:(.pr+0x16): relocation truncated to fit: 0x0c against `ada_main__is_elaborated'
/[...]/b~foo.adb:(.pr+0xb6): relocation truncated to fit: 0x0c against symbol `__gl_main_priority' defined in .rw section in /pine.a/tmp/brobecke/wave-20130215/lib/gcc/powerpc-ibm-aix126.96.36.199/4.7.3/adalib/libgnat.a(init.o)
b~foo.o:/[...]/b~foo.adb:(.pr+0xfe): additional relocation overflows omitted from the output
/[...]/ld: b~foo.o: loader reloc in read-only section .text
I don't speak xcoff and binutils well enough that I could double-check
your fix, but I will as soon as I have a moment.