aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorDavid Edelsohn <dje.gcc@gmail.com>2019-06-26 13:46:01 +0000
committerDavid Edelsohn <dje@gcc.gnu.org>2019-06-26 09:46:01 -0400
commit7cbb1b721e650036a49dc0013397fee34af12800 (patch)
tree0f261e4a1925138895ce09475c48614bb2e6741a /gcc
parent8f40e1b249fc81c3cf008d53750f23af1042febe (diff)
downloadgcc-7cbb1b721e650036a49dc0013397fee34af12800.zip
gcc-7cbb1b721e650036a49dc0013397fee34af12800.tar.gz
gcc-7cbb1b721e650036a49dc0013397fee34af12800.tar.bz2
* config/rs6000/rs6000-logue.c: Add #ifndef TARGET_PROFILE_KERNEL.
From-SVN: r272694
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/rs6000/rs6000-logue.c5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index d238889..c039e62 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2019-06-26 David Edelsohn <dje.gcc@gmail.com>
+ * config/rs6000/rs6000-logue.c: Add #ifndef TARGET_PROFILE_KERNEL.
+
+2019-06-26 David Edelsohn <dje.gcc@gmail.com>
+
* config.gcc (powerpc-ibm-aix*): Define target_gtfiles.
2019-06-26 Segher Boessenkool <segher@kernel.crashing.org>
diff --git a/gcc/config/rs6000/rs6000-logue.c b/gcc/config/rs6000/rs6000-logue.c
index adc137b..607d1ef 100644
--- a/gcc/config/rs6000/rs6000-logue.c
+++ b/gcc/config/rs6000/rs6000-logue.c
@@ -61,6 +61,11 @@ static rs6000_stack_t stack_info;
int rs6000_pic_labelno = 0;
+#ifndef TARGET_PROFILE_KERNEL
+#define TARGET_PROFILE_KERNEL 0
+#endif
+
+
/* Function to init struct machine_function.
This will be called, via a pointer variable,
from push_function_context. */