[Bug target/11322] SH profiler outputs multiple definitions of symbol
uwe at netbsd dot org
gcc-bugzilla@gcc.gnu.org
Sun Nov 30 16:37:00 GMT 2003
------- Additional Comments From uwe at netbsd dot org 2003-11-30 16:37 -------
This has been fixed in the NetBSD tree quite some time ago
gnu/dist/gcc/gcc/config/sh/netbsd-elf.h
revision 1.2
date: 2003/08/04 00:52:43; author: uwe; state: Exp; lines: +5 -0
#define NO_PROFILE_COUNTERS as we don't need them. Otherwise both the
code to emit profile counters and the FUNCTION_PROFILER macro in this
file emit/define the same label. For gcc 2.95.3 it used to work
because FUNCTION_PROFILER used local numeric labels instead of using
LABELNO, so it caused no conflict.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=11322
More information about the Gcc-bugs
mailing list