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

           Summary: [Regression] x86_64 kernel failed to link
           Product: binutils
           Version: 2.22 (HEAD)
            Status: NEW
          Severity: normal
          Priority: P2
         Component: ld
        AssignedTo: unassig...@sources.redhat.com
        ReportedBy: hjl.to...@gmail.com
                CC: amo...@gmail.com


[...@gnu-6 prxx]$ cat defined4.s
    .globl    defined
    .text
    .word 0
    .section .data..cacheline_aligned
defined:
    .word 0
[...@gnu-6 prxx]$ cat defined4.t
defined = addr1;
SECTIONS {
    .text : { *(.text) }
    addr1  = ADDR (.text);
    .data : { *(.data) }
    .bss : { *(.bss) *(COMMON) }
}
[...@gnu-6 prxx]$ make
as   -o defined4.o defined4.s
./ld -T defined4.t  -o defined4 defined4.o
defined4.o: In function `defined':
(.data..cacheline_aligned+0x0): multiple definition of `defined'
make: *** [defined4] Error 1
[...@gnu-6 prxx]$

-- 
Configure bugmail: http://sourceware.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
http://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to