bug-binutils
[Top][All Lists]
Advanced

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

[Bug binutils/16952] New: PowerPC LD requests bug report. Issue related


From: bcbrock at us dot ibm.com
Subject: [Bug binutils/16952] New: PowerPC LD requests bug report. Issue related to EABI symbols _SDA_BASE_, _SDA2_BASE_
Date: Fri, 16 May 2014 13:36:13 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=16952

            Bug ID: 16952
           Summary: PowerPC LD requests bug report. Issue related to EABI
                    symbols _SDA_BASE_, _SDA2_BASE_
           Product: binutils
           Version: 2.25 (HEAD)
            Status: NEW
          Severity: minor
          Priority: P2
         Component: binutils
          Assignee: unassigned at sourceware dot org
          Reporter: bcbrock at us dot ibm.com

We plan to link an embedded application using the .PPC.EMB.sdata0 facility of
the PowerPC EABI. A simple test failed, and LD requested that we report a bug.
After poking around, the problem seems to be that the linker script must define
_SDA_BASE_ and _SDA2_BASE_, even though these symbols are not explicitly
required by this example.

Source file:

        .text
        lwz     3, address@hidden(0)

        .data
foo:
        .long   0

Linker script:

SECTIONS
{
    . = 0xffff8000;
    .text .           : { *(.text) }
    .PPC.EMB.sdata0 . : { *(.data) }

    /* Uncomment to eliminate the bug report

    _SDA_BASE_ = .;
    _SDA2_BASE_ = .;

    */
}

Messages:

as bug.S -o bug.o
ld bug.o -o bug -Tbug.cmd -Map bug.map
ld: BFD (GNU Binutils) 2.24.51.20140515 internal error, aborting at
../../binutils-gdb/bfd/elflink.c line 8855 in elf_link_output_extsym

ld: Please report this bug.

Thanks,

Bishop Brock

-- 
You are receiving this mail because:
You are on the CC list for the bug.



reply via email to

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