From 90f5494c89d9242643cde13cbd0d477338440731 Mon Sep 17 00:00:00 2001 From: Sebastian Andrzej Siewior Date: Fri, 11 Dec 2009 15:32:08 +0000 Subject: [PATCH] re PR target/36047 (-pg does not work on large binaries and m68k) 2009-12-11 Sebastian Andrzej Siewior 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 --- gcc/ChangeLog | 7 +++++++ gcc/config/m68k/linux.h | 3 +-- 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 + + 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 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 \ -- 2.7.4