From: claziss Date: Wed, 13 Jun 2018 08:43:42 +0000 (+0000) Subject: [ARC] Define LINK_GCC_C_SEQUENCE_SPEC. X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=3df4cca470b3aa12643ed68c08d9fecd8d1c10bf;p=thirdparty%2Fgcc.git [ARC] Define LINK_GCC_C_SEQUENCE_SPEC. If no specs file is provided, default to nosys library. gcc/ 2017-05-03 Claudiu Zissulescu * config/arc/elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@261541 138bc75d-0d04-0410-961f-82ee72b054a4 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 9e3e0805e4cb..70be1d2f4828 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,7 @@ +2018-06-12 Claudiu Zissulescu + + * config/arc/elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define. + 2018-06-12 Claudiu Zissulescu * config/arc/builtins.def (SYNC): SYNC instruction is valid on all diff --git a/gcc/config/arc/elf.h b/gcc/config/arc/elf.h index 43ced3b720f1..66ee5b698eab 100644 --- a/gcc/config/arc/elf.h +++ b/gcc/config/arc/elf.h @@ -73,3 +73,8 @@ along with GCC; see the file COPYING3. If not see #undef TARGET_ASM_FILE_END #define TARGET_ASM_FILE_END arc_file_end + +/* If no specs file is enforced, default to nosys libarary. */ +#undef LINK_GCC_C_SEQUENCE_SPEC +#define LINK_GCC_C_SEQUENCE_SPEC \ + "--start-group %G %{!specs=*:-lc -lnosys} --end-group"