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

            Bug ID: 18085
           Summary: relocation overflow on SHF_MERGE if using -O2 on
                    powerpc
           Product: binutils
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: gold
          Assignee: ccoutant at google dot com
          Reporter: rafael.espindola at gmail dot com
                CC: ian at airs dot com

$ cat t1.s
        ld 6,.LC121@toc@l(9)
        .section        .rodata.str1.8,"aMS",@progbits,1
.LC121:
        .string ".cfi_startproc"
$ cat t2.s
        .section        .rodata.str1.8,"aMS",@progbits,1
        .string "\t.cfi_startproc"

$ gcc -c t1.s
$ gcc -c t2.s
$ ld -shared t1.o t2.o -o t
$ ld -shared t1.o t2.o -o t -O2
t1.o(.text+0x2): error: relocation overflow

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

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

Reply via email to