summaryrefslogtreecommitdiffstats
path: root/contrib
diff options
context:
space:
mode:
authorobrien <obrien@FreeBSD.org>2003-05-08 16:02:22 +0000
committerobrien <obrien@FreeBSD.org>2003-05-08 16:02:22 +0000
commite8d5d4c12692cf1e2f7f663081e82a21839f72c8 (patch)
treea08182302c6436d4300bcca87c65708afea7a8a4 /contrib
parentd807e3cae2ebdf6165e0dcc19f8ee461498f6c8b (diff)
downloadFreeBSD-src-e8d5d4c12692cf1e2f7f663081e82a21839f72c8.zip
FreeBSD-src-e8d5d4c12692cf1e2f7f663081e82a21839f72c8.tar.gz
I goofed in rev 1.59 (a.out support axing) and missed getting FUNCTION_PROFILER
fully clean. This resulted in inserted garbage into the produced assembly code when the gcc -pg and -fPIC options are used together. PR: i386/50598 Submitted by: Don Lewis <truckman@freebsd.org>
Diffstat (limited to 'contrib')
-rw-r--r--contrib/gcc/config/i386/freebsd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/contrib/gcc/config/i386/freebsd.h b/contrib/gcc/config/i386/freebsd.h
index 93ff899..6fda7b8 100644
--- a/contrib/gcc/config/i386/freebsd.h
+++ b/contrib/gcc/config/i386/freebsd.h
@@ -135,7 +135,7 @@ Boston, MA 02111-1307, USA. */
#define FUNCTION_PROFILER(FILE, LABELNO) \
do { \
if (flag_pic) \
- fprintf ((FILE), "\tcall *.mcount%s@GOT(%%ebx)\n"); \
+ fprintf ((FILE), "\tcall *.mcount@GOT(%%ebx)\n"); \
else \
fprintf ((FILE), "\tcall .mcount\n"); \
} while (0)
OpenPOWER on IntegriCloud