mirror of
https://github.com/xomboverlord/buildtools.git
synced 2026-04-18 09:59:01 +02:00
Adding patches
This commit is contained in:
86
binutils-xomb.patch
Normal file
86
binutils-xomb.patch
Normal file
@@ -0,0 +1,86 @@
|
||||
? xomb.patch
|
||||
? ld/emulparams/xomb_x86_64.sh
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/config.sub,v
|
||||
retrieving revision 1.72
|
||||
diff -u -r1.72 config.sub
|
||||
--- config.sub 18 Dec 2008 03:26:46 -0000 1.72
|
||||
+++ config.sub 18 Jan 2009 01:04:52 -0000
|
||||
@@ -1257,7 +1257,7 @@
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
- | -aos* \
|
||||
+ | -aos* | -xomb* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
Index: bfd/config.bfd
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/bfd/config.bfd,v
|
||||
retrieving revision 1.243
|
||||
diff -u -r1.243 config.bfd
|
||||
--- bfd/config.bfd 6 Jan 2009 14:40:32 -0000 1.243
|
||||
+++ bfd/config.bfd 18 Jan 2009 01:04:53 -0000
|
||||
@@ -601,6 +601,11 @@
|
||||
targ_selvecs="bfd_elf32_i386_vec"
|
||||
want64=true
|
||||
;;
|
||||
+ x86_64-*-xomb*)
|
||||
+ targ_defvec=bfd_elf64_x86_64_vec
|
||||
+ targ_selvecs=bfd_elf32_i386_vec
|
||||
+ want64=true
|
||||
+ ;;
|
||||
x86_64-*-elf*)
|
||||
targ_defvec=bfd_elf64_x86_64_vec
|
||||
targ_selvecs="bfd_elf32_i386_vec i386coff_vec"
|
||||
Index: gas/configure.tgt
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/gas/configure.tgt,v
|
||||
retrieving revision 1.44
|
||||
diff -u -r1.44 configure.tgt
|
||||
--- gas/configure.tgt 23 Dec 2008 19:10:20 -0000 1.44
|
||||
+++ gas/configure.tgt 18 Jan 2009 01:04:53 -0000
|
||||
@@ -231,6 +231,8 @@
|
||||
i386-*-chaos) fmt=elf ;;
|
||||
i386-*-rdos*) fmt=elf ;;
|
||||
|
||||
+ i386-*-xomb*) fmt=elf ;;
|
||||
+
|
||||
i860-*-*) fmt=elf endian=little ;;
|
||||
|
||||
i960-*-elf*) fmt=elf ;;
|
||||
Index: ld/Makefile.in
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/Makefile.in,v
|
||||
retrieving revision 1.279
|
||||
diff -u -r1.279 Makefile.in
|
||||
--- ld/Makefile.in 23 Dec 2008 19:10:22 -0000 1.279
|
||||
+++ ld/Makefile.in 18 Jan 2009 01:04:57 -0000
|
||||
@@ -1859,6 +1859,9 @@
|
||||
eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
|
||||
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
|
||||
+exomb_x86_64.c: $(srcdir)/emulparams/xomb_x86_64.sh \
|
||||
+ $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
+ ${GENSCRIPTS} xomb_x86_64 "$(tdir_xomb_x86_64)"
|
||||
eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
|
||||
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
||||
${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
|
||||
Index: ld/configure.tgt
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/ld/configure.tgt,v
|
||||
retrieving revision 1.222
|
||||
diff -u -r1.222 configure.tgt
|
||||
--- ld/configure.tgt 23 Dec 2008 19:10:22 -0000 1.222
|
||||
+++ ld/configure.tgt 18 Jan 2009 01:04:57 -0000
|
||||
@@ -196,6 +196,8 @@
|
||||
targ64_extra_emuls=elf_x86_64
|
||||
targ64_extra_libpath=elf_x86_64
|
||||
tdir_i386linux=${targ_alias}aout ;;
|
||||
+x86_64-*-xomb*) targ_emul=xomb_x86_64 ;;
|
||||
+
|
||||
x86_64-*-linux-*) targ_emul=elf_x86_64
|
||||
targ_extra_emuls="elf_i386 i386linux"
|
||||
targ_extra_libpath=elf_i386
|
||||
82
gcc-xomb.patch
Normal file
82
gcc-xomb.patch
Normal file
@@ -0,0 +1,82 @@
|
||||
Index: libgcc/config.host
|
||||
===================================================================
|
||||
--- libgcc/config.host (revision 151661)
|
||||
+++ libgcc/config.host (working copy)
|
||||
@@ -549,6 +549,8 @@
|
||||
;;
|
||||
vax-*-openbsd*)
|
||||
;;
|
||||
+x86_64-*-xomb*)
|
||||
+ ;;
|
||||
xstormy16-*-elf)
|
||||
;;
|
||||
xtensa*-*-elf*)
|
||||
Index: gcc/config.gcc
|
||||
===================================================================
|
||||
--- gcc/config.gcc (revision 151661)
|
||||
+++ gcc/config.gcc (working copy)
|
||||
@@ -594,6 +594,13 @@
|
||||
*) echo 'Unknown thread configuration for VxWorks'; exit 1 ;;
|
||||
esac
|
||||
;;
|
||||
+*-*-xomb*)
|
||||
+ extra_parts="crtbegin.o crtend.o"
|
||||
+ gas=yes
|
||||
+ gnu_ld=yes
|
||||
+ # Assume that newlib is being used and so __cxa_atexit is provided.
|
||||
+ default_use_cxa_atexit=yes
|
||||
+ ;;
|
||||
*-*-elf)
|
||||
# Assume that newlib is being used and so __cxa_atexit is provided.
|
||||
default_use_cxa_atexit=yes
|
||||
@@ -1071,6 +1078,11 @@
|
||||
;;
|
||||
esac
|
||||
;;
|
||||
+x86_64-*-xomb*)
|
||||
+ tm_file="${tm_file} i386/unix.h i386/att.h dbxelf.h elfos.h i386/i386elf.h i386/x86-64.h xomb.h"
|
||||
+ tmake_file="${tmake_file} i386/t-i386elf t-svr4"
|
||||
+ use_fixproto=yes
|
||||
+ ;;
|
||||
i[34567]86-*-darwin*)
|
||||
need_64bit_hwint=yes
|
||||
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
--- config.sub (revision 151661)
|
||||
+++ config.sub (working copy)
|
||||
@@ -4,7 +4,7 @@
|
||||
# 2000, 2001, 2002, 2003, 2004, 2005, 2006, 2007, 2008, 2009
|
||||
# Free Software Foundation, Inc.
|
||||
|
||||
-timestamp='2009-08-17'
|
||||
+timestamp='2009-09-12'
|
||||
|
||||
# This file is (in principle) common to ALL GNU software.
|
||||
# The presence of a machine in this file suggests that SOME GNU software
|
||||
@@ -1274,7 +1274,7 @@
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||
| -kopensolaris* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
- | -aos* | -aros* \
|
||||
+ | -aos* | -aros* | -xomb* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
Index: libstdc++-v3/crossconfig.m4
|
||||
===================================================================
|
||||
--- libstdc++-v3/crossconfig.m4 (revision 151661)
|
||||
+++ libstdc++-v3/crossconfig.m4 (working copy)
|
||||
@@ -243,6 +243,12 @@
|
||||
AC_DEFINE(HAVE_ISNANL)
|
||||
fi
|
||||
;;
|
||||
+ *-xomb*)
|
||||
+ AC_CHECK_HEADERS([sys/types.h locale.h float.h])
|
||||
+ GLIBCXX_CHECK_BUILTIN_MATH_SUPPORT
|
||||
+ GLIBCXX_CHECK_COMPLEX_MATH_SUPPORT
|
||||
+ GLIBCXX_CHECK_STDLIB_SUPPORT
|
||||
+ ;;
|
||||
*-vxworks)
|
||||
AC_DEFINE(HAVE_ACOSF)
|
||||
AC_DEFINE(HAVE_ASINF)
|
||||
48
newlib-xomb.patch
Normal file
48
newlib-xomb.patch
Normal file
@@ -0,0 +1,48 @@
|
||||
Index: config.sub
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/config.sub,v
|
||||
retrieving revision 1.72
|
||||
diff -u -r1.72 config.sub
|
||||
--- config.sub 18 Dec 2008 03:26:46 -0000 1.72
|
||||
+++ config.sub 17 Jan 2009 22:28:40 -0000
|
||||
@@ -1257,7 +1257,7 @@
|
||||
| -*vms* | -sco* | -esix* | -isc* | -aix* | -sunos | -sunos[34]*\
|
||||
| -hpux* | -unos* | -osf* | -luna* | -dgux* | -solaris* | -sym* \
|
||||
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
||||
- | -aos* \
|
||||
+ | -aos* | -xomb* \
|
||||
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
||||
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
||||
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
||||
Index: newlib/configure.host
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/newlib/configure.host,v
|
||||
retrieving revision 1.104
|
||||
diff -u -r1.104 configure.host
|
||||
--- newlib/configure.host 17 Dec 2008 23:09:09 -0000 1.104
|
||||
+++ newlib/configure.host 17 Jan 2009 22:28:40 -0000
|
||||
@@ -500,6 +500,9 @@
|
||||
w65-*-*)
|
||||
sys_dir=w65
|
||||
;;
|
||||
+ x86_64-*-xomb*)
|
||||
+ sys_dir=xomb
|
||||
+ ;;
|
||||
xscale-*-*)
|
||||
sys_dir=arm
|
||||
if [ "x${newlib_may_supply_syscalls}" = "xno" ] ; then
|
||||
Index: newlib/libc/sys/configure.in
|
||||
===================================================================
|
||||
RCS file: /cvs/src/src/newlib/libc/sys/configure.in,v
|
||||
retrieving revision 1.8
|
||||
diff -u -r1.8 configure.in
|
||||
--- newlib/libc/sys/configure.in 24 May 2007 17:33:37 -0000 1.8
|
||||
+++ newlib/libc/sys/configure.in 17 Jan 2009 22:28:44 -0000
|
||||
@@ -44,6 +44,7 @@
|
||||
sysvnecv70) AC_CONFIG_SUBDIRS(sysvnecv70) ;;
|
||||
tic80) AC_CONFIG_SUBDIRS(tic80) ;;
|
||||
w65) AC_CONFIG_SUBDIRS(w65) ;;
|
||||
+ xomb) AC_CONFIG_SUBDIRS(xomb) ;;
|
||||
z8ksim) AC_CONFIG_SUBDIRS(z8ksim) ;;
|
||||
esac;
|
||||
fi
|
||||
Reference in New Issue
Block a user