summaryrefslogtreecommitdiff
path: root/libgcc/config
diff options
context:
space:
mode:
Diffstat (limited to 'libgcc/config')
-rw-r--r--libgcc/config/i386/t-midipix23
1 files changed, 4 insertions, 19 deletions
diff --git a/libgcc/config/i386/t-midipix b/libgcc/config/i386/t-midipix
index c04a8e633..5792377f5 100644
--- a/libgcc/config/i386/t-midipix
+++ b/libgcc/config/i386/t-midipix
@@ -2,7 +2,7 @@
## ##
## midipix target-specific build recipes for libgcc ##
## ##
-## Copyright (C) 2014,2015 Z. Gilboa ##
+## Copyright (C) 2014,2015,2019 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 ##
@@ -19,23 +19,8 @@
## ##
###############################################################################
-CUSTOM_CRTSTUFF := yes
-
-libgcc-crt-objects = \
- 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 $@
+# crtbegin & crtend objects provided by the system library (libc) via mmglue.
-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 $@
+CUSTOM_CRTSTUFF := yes
-crtendS$(objext): $(gcc_srcdir)/config/i386/midipix_crtend.c
- $(GCC_FOR_TARGET) -DLIBGCC_CRTEND_S -c $(gcc_srcdir)/config/i386/midipix_crtend.c -o $@
+libgcc-crt-objects =