aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorClaudiu Zissulescu <claziss@synopsys.com>2018-06-13 10:43:42 +0200
committerClaudiu Zissulescu <claziss@gcc.gnu.org>2018-06-13 10:43:42 +0200
commit60a3f6590618c8fa74ddc54d3232d57b2908765d (patch)
tree80842693f05f1e07aad253f13840fe6fb7abf279 /gcc
parent376c55a077a67b8427f07c4d93324934b3eb04ae (diff)
downloadgcc-60a3f6590618c8fa74ddc54d3232d57b2908765d.zip
gcc-60a3f6590618c8fa74ddc54d3232d57b2908765d.tar.gz
gcc-60a3f6590618c8fa74ddc54d3232d57b2908765d.tar.bz2
[ARC] Define LINK_GCC_C_SEQUENCE_SPEC.
If no specs file is provided, default to nosys library. gcc/ 2017-05-03 Claudiu Zissulescu <claziss@synopsys.com> * config/arc/elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define. From-SVN: r261541
Diffstat (limited to 'gcc')
-rw-r--r--gcc/ChangeLog4
-rw-r--r--gcc/config/arc/elf.h5
2 files changed, 9 insertions, 0 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog
index 9e3e080..70be1d2 100644
--- a/gcc/ChangeLog
+++ b/gcc/ChangeLog
@@ -1,5 +1,9 @@
2018-06-12 Claudiu Zissulescu <claziss@synopsys.com>
+ * config/arc/elf.h (LINK_GCC_C_SEQUENCE_SPEC): Define.
+
+2018-06-12 Claudiu Zissulescu <claziss@synopsys.com>
+
* config/arc/builtins.def (SYNC): SYNC instruction is valid on all
ARC cores.
diff --git a/gcc/config/arc/elf.h b/gcc/config/arc/elf.h
index 43ced3b..66ee5b6 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"