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

Alan Modra <amodra at gmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
   Last reconfirmed|                            |2020-12-23
             Target|elf64ppc                    |powerpc64le-linux,
                   |                            |x86_64-linux, aarch64-linux
   Target Milestone|---                         |2.36
     Ever confirmed|0                           |1
           Assignee|unassigned at sourceware dot org   |amodra at gmail dot com
             Status|UNCONFIRMED                 |ASSIGNED
            Version|2.35                        |2.36 (HEAD)

--- Comment #2 from Alan Modra <amodra at gmail dot com> ---
This is a generic linker problem, triggered by the presence of two or more
output sections of the same name containing LONG() or other data.

cat > pr27100.lnk <<\EOF
SECTIONS { .rodata : { __crc_system_state = .; LONG(0x015af7f4); } }
SECTIONS { .rodata : { __crc_static_key_initialized = .; LONG(0xbea5ff1e); } }
EOF
cat > pr27100.s <<\EOF
 .section ".rodata","a",%progbits
 .space 50
EOF
gas/as-new -o pr27100.o pr27100.s
ld/ld-new -r -o pr27100 pr27100.o -T pr27100.lnk

Looks to be a regression from 2.35

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

Reply via email to