summaryrefslogtreecommitdiff
path: root/gcc/config
diff options
context:
space:
mode:
authorSebastian Andrzej Siewior <bigeasy@linutronix.de>2009-12-11 15:32:08 +0000
committerMaxim Kuvyrkov <mkuvyrkov@gcc.gnu.org>2009-12-11 15:32:08 +0000
commit90f5494c89d9242643cde13cbd0d477338440731 (patch)
tree191dc6295c422f305fd22dbb8a8157ef11575f65 /gcc/config
parent1ab538934532ccff71655a8bb8f63c1655dcfa36 (diff)
downloadgcc-90f5494c89d9242643cde13cbd0d477338440731.tar.gz
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
Diffstat (limited to 'gcc/config')
-rw-r--r--gcc/config/m68k/linux.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
index 113f2787fb3..1d73ee0f4ef 100644
--- a/gcc/config/m68k/linux.h
+++ b/gcc/config/m68k/linux.h
@@ -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 \