nios2: Enable Ada run-time build
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 8 Jan 2018 09:15:16 +0000 (09:15 +0000)
committerSebastian Huber <sh@gcc.gnu.org>
Mon, 8 Jan 2018 09:15:16 +0000 (09:15 +0000)
gcc/
* config/nios2/nios2.h (nios2_section_threshold): Guard by not
USED_FOR_TARGET.

From-SVN: r256330

gcc/ChangeLog
gcc/config/nios2/nios2.h

index 1d7796ae30697466c2d7b81c73adba721010000f..c203ae9d7d818d1f3a2941f61aa3b270c94fc8cb 100644 (file)
@@ -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
index 858d4a41cd767b4b256eea8e64e042698eaf9a53..f62b2ce3176c7318eaa3c0de03ccc662893e7c9c 100644 (file)
@@ -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