This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
- From: "geoffk at geoffk dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 4 Nov 2007 07:50:19 -0000
- Subject: [Bug c++/33871] [4.3 Regression] typeinfo name referenced in ... defined in discarded section
- References: <bug-33871-5606@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #30 from geoffk at geoffk dot org 2007-11-04 07:50 -------
Subject: Re: [4.3 Regression] typeinfo name referenced in ... defined in
discarded section
On 03/11/2007, at 7:21 AM, hjl at lucon dot org wrote:
> Local symbols should only be referenced within the same comdat group
> or the linkonce section. Otherwise, it is a compiler bug.
How do you represent, in ELF, a string which should be present in the
executable only once, but which need not have a globally visible name?
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=33871