diff --git a/libgloss/aarch64/crt0.S b/libgloss/aarch64/crt0.S index f831be12e..78c5263dc 100644 --- a/libgloss/aarch64/crt0.S +++ b/libgloss/aarch64/crt0.S @@ -36,7 +36,7 @@ #error __USER_LABEL_PREFIX is not defined #endif -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY #define _init __libc_init_array #define _fini __libc_fini_array #endif @@ -309,4 +309,4 @@ CommandLine: .space 256,0 /* Maximum length of 255 chars handled. */ AngelSVCArgs: GEN_DWORD CommandLine .dword 255 -#endif \ No newline at end of file +#endif diff --git a/libgloss/arm/crt0.S b/libgloss/arm/crt0.S index 8490bde2f..78515180b 100644 --- a/libgloss/arm/crt0.S +++ b/libgloss/arm/crt0.S @@ -12,7 +12,7 @@ #error __USER_LABEL_PREFIX is not defined #endif -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY #define _init __libc_init_array #define _fini __libc_fini_array #endif diff --git a/libgloss/cris/crt0.S b/libgloss/cris/crt0.S index 30419887e..6edaabf45 100644 --- a/libgloss/cris/crt0.S +++ b/libgloss/cris/crt0.S @@ -36,7 +36,7 @@ #define L(x) _ ## x #endif -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY #define _init __libc_init_array #define _fini __libc_fini_array #endif diff --git a/libgloss/cris/lcrt0.c b/libgloss/cris/lcrt0.c index 8b8cc0bb0..48489edd3 100644 --- a/libgloss/cris/lcrt0.c +++ b/libgloss/cris/lcrt0.c @@ -29,7 +29,7 @@ #include "linunistd.h" #include "newlib.h" -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY #define _init __libc_init_array #define _fini __libc_fini_array #endif diff --git a/libgloss/or1k/crt0.S b/libgloss/or1k/crt0.S index 03d732355..74a040981 100644 --- a/libgloss/or1k/crt0.S +++ b/libgloss/or1k/crt0.S @@ -97,7 +97,7 @@ _or1k_exception_stack_size: .word EXCEPTION_STACK_SIZE */ /* -------------------------------------------------------------------------- */ -#ifdef HAVE_INITFINI_ARRAY +#ifdef _HAVE_INITFINI_ARRAY #define _init __libc_init_array #define _fini __libc_fini_array #endif