http://sourceware.org/bugzilla/show_bug.cgi?id=12507
Summary: Can't build a program with -flto -nostdlib
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: [email protected]
ReportedBy: [email protected]
$ cat > prog.c
void _start(void) { }
^D
$ gcc-4.6 -flto -nostdlib prog.c
Works with ld.gold, does not work with ld.bfd or ld.hjl. GOLD marks _start as
PREVAILING_DEF, BFD LD as PREVAILING_DEF_IRONLY.
--
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
[email protected]
http://lists.gnu.org/mailman/listinfo/bug-binutils