mirror of
https://github.com/Mathewnd/Astral.git
synced 2026-10-29 13:48:21 +00:00
userland: bump mlibc, gcc, binutils, etc
This commit is contained in:
@@ -1,34 +1,36 @@
|
||||
diff -ruN binutils-2.39/bfd/config.bfd binutils-2.39-patched/bfd/config.bfd
|
||||
--- binutils-2.39/bfd/config.bfd 2022-07-08 06:46:47.000000000 -0300
|
||||
+++ binutils-2.39-patched/bfd/config.bfd 2022-08-07 18:29:37.305269269 -0300
|
||||
@@ -695,6 +695,11 @@
|
||||
diff --git binutils-clean/bfd/config.bfd binutils-workdir/bfd/config.bfd
|
||||
index 4e5a838..d59805f 100644
|
||||
--- binutils-clean/bfd/config.bfd
|
||||
+++ binutils-workdir/bfd/config.bfd
|
||||
@@ -705,6 +705,11 @@ case "${targ}" in
|
||||
targ_selvecs="i386_elf32_vec"
|
||||
want64=true
|
||||
;;
|
||||
+ x86_64-*-astral*)
|
||||
+ targ_defvec=x86_64_elf64_vec
|
||||
+ targ_selvecs=i386_elf32_vec
|
||||
+ targ_selvecs="i386_elf32_vec"
|
||||
+ want64=true
|
||||
+ ;;
|
||||
x86_64-*-netbsd* | x86_64-*-openbsd*)
|
||||
targ_defvec=x86_64_elf64_vec
|
||||
targ_selvecs="i386_elf32_vec iamcu_elf32_vec i386_coff_vec i386_pei_vec x86_64_pe_vec x86_64_pei_vec"
|
||||
diff -ruN binutils-2.39/config.sub binutils-2.39-patched/config.sub
|
||||
--- binutils-2.39/config.sub 2022-07-08 06:46:47.000000000 -0300
|
||||
+++ binutils-2.39-patched/config.sub 2022-08-07 18:26:48.218610095 -0300
|
||||
@@ -1754,7 +1754,7 @@
|
||||
| onefs* | tirtos* | phoenix* | fuchsia* | redox* | bme* \
|
||||
| midnightbsd* | amdhsa* | unleashed* | emscripten* | wasi* \
|
||||
| nsk* | powerunix* | genode* | zvmoe* | qnx* | emx* | zephyr* \
|
||||
- | fiwix* )
|
||||
+ | fiwix* | astral* )
|
||||
;;
|
||||
# This one is extra strict with allowed versions
|
||||
sco3.2v2 | sco3.2v[4-9]* | sco5v6*)
|
||||
diff -ruN binutils-2.39/gas/configure.tgt binutils-2.39-patched/gas/configure.tgt
|
||||
--- binutils-2.39/gas/configure.tgt 2022-07-08 06:46:47.000000000 -0300
|
||||
+++ binutils-2.39-patched/gas/configure.tgt 2022-08-07 18:31:46.391930215 -0300
|
||||
@@ -221,6 +221,7 @@
|
||||
diff --git binutils-clean/config.sub binutils-workdir/config.sub
|
||||
index 4aaae46..7ddc8a7 100755
|
||||
--- binutils-clean/config.sub
|
||||
+++ binutils-workdir/config.sub
|
||||
@@ -2108,6 +2108,7 @@ case $os in
|
||||
| skyos* \
|
||||
| solaris* \
|
||||
| solidbsd* \
|
||||
+ | astral* \
|
||||
| sortix* \
|
||||
| storm-chaos* \
|
||||
| sunos \
|
||||
diff --git binutils-clean/gas/configure.tgt binutils-workdir/gas/configure.tgt
|
||||
index 7c81bff..81855f0 100644
|
||||
--- binutils-clean/gas/configure.tgt
|
||||
+++ binutils-workdir/gas/configure.tgt
|
||||
@@ -225,6 +225,7 @@ case ${generic_target} in
|
||||
h8300-*-elf) fmt=elf ;;
|
||||
h8300-*-linux*) fmt=elf em=linux ;;
|
||||
|
||||
@@ -36,40 +38,11 @@ diff -ruN binutils-2.39/gas/configure.tgt binutils-2.39-patched/gas/configure.tg
|
||||
i386-*-beospe*) fmt=coff em=pe ;;
|
||||
i386-*-beos*) fmt=elf ;;
|
||||
i386-*-elfiamcu) fmt=elf arch=iamcu ;;
|
||||
diff -ruN binutils-2.39/ld/configure.tgt binutils-2.39-patched/ld/configure.tgt
|
||||
--- binutils-2.39/ld/configure.tgt 2022-07-29 04:37:48.000000000 -0300
|
||||
+++ binutils-2.39-patched/ld/configure.tgt 2022-08-07 18:34:19.615256758 -0300
|
||||
@@ -986,6 +986,10 @@
|
||||
;;
|
||||
visium-*-elf) targ_emul=elf32visium
|
||||
;;
|
||||
+x86_64-*-astral*)
|
||||
+ targ_emul=elf_x86_64_astral
|
||||
+ targ_extra_emuls="elf_i386_astral elf_x86_64 elf_i386"
|
||||
+ ;;
|
||||
x86_64-*-rdos*) targ_emul=elf64rdos
|
||||
;;
|
||||
x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi
|
||||
diff -ruN binutils-2.39/ld/emulparams/elf_i386_astral.sh binutils-2.39-patched/ld/emulparams/elf_i386_astral.sh
|
||||
--- binutils-2.39/ld/emulparams/elf_i386_astral.sh 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ binutils-2.39-patched/ld/emulparams/elf_i386_astral.sh 2022-08-07 19:16:14.135145355 -0300
|
||||
@@ -0,0 +1,4 @@
|
||||
+source_sh ${srcdir}/emulparams/elf_i386.sh
|
||||
+TEXT_START_ADDR=0x10000000
|
||||
+GENERATE_SHLIB_SCRIPT=yes
|
||||
+GENERATE_PIE_SCRIPT=yes
|
||||
diff -ruN binutils-2.39/ld/emulparams/elf_x86_64_astral.sh binutils-2.39-patched/ld/emulparams/elf_x86_64_astral.sh
|
||||
--- binutils-2.39/ld/emulparams/elf_x86_64_astral.sh 1969-12-31 21:00:00.000000000 -0300
|
||||
+++ binutils-2.39-patched/ld/emulparams/elf_x86_64_astral.sh 2022-08-07 18:36:20.838584720 -0300
|
||||
@@ -0,0 +1,4 @@
|
||||
+source_sh ${srcdir}/emulparams/elf_x86_64.sh
|
||||
+TEXT_START_ADDR=0x10000000
|
||||
+GENERATE_SHLIB_SCRIPT=yes
|
||||
+GENERATE_PIE_SCRIPT=yes
|
||||
diff -ruN binutils-2.39/ld/Makefile.am binutils-2.39-patched/ld/Makefile.am
|
||||
--- binutils-2.39/ld/Makefile.am 2022-07-08 06:46:48.000000000 -0300
|
||||
+++ binutils-2.39-patched/ld/Makefile.am 2022-08-07 19:17:46.965141264 -0300
|
||||
@@ -275,6 +275,7 @@
|
||||
diff --git binutils-clean/ld/Makefile.am binutils-workdir/ld/Makefile.am
|
||||
index ccff928..148be5b 100644
|
||||
--- binutils-clean/ld/Makefile.am
|
||||
+++ binutils-workdir/ld/Makefile.am
|
||||
@@ -277,6 +277,7 @@ ALL_EMULATION_SOURCES = \
|
||||
eelf32xtensa.c \
|
||||
eelf32z80.c \
|
||||
eelf_i386.c \
|
||||
@@ -77,7 +50,7 @@ diff -ruN binutils-2.39/ld/Makefile.am binutils-2.39-patched/ld/Makefile.am
|
||||
eelf_i386_be.c \
|
||||
eelf_i386_fbsd.c \
|
||||
eelf_i386_haiku.c \
|
||||
@@ -453,6 +454,7 @@
|
||||
@@ -459,6 +460,7 @@ ALL_64_EMULATION_SOURCES = \
|
||||
eelf64tilegx_be.c \
|
||||
eelf_mipsel_haiku.c \
|
||||
eelf_x86_64.c \
|
||||
@@ -85,26 +58,11 @@ diff -ruN binutils-2.39/ld/Makefile.am binutils-2.39-patched/ld/Makefile.am
|
||||
eelf_x86_64_cloudabi.c \
|
||||
eelf_x86_64_fbsd.c \
|
||||
eelf_x86_64_haiku.c \
|
||||
@@ -766,6 +768,7 @@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xtensa.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32z80.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Pc@am__quote@
|
||||
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_astral.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_haiku.Pc@am__quote@
|
||||
@@ -941,6 +944,7 @@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_mipsel_haiku.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@
|
||||
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_astral.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_haiku.Pc@am__quote@
|
||||
diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
--- binutils-2.39/ld/Makefile.in 2022-08-05 06:56:53.000000000 -0300
|
||||
+++ binutils-2.39-patched/ld/Makefile.in 2022-08-07 19:17:51.741807718 -0300
|
||||
@@ -529,6 +529,7 @@
|
||||
diff --git binutils-clean/ld/Makefile.in binutils-workdir/ld/Makefile.in
|
||||
index 3e24bd4..869875f 100644
|
||||
--- binutils-clean/ld/Makefile.in
|
||||
+++ binutils-workdir/ld/Makefile.in
|
||||
@@ -543,6 +543,7 @@ pdfdir = @pdfdir@
|
||||
prefix = @prefix@
|
||||
program_transform_name = @program_transform_name@
|
||||
psdir = @psdir@
|
||||
@@ -112,7 +70,7 @@ diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
sbindir = @sbindir@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
||||
@@ -772,6 +773,7 @@
|
||||
@@ -788,6 +789,7 @@ ALL_EMULATION_SOURCES = \
|
||||
eelf32xtensa.c \
|
||||
eelf32z80.c \
|
||||
eelf_i386.c \
|
||||
@@ -120,7 +78,7 @@ diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
eelf_i386_be.c \
|
||||
eelf_i386_fbsd.c \
|
||||
eelf_i386_haiku.c \
|
||||
@@ -949,6 +951,7 @@
|
||||
@@ -969,6 +971,7 @@ ALL_64_EMULATION_SOURCES = \
|
||||
eelf64tilegx_be.c \
|
||||
eelf_mipsel_haiku.c \
|
||||
eelf_x86_64.c \
|
||||
@@ -128,7 +86,7 @@ diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
eelf_x86_64_cloudabi.c \
|
||||
eelf_x86_64_fbsd.c \
|
||||
eelf_x86_64_haiku.c \
|
||||
@@ -1441,6 +1444,7 @@
|
||||
@@ -1476,6 +1479,7 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Po@am__quote@
|
||||
@@ -136,7 +94,7 @@ diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_haiku.Po@am__quote@
|
||||
@@ -1451,6 +1455,7 @@
|
||||
@@ -1486,6 +1490,7 @@ distclean-compile:
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_mipsel_haiku.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_s390.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Po@am__quote@
|
||||
@@ -144,19 +102,37 @@ diff -ruN binutils-2.39/ld/Makefile.in binutils-2.39-patched/ld/Makefile.in
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Po@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_haiku.Po@am__quote@
|
||||
@@ -2432,6 +2437,7 @@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32xtensa.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf32z80.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386.Pc@am__quote@
|
||||
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_astral.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_be.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_fbsd.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_i386_haiku.Pc@am__quote@
|
||||
@@ -2607,6 +2613,7 @@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf64tilegx_be.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_mipsel_haiku.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64.Pc@am__quote@
|
||||
+@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_astral.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_cloudabi.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_fbsd.Pc@am__quote@
|
||||
@AMDEP_TRUE@@am__include@ @am__quote@./$(DEPDIR)/eelf_x86_64_haiku.Pc@am__quote@
|
||||
diff --git binutils-clean/ld/configure.tgt binutils-workdir/ld/configure.tgt
|
||||
index ea01ccf..3bcd521 100644
|
||||
--- binutils-clean/ld/configure.tgt
|
||||
+++ binutils-workdir/ld/configure.tgt
|
||||
@@ -998,6 +998,9 @@ vax-*-linux-*) targ_emul=elf32vax
|
||||
;;
|
||||
visium-*-elf) targ_emul=elf32visium
|
||||
;;
|
||||
+x86_64-*-astral*) targ_emul=elf_x86_64_astral
|
||||
+ targ_extra_emuls="elf_i386_astral elf_x86_64 elf_i386"
|
||||
+ ;;
|
||||
x86_64-*-rdos*) targ_emul=elf64rdos
|
||||
;;
|
||||
x86_64-*-cloudabi*) targ_emul=elf_x86_64_cloudabi
|
||||
diff --git binutils-workdir/ld/emulparams/elf_i386_astral.sh binutils-workdir/ld/emulparams/elf_i386_astral.sh
|
||||
new file mode 100644
|
||||
index 0000000..926c55b
|
||||
--- /dev/null
|
||||
+++ binutils-workdir/ld/emulparams/elf_i386_astral.sh
|
||||
@@ -0,0 +1,4 @@
|
||||
+source ${srcdir}/emulparams/elf_i386.sh
|
||||
+TEXT_START_ADDR=0x10000000
|
||||
+GENERATE_SHLIB_SCRIPT=yes
|
||||
+GENERATE_PIE_SCRIPT=yes
|
||||
diff --git binutils-workdir/ld/emulparams/elf_x86_64_astral.sh binutils-workdir/ld/emulparams/elf_x86_64_astral.sh
|
||||
new file mode 100644
|
||||
index 0000000..0d72b44
|
||||
--- /dev/null
|
||||
+++ binutils-workdir/ld/emulparams/elf_x86_64_astral.sh
|
||||
@@ -0,0 +1,4 @@
|
||||
+source ${srcdir}/emulparams/elf_x86_64.sh
|
||||
+TEXT_START_ADDR=0x10000000
|
||||
+GENERATE_SHLIB_SCRIPT=yes
|
||||
+GENERATE_PIE_SCRIPT=yes
|
||||
|
||||
Reference in New Issue
Block a user