aboutsummaryrefslogtreecommitdiff
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
parent1ab538934532ccff71655a8bb8f63c1655dcfa36 (diff)
downloadgcc-90f5494c89d9242643cde13cbd0d477338440731.zip
gcc-90f5494c89d9242643cde13cbd0d477338440731.tar.gz
gcc-90f5494c89d9242643cde13cbd0d477338440731.tar.bz2
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
-rw-r--r--gcc/ChangeLog7
-rw-r--r--gcc/config/m68k/linux.h3
2 files changed, 8 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 70a35a7..4f7c4d5 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,10 @@
+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
diff --git a/gcc/config/m68k/linux.h b/gcc/config/m68k/linux.h
index 113f278..1d73ee0 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 \