bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug ld/12457] New: Fun with ld.dk


From: d.g.gorbachev at gmail dot com
Subject: [Bug ld/12457] New: Fun with ld.dk
Date: Tue, 1 Feb 2011 20:09:13 +0000

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: address@hidden
        ReportedBy: address@hidden
                CC: address@hidden


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.



reply via email to

[Prev in Thread] Current Thread [Next in Thread]