aboutsummaryrefslogtreecommitdiff
path: root/gcc/config/rs6000/linux.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@bigpond.net.au>2005-06-10 01:44:59 +0000
committerAlan Modra <amodra@gcc.gnu.org>2005-06-10 11:14:59 +0930
commit71625f3dc600a9b363a02c996269a7e97d11c841 (patch)
treeee2a5c2a0f9046974f3feece3f2d968b3247fd61 /gcc/config/rs6000/linux.h
parent2e3f0db6f996d6b3d84955391263e9d035d58760 (diff)
downloadgcc-71625f3dc600a9b363a02c996269a7e97d11c841.zip
gcc-71625f3dc600a9b363a02c996269a7e97d11c841.tar.gz
gcc-71625f3dc600a9b363a02c996269a7e97d11c841.tar.bz2
linux.h (NO_PROFILE_COUNTERS): Define.
* config/rs6000/linux.h (NO_PROFILE_COUNTERS): Define. * config/rs6000/linux64.h (NO_PROFILE_COUNTERS): Define as 1. * config/rs6000/rs6000.c (output_function_profiler): Obey NO_PROFILE_COUNTERS. Handle TARGET_SECURE_PLT. Use "bcl 20,31" for -fPIC. Delete save_lr and substitute its value into strings. From-SVN: r100814
Diffstat (limited to 'gcc/config/rs6000/linux.h')
-rw-r--r--gcc/config/rs6000/linux.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/gcc/config/rs6000/linux.h b/gcc/config/rs6000/linux.h
index e35f033..c7edf50 100644
--- a/gcc/config/rs6000/linux.h
+++ b/gcc/config/rs6000/linux.h
@@ -1,6 +1,6 @@
/* Definitions of target machine for GNU compiler,
for PowerPC machines running Linux.
- Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004
+ Copyright (C) 1996, 1997, 1998, 1999, 2000, 2001, 2002, 2003, 2004, 2005
Free Software Foundation, Inc.
Contributed by Michael Meissner (meissner@cygnus.com).
@@ -28,6 +28,9 @@
process. */
#define OS_MISSING_POWERPC64 1
+/* We use glibc _mcount for profiling. */
+#define NO_PROFILE_COUNTERS 1
+
/* glibc has float and long double forms of math functions. */
#undef TARGET_C99_FUNCTIONS
#define TARGET_C99_FUNCTIONS 1