bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/2609] New: XCOFF - loader reloc in unrecognized section `*ABS* e


From: jeshua at us dot ibm dot com
Subject: [Bug ld/2609] New: XCOFF - loader reloc in unrecognized section `*ABS* error when using -bI
Date: 26 Apr 2006 21:21:55 -0000

Overview:
When ld (binutils 2.16) is configured for target powerpc-aix and I specify an
import symbol file with -bI, I get the following error:
powerpc-aix-ld: example.o: loader reloc in unrecognized section `*ABS*'
powerpc-aix-ld: final link failed: Nonrepresentable section on output

Steps to reproduce:
1. Write AIX assembly code that has an undefined reference.
2. Define that reference in an import file.
3. Assemble using either AIX's as or binutils's as (this bug doesn't seem to
care which assembler you used)
4. Link the resulting object file with binutils's ld and use -bI (or -bimport)
to include the import file.
4. (alternate) Link the resulting object file with binutils's ld and define the
reference in the linker script using PROVIDE(referencename = value);

Actual results:
powerpc-aix-ld: example.o: loader reloc in unrecognized section `*ABS*'
powerpc-aix-ld: final link failed: Nonrepresentable section on output
(due to this error the linker fails to create the output file)

Expected results:
No errors. AIX's ld links the object file without giving any errors.

Build & platform:
binutils 2.16, configured with --target=powerpc-aix --enable-64-bit-bfd
--with-cpu=common

-- 
           Summary: XCOFF - loader reloc in unrecognized section `*ABS*
                    error when using -bI
           Product: binutils
           Version: 2.16
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassigned at sources dot redhat dot com
        ReportedBy: jeshua at us dot ibm dot com
                CC: bug-binutils at gnu dot org


http://sourceware.org/bugzilla/show_bug.cgi?id=2609

------- You are receiving this mail because: -------
You are on the CC list for the bug, or are watching someone who is.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]