1
1
diff --git gcc-host-clean/fixincludes/mkfixinc.sh gcc-host-workdir/fixincludes/mkfixinc.sh
2
- index df90720..da6408a 100755
2
+ index df90720..484f8bc 100755
3
3
--- gcc-host-clean/fixincludes/mkfixinc.sh
4
4
+++ gcc-host-workdir/fixincludes/mkfixinc.sh
5
5
@@ -12,6 +12,7 @@ target=fixinc.sh
6
6
# Check for special fix rules for particular targets
7
7
case $machine in
8
8
i?86-*-cygwin* | \
9
- + x86_64 -*-vinix* | \
9
+ + * -*-*-mlibc | \
10
10
i?86-*-mingw32* | \
11
11
x86_64-*-mingw32* | \
12
12
powerpc-*-eabisim* | \
13
13
diff --git gcc-host-workdir/gcc/config/vinix.h gcc-host-workdir/gcc/config/vinix.h
14
14
new file mode 100644
15
- index 0000000..be79aae
15
+ index 0000000..ca776e9
16
16
--- /dev/null
17
17
+++ gcc-host-workdir/gcc/config/vinix.h
18
18
@@ -0,0 +1,29 @@
@@ -46,14 +46,14 @@ index 0000000..be79aae
46
46
+ builtin_assert ("system=posix"); \
47
47
+ } while (0);
48
48
diff --git gcc-host-clean/gcc/config.gcc gcc-host-workdir/gcc/config.gcc
49
- index 648b3dc..f2b0217 100644
49
+ index 648b3dc..a709885 100644
50
50
--- gcc-host-clean/gcc/config.gcc
51
51
+++ gcc-host-workdir/gcc/config.gcc
52
52
@@ -840,6 +840,15 @@ case ${target} in
53
53
tmake_file="${tmake_file} t-freebsd"
54
54
target_has_targetdm=yes
55
55
;;
56
- + *-*-vinix* )
56
+ + *-*-*-mlibc )
57
57
+ extra_options="$extra_options gnu-user.opt"
58
58
+ gas=yes
59
59
+ gnu_ld=yes
@@ -76,15 +76,15 @@ index 648b3dc..f2b0217 100644
76
76
tmake_file="${tmake_file} i386/t-x86_64-elf"
77
77
tm_file="${tm_file} i386/unix.h i386/att.h elfos.h newlib-stdint.h i386/i386elf.h i386/x86-64.h fuchsia.h"
78
78
diff --git gcc-host-clean/libgcc/config.host gcc-host-workdir/libgcc/config.host
79
- index 9d72120..b4e90ab 100644
79
+ index 9d72120..b2162ac 100644
80
80
--- gcc-host-clean/libgcc/config.host
81
81
+++ gcc-host-workdir/libgcc/config.host
82
82
@@ -281,6 +281,11 @@ case ${host} in
83
83
tmake_file="$tmake_file t-crtstuff-pic t-libgcc-pic t-eh-dw2-dip t-slibgcc t-slibgcc-fuchsia"
84
84
extra_parts="crtbegin.o crtend.o"
85
85
;;
86
- + *-*-vinix* )
87
- + extra_parts="$extra_parts crti.o crtbegin.o crtbeginS.o crtend.o crtendS.o crtn .o"
86
+ + *-*-*-mlibc )
87
+ + extra_parts="$extra_parts crtbegin.o crtbeginS.o crtend.o crtendS.o"
88
88
+ tmake_file="$tmake_file t-crtstuff-pic"
89
89
+ tmake_file="$tmake_file t-slibgcc t-slibgcc-gld t-slibgcc-elf-ver t-libgcc-pic"
90
90
+ ;;
@@ -95,7 +95,7 @@ index 9d72120..b4e90ab 100644
95
95
x86_64-*-fuchsia*)
96
96
tmake_file="$tmake_file t-libgcc-pic"
97
97
;;
98
- + x86_64-*-vinix* )
98
+ + x86_64-*-*-mlibc )
99
99
+ extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
100
100
+ tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
101
101
+ ;;
@@ -129,14 +129,14 @@ index 28d996f..61ff752 100644
129
129
dnl Very limited version of automake's enable-maintainer-mode
130
130
131
131
diff --git gcc-host-clean/libstdc++-v3/crossconfig.m4 gcc-host-workdir/libstdc++-v3/crossconfig.m4
132
- index b3269cb..a1d4a28 100644
132
+ index b3269cb..f2d4d13 100644
133
133
--- gcc-host-clean/libstdc++-v3/crossconfig.m4
134
134
+++ gcc-host-workdir/libstdc++-v3/crossconfig.m4
135
135
@@ -136,6 +136,18 @@ case "${host}" in
136
136
AC_CHECK_FUNCS(uselocale)
137
137
;;
138
138
139
- + *-vinix *)
139
+ + *-mlibc *)
140
140
+ GLIBCXX_CHECK_COMPILER_FEATURES
141
141
+ GLIBCXX_CHECK_LINKER_FEATURES
142
142
+ GLIBCXX_CHECK_MATH_SUPPORT
0 commit comments