From: Sebastian Huber Date: Mon, 8 Jan 2018 09:15:16 +0000 (+0000) Subject: nios2: Enable Ada run-time build X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=051221292292dbfc13f0d6f81278295b47b4bada;p=gcc.git nios2: Enable Ada run-time build gcc/ * config/nios2/nios2.h (nios2_section_threshold): Guard by not USED_FOR_TARGET. From-SVN: r256330 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 1d7796ae306..c203ae9d7d8 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2018-01-08 Sebastian Huber + + * config/nios2/nios2.h (nios2_section_threshold): Guard by not + USED_FOR_TARGET. + 2018-01-08 Richard Biener PR middle-end/83580 diff --git a/gcc/config/nios2/nios2.h b/gcc/config/nios2/nios2.h index 858d4a41cd7..f62b2ce3176 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