[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Bug ld/12439] Undefined reference error with ld.hjl
From: |
davek at gcc dot gnu.org |
Subject: |
[Bug ld/12439] Undefined reference error with ld.hjl |
Date: |
Tue, 1 Feb 2011 18:03:57 +0000 |
http://sourceware.org/bugzilla/show_bug.cgi?id=12439
Dave Korn <davek at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |davek at gcc dot gnu.org
--- Comment #4 from Dave Korn <davek at gcc dot gnu.org> 2011-02-01 18:03:44
UTC ---
(In reply to comment #2)
> With ld.dk (ld.bfd with patch
> <http://gcc.gnu.org/ml/gcc/2011-02/msg00003.html>):
>
> $ nm prog
> [...]
> 080483a2 T bar
> 0804838e t bar.1988
> [...]
>
> `bar' is not needed.
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.
--
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.