This is the mail archive of the gcc-bugs@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[Bug target/11322] SH profiler outputs multiple definitions of symbol


------- 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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]