mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-31 06:28:22 +00:00
userland: bump mlibc, gcc, binutils, etc
This commit is contained in:
@@ -12,7 +12,7 @@ index 38f3d03..ee981b0 100755
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
diff --git gcc-clean/fixincludes/mkfixinc.sh gcc-workdir/fixincludes/mkfixinc.sh
|
||||
index df90720..aebfb82 100755
|
||||
index 7112f4d..0acd4a7 100755
|
||||
--- gcc-clean/fixincludes/mkfixinc.sh
|
||||
+++ gcc-workdir/fixincludes/mkfixinc.sh
|
||||
@@ -11,6 +11,8 @@ target=fixinc.sh
|
||||
@@ -22,11 +22,11 @@ index df90720..aebfb82 100755
|
||||
+ *-astral* | \
|
||||
+ *-*-astral* | \
|
||||
i?86-*-cygwin* | \
|
||||
i?86-*-mingw32* | \
|
||||
x86_64-*-mingw32* | \
|
||||
*-mingw32* | \
|
||||
powerpc-*-eabisim* | \
|
||||
diff --git gcc-workdir/gcc/config/astral.h gcc-workdir/gcc/config/astral.h
|
||||
new file mode 100644
|
||||
index 0000000..fe6e2e1
|
||||
index 0000000..1768e2c
|
||||
--- /dev/null
|
||||
+++ gcc-workdir/gcc/config/astral.h
|
||||
@@ -0,0 +1,24 @@
|
||||
@@ -55,12 +55,12 @@ index 0000000..fe6e2e1
|
||||
+ builtin_assert ("system=posix"); \
|
||||
+ } while(0);
|
||||
diff --git gcc-clean/gcc/config.gcc gcc-workdir/gcc/config.gcc
|
||||
index c5064dd..e151646 100644
|
||||
index 087aaa7..f6f72a0 100644
|
||||
--- gcc-clean/gcc/config.gcc
|
||||
+++ gcc-workdir/gcc/config.gcc
|
||||
@@ -773,6 +773,14 @@ case ${target} in
|
||||
tmake_file="${tmake_file} t-dragonfly"
|
||||
target_has_targetdm=yes
|
||||
@@ -826,6 +826,14 @@ case ${target} in
|
||||
rust_target_objs="${rust_target_objs} dragonfly-rust.o"
|
||||
target_has_targetrustm=yes
|
||||
;;
|
||||
+*-*-astral*)
|
||||
+ extra_options="$extra_options gnu-user.opt"
|
||||
@@ -73,21 +73,21 @@ index c5064dd..e151646 100644
|
||||
*-*-freebsd*)
|
||||
# This is the generic ELF configuration of FreeBSD. Later
|
||||
# machine-specific sections may refine and add to this
|
||||
@@ -1087,6 +1095,9 @@ case ${target} in
|
||||
@@ -1186,6 +1194,9 @@ case ${target} in
|
||||
esac
|
||||
|
||||
case ${target} in
|
||||
+x86_64-*-astral*)
|
||||
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h glibc-stdint.h i386/i386elf.h i386/x86-64.h astral.h gnu-user.h"
|
||||
+ tm_file="${tm_file} i386/unix.h i386/att.h elfos.h glibc-stdint.h i386/i386elf.h i386/x86-64.h astral.h gnu-user.h"
|
||||
+ ;;
|
||||
aarch64*-*-elf | aarch64*-*-fuchsia* | aarch64*-*-rtems*)
|
||||
tm_file="${tm_file} dbxelf.h elfos.h newlib-stdint.h"
|
||||
tm_file="${tm_file} elfos.h newlib-stdint.h"
|
||||
tm_file="${tm_file} aarch64/aarch64-elf.h aarch64/aarch64-errata.h aarch64/aarch64-elf-raw.h"
|
||||
diff --git gcc-clean/libgcc/config.host gcc-workdir/libgcc/config.host
|
||||
index 8c56fca..aecb1da 100644
|
||||
index 6a88ee5..c54151b 100644
|
||||
--- gcc-clean/libgcc/config.host
|
||||
+++ gcc-workdir/libgcc/config.host
|
||||
@@ -751,6 +751,10 @@ i[34567]86-*-openbsd*)
|
||||
@@ -793,6 +793,10 @@ i[34567]86-*-openbsd*)
|
||||
;;
|
||||
x86_64-*-openbsd*)
|
||||
;;
|
||||
@@ -99,7 +99,7 @@ index 8c56fca..aecb1da 100644
|
||||
extra_parts="$extra_parts crtprec32.o crtprec64.o crtprec80.o crtfastmath.o"
|
||||
tmake_file="${tmake_file} i386/t-crtpc t-crtfm i386/t-crtstuff t-dfprules"
|
||||
diff --git gcc-clean/libgcc/libgcov.h gcc-workdir/libgcc/libgcov.h
|
||||
index 40e845c..cbe95b8 100644
|
||||
index 3d7d52a..cd9d819 100644
|
||||
--- gcc-clean/libgcc/libgcov.h
|
||||
+++ gcc-workdir/libgcc/libgcov.h
|
||||
@@ -25,6 +25,8 @@
|
||||
@@ -112,10 +112,10 @@ index 40e845c..cbe95b8 100644
|
||||
#ifndef xmalloc
|
||||
#define xmalloc malloc
|
||||
diff --git gcc-clean/libstdc++-v3/configure.ac gcc-workdir/libstdc++-v3/configure.ac
|
||||
index e59bcdb..c2ac19b 100644
|
||||
index a6c01b2..9e2faad 100644
|
||||
--- gcc-clean/libstdc++-v3/configure.ac
|
||||
+++ gcc-workdir/libstdc++-v3/configure.ac
|
||||
@@ -118,7 +118,7 @@ fi
|
||||
@@ -134,7 +134,7 @@ fi
|
||||
# Use glibcxx_compiler_pic_flag to designate a compile-time flags for
|
||||
# creating position-independent objects. This varies with the target
|
||||
# hardware and operating system, but is often: -DPIC -fPIC.
|
||||
@@ -125,7 +125,7 @@ index e59bcdb..c2ac19b 100644
|
||||
glibcxx_compiler_pic_flag="$lt_prog_compiler_pic_CXX"
|
||||
glibcxx_compiler_shared_flag="-D_GLIBCXX_SHARED"
|
||||
diff --git gcc-clean/libstdc++-v3/crossconfig.m4 gcc-workdir/libstdc++-v3/crossconfig.m4
|
||||
index ae5283b..15d769e 100644
|
||||
index b3269cb..a5d4014 100644
|
||||
--- gcc-clean/libstdc++-v3/crossconfig.m4
|
||||
+++ gcc-workdir/libstdc++-v3/crossconfig.m4
|
||||
@@ -8,7 +8,12 @@ case "${host}" in
|
||||
|
||||
Reference in New Issue
Block a user