summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
authormidipix <writeonce@midipix.org>2015-03-21 20:52:29 -0400
committermidipix <writeonce@midipix.org>2015-03-21 20:52:29 -0400
commit6d4ed23f7bb5785237fe17cfdec80b124d4e9003 (patch)
tree85621944b128d2f538e1f55de08a4974ef98e203 /libgcc/config
parent3a297cf8f0c5d8f5458418ba5b2bdf56fb1529cd (diff)
downloadcbb-gcc-4.6.4-6d4ed23f7bb5785237fe17cfdec80b124d4e9003.tar.bz2
cbb-gcc-4.6.4-6d4ed23f7bb5785237fe17cfdec80b124d4e9003.tar.xz
libgcc/config/i386/t-midipix: initial commit.
+ midipix target-specific build recipes for libgcc, accidentally omitted from commit 47407cf3. signed-off by Z. Gilboa; see copying.midipix (9cd0746c) for additional information.
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/i386/t-midipix44
1 files changed, 44 insertions, 0 deletions
diff --git a/libgcc/config/i386/t-midipix b/libgcc/config/i386/t-midipix
new file mode 100644
index 000000000..1520f360c
--- /dev/null
+++ b/libgcc/config/i386/t-midipix
@@ -0,0 +1,44 @@
+###############################################################################
+## ##
+## midipix target-specific build recipes for libgcc ##
+## ##
+## Copyright (C) 2014,2015 Z. Gilboa ##
+## ##
+## This program is free software: you can redistribute it and/or modify ##
+## it under the terms of the GNU General Public License as published by ##
+## the Free Software Foundation, either version 3 of the License, or ##
+## (at your option) any later version. ##
+## ##
+## This program is distributed in the hope that it will be useful, ##
+## but WITHOUT ANY WARRANTY; without even the implied warranty of ##
+## MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the ##
+## GNU General Public License for more details. ##
+## ##
+## You should have received a copy of the GNU General Public License ##
+## along with this program. If not, see <http://www.gnu.org/licenses/>. ##
+## ##
+###############################################################################
+
+CUSTOM_CRTSTUFF := yes
+
+libgcc-crt-objects = midipix_unwind$(objext) \
+ crtbegin$(objext) crtbeginS$(objext) crtbeginT$(objext) \
+ crtend$(objext) crtendS$(objext)
+
+crtbegin$(objext): $(gcc_srcdir)/config/i386/midipix_crtbegin.c
+ $(GCC_FOR_TARGET) -DLIBGCC_CRTBEGIN -c $(gcc_srcdir)/config/i386/midipix_crtbegin.c -o $@
+
+crtbeginS$(objext): $(gcc_srcdir)/config/i386/midipix_crtbegin.c
+ $(GCC_FOR_TARGET) -DLIBGCC_CRTBEGIN_S -c $(gcc_srcdir)/config/i386/midipix_crtbegin.c -o $@
+
+crtbeginT$(objext): $(gcc_srcdir)/config/i386/midipix_crtbegin.c
+ $(GCC_FOR_TARGET) -DLIBGCC_CRTBEGIN_T -c $(gcc_srcdir)/config/i386/midipix_crtbegin.c -o $@
+
+crtend$(objext): $(gcc_srcdir)/config/i386/midipix_crtend.c
+ $(GCC_FOR_TARGET) -DLIBGCC_CRTEND -c $(gcc_srcdir)/config/i386/midipix_crtend.c -o $@
+
+crtendS$(objext): $(gcc_srcdir)/config/i386/midipix_crtend.c
+ $(GCC_FOR_TARGET) -DLIBGCC_CRTEND_S -c $(gcc_srcdir)/config/i386/midipix_crtend.c -o $@
+
+midipix_unwind$(objext): $(gcc_srcdir)/config/i386/midipix_unwind.c
+ $(GCC_FOR_TARGET) -c $(gcc_srcdir)/config/i386/midipix_unwind.c -o $@