summaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorjcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-03 16:09:07 +0000
committerjcmvbkbc <jcmvbkbc@138bc75d-0d04-0410-961f-82ee72b054a4>2015-10-03 16:09:07 +0000
commite3c15dbe1c4cd63d906eb67c1c607cc4fab6b329 (patch)
treef6519c0cd80180207a57cf4d2f787aac75744c4d /libgcc
parente03a3b1a87e56f50d060d0c67db048052ff76ab1 (diff)
downloadgcc-e3c15dbe1c4cd63d906eb67c1c607cc4fab6b329.tar.gz
xtensa: add uclinux support
2015-10-03 Max Filippov <jcmvbkbc@gmail.com> gcc/ * config.gcc (xtensa*-*-uclinux*): New configuration. * config/xtensa/uclinux.h: New file. * config/xtensa/uclinux.opt: New file. libgcc/ * config.host (xtensa*-*-uclinux*): New configuration. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@228450 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog4
-rw-r--r--libgcc/config.host5
2 files changed, 9 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index e534c6db959..f09b962d64c 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,7 @@
+2015-10-03 Max Filippov <jcmvbkbc@gmail.com>
+
+ * config.host (xtensa*-*-uclinux*): New configuration.
+
2015-10-02 Kirill Yukhin <kirill.yukhin@intel.com>
* config/i386/cpuinfo.c (processor_features): Add
diff --git a/libgcc/config.host b/libgcc/config.host
index 2c6475625c9..2ee92c19e17 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -1295,6 +1295,11 @@ xtensa*-*-linux*)
tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
md_unwind_header=xtensa/linux-unwind.h
;;
+xtensa*-*-uclinux*)
+ tmake_file="$tmake_file xtensa/t-xtensa xtensa/t-linux t-slibgcc-libgcc"
+ md_unwind_header=xtensa/linux-unwind.h
+ extra_parts="$extra_parts crtbeginS.o crtbeginT.o crtendS.o"
+ ;;
am33_2.0-*-linux*)
# Don't need crtbeginT.o from *-*-linux* default.
extra_parts="crtbegin.o crtend.o crtbeginS.o crtendS.o"