Commit 90f5494c by Sebastian Andrzej Siewior Committed by Maxim Kuvyrkov

re PR target/36047 (-pg does not work on large binaries and m68k)

2009-12-11  Sebastian Andrzej Siewior  <bigeasy@linutronix.de>

	PR target/36047

	* config/m68k/linux.h: Remove LABELNO from the mcount statement. It is
	not used by glibc/uclibc and does not work with large binaries.

From-SVN: r155165
parent 1ab53893
2009-12-11 Sebastian Andrzej Siewior <bigeasy@linutronix.de>
PR target/36047
* config/m68k/linux.h: Remove LABELNO from the mcount statement. It is
not used by glibc/uclibc and does not work with large binaries.
2009-12-11 Richard Guenther <rguenther@suse.de>
PR lto/41662
......@@ -142,11 +142,10 @@ along with GCC; see the file COPYING3. If not see
/* Output assembler code to FILE to increment profiler label # LABELNO
for profiling a function entry. */
#define NO_PROFILE_COUNTERS 1
#undef FUNCTION_PROFILER
#define FUNCTION_PROFILER(FILE, LABELNO) \
{ \
asm_fprintf (FILE, "\tlea (%LLP%d,%Rpc),%Ra1\n", (LABELNO)); \
if (flag_pic) \
fprintf (FILE, "\tbsr.l _mcount@PLTPC\n"); \
else \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment