aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Huber <sebastian.huber@embedded-brains.de>2018-01-08 09:15:16 +0000
committerSebastian Huber <sh@gcc.gnu.org>2018-01-08 09:15:16 +0000
commit051221292292dbfc13f0d6f81278295b47b4bada (patch)
tree2929f611340a9515357f29e9ea2f976ff0d4067c
parent3e1b80ff33f3a854e757fad185ee86dc30fb3e6f (diff)
downloadgcc-051221292292dbfc13f0d6f81278295b47b4bada.zip
gcc-051221292292dbfc13f0d6f81278295b47b4bada.tar.gz
gcc-051221292292dbfc13f0d6f81278295b47b4bada.tar.bz2
nios2: Enable Ada run-time build
gcc/ * config/nios2/nios2.h (nios2_section_threshold): Guard by not USED_FOR_TARGET. From-SVN: r256330
-rw-r--r--gcc/ChangeLog5
-rw-r--r--gcc/config/nios2/nios2.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 1d7796a..c203ae9 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,3 +1,8 @@
+2018-01-08 Sebastian Huber <sebastian.huber@embedded-brains.de>
+
+ * config/nios2/nios2.h (nios2_section_threshold): Guard by not
+ USED_FOR_TARGET.
+
2018-01-08 Richard Biener <rguenther@suse.de>
PR middle-end/83580
diff --git a/gcc/config/nios2/nios2.h b/gcc/config/nios2/nios2.h
index 858d4a4..f62b2ce 100644
--- a/gcc/config/nios2/nios2.h
+++ b/gcc/config/nios2/nios2.h
@@ -431,7 +431,7 @@ typedef struct nios2_args
/* Output before 'small' uninitialized data. */
#define SBSS_SECTION_ASM_OP "\t.section\t.sbss"
-#ifndef IN_LIBGCC2
+#ifndef USED_FOR_TARGET
/* Default the definition of "small data" to 8 bytes. */
extern unsigned HOST_WIDE_INT nios2_section_threshold;
#endif