http://sourceware.org/bugzilla/show_bug.cgi?id=12457
Summary: Fun with ld.dk
Product: binutils
Version: 2.22 (HEAD)
Status: NEW
Severity: normal
Priority: P2
Component: ld
AssignedTo: [email protected]
ReportedBy: [email protected]
CC: [email protected]
Created attachment 5222
--> http://sourceware.org/bugzilla/attachment.cgi?id=5222
Testcases
> Yes, although note that it's just a symbol, not the actual function, and
> the program is correct. There are left-over stray symbols from the LTO
> symtabs in the final exe, when ltrans decides to remove a function that
> was present in the IR object file. I'll see if I can find a way to remove
> them, but as far as I know, the only potential harm they can do is that if
> they have non-default visibility, we get PR12277.
Two more interesting testcases using buggy gcc 4.5:
1) the linker fails to fail with "undefined reference to `fun'";
2) it puts `unf' (data) into .text section.
--
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