Re: PING: [LM32] Fix '"LINK_GCC_C_SEQUENCE_SPEC" redefined' warning
On 10/5/2021 8:46 AM, Jan-Benedict Glaw wrote: Hi, On Thu, 2021-09-30 21:34:51 +0200, Jan-Benedict Glaw wrote: gcc/ChangeLog: * config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): Undefine before redefinition. diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h index 370df4c55dd..5b638fa5db2 100644 --- a/gcc/config/lm32/uclinux-elf.h +++ b/gcc/config/lm32/uclinux-elf.h @@ -67,6 +67,7 @@ #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() +#undef LINK_GCC_C_SEQUENCE_SPEC #define LINK_GCC_C_SEQUENCE_SPEC \ "%{static|static-pie:--start-group} %G %{!nolibc:%L} \ %{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}" Ok for trunk? ...and a ping for this patch. OK jeff
PING: [LM32] Fix '"LINK_GCC_C_SEQUENCE_SPEC" redefined' warning
Hi, On Thu, 2021-09-30 21:34:51 +0200, Jan-Benedict Glaw wrote: > gcc/ChangeLog: > > * config/lm32/uclinux-elf.h (LINK_GCC_C_SEQUENCE_SPEC): > Undefine before redefinition. > > diff --git a/gcc/config/lm32/uclinux-elf.h b/gcc/config/lm32/uclinux-elf.h > index 370df4c55dd..5b638fa5db2 100644 > --- a/gcc/config/lm32/uclinux-elf.h > +++ b/gcc/config/lm32/uclinux-elf.h > @@ -67,6 +67,7 @@ > > #define TARGET_OS_CPP_BUILTINS() GNU_USER_TARGET_OS_CPP_BUILTINS() > > +#undef LINK_GCC_C_SEQUENCE_SPEC > #define LINK_GCC_C_SEQUENCE_SPEC \ >"%{static|static-pie:--start-group} %G %{!nolibc:%L} \ > %{static|static-pie:--end-group}%{!static:%{!static-pie:%G}}" > > Ok for trunk? ...and a ping for this patch. Thanks, Jan-Benedict -- signature.asc Description: PGP signature