mirror of
https://github.com/xomboverlord/buildtools.git
synced 2026-01-11 02:06:37 +01:00
62 lines
3.0 KiB
Diff
62 lines
3.0 KiB
Diff
diff -rupN ../binutils-2.23.1/bfd/config.bfd ./bfd/config.bfd
|
|
--- ../binutils-2.23.1/bfd/config.bfd 2012-09-04 10:14:59.000000000 -0400
|
|
+++ ./bfd/config.bfd 2013-01-26 23:22:51.744303432 -0500
|
|
@@ -623,6 +623,11 @@ case "${targ}" in
|
|
targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec bfd_elf64_k1om_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 bfd_elf64_l1om_vec bfd_elf64_k1om_vec i386coff_vec"
|
|
diff -rupN ../binutils-2.23.1/config.sub ./config.sub
|
|
--- ../binutils-2.23.1/config.sub 2012-04-25 11:53:25.000000000 -0400
|
|
+++ ./config.sub 2013-01-26 23:22:51.740970099 -0500
|
|
@@ -1349,6 +1349,7 @@ case $os in
|
|
| -sym* | -kopensolaris* \
|
|
| -amigaos* | -amigados* | -msdos* | -newsos* | -unicos* | -aof* \
|
|
| -aos* | -aros* \
|
|
+ | -xomb* \
|
|
| -nindy* | -vxsim* | -vxworks* | -ebmon* | -hms* | -mvs* \
|
|
| -clix* | -riscos* | -uniplus* | -iris* | -rtu* | -xenix* \
|
|
| -hiux* | -386bsd* | -knetbsd* | -mirbsd* | -netbsd* \
|
|
diff -rupN ../binutils-2.23.1/gas/configure.tgt ./gas/configure.tgt
|
|
--- ../binutils-2.23.1/gas/configure.tgt 2012-09-04 08:53:45.000000000 -0400
|
|
+++ ./gas/configure.tgt 2013-01-26 23:22:51.744303432 -0500
|
|
@@ -248,6 +248,7 @@ case ${generic_target} in
|
|
i386-*-chaos) fmt=elf ;;
|
|
i386-*-rdos*) fmt=elf ;;
|
|
i386-*-darwin*) fmt=macho ;;
|
|
+ i386-*-xomb*) fmt=elf ;;
|
|
|
|
i860-*-*) fmt=elf endian=little ;;
|
|
|
|
diff -rupN ../binutils-2.23.1/ld/configure.tgt ./ld/configure.tgt
|
|
--- ../binutils-2.23.1/ld/configure.tgt 2012-09-04 08:53:47.000000000 -0400
|
|
+++ ./ld/configure.tgt 2013-01-26 23:33:56.577629812 -0500
|
|
@@ -217,6 +217,7 @@ x86_64-*-linux-gnux32) targ_emul=elf32_x
|
|
targ_extra_libpath="elf_i386 elf_x86_64 elf_l1om elf_k1om"
|
|
tdir_i386linux=`echo ${targ_alias}aout | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'`
|
|
tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/' -e 's/-linux-gnux32/-linux-gnu/'` ;;
|
|
+x86_64-*-xomb*) targ_emul=xomb_x86_64 ;;
|
|
x86_64-*-linux-*) targ_emul=elf_x86_64
|
|
targ_extra_emuls="elf32_x86_64 elf_i386 i386linux elf_l1om elf_k1om"
|
|
targ_extra_libpath="elf_i386 elf32_x86_64 elf_l1om elf_k1om"
|
|
diff -rupN ../binutils-2.23.1/ld/Makefile.in ./ld/Makefile.in
|
|
--- ../binutils-2.23.1/ld/Makefile.in 2012-09-04 08:53:47.000000000 -0400
|
|
+++ ./ld/Makefile.in 2013-01-26 23:36:20.067628311 -0500
|
|
@@ -3541,6 +3541,9 @@ eelf_k1om_fbsd.c: $(srcdir)/emulparams/e
|
|
$(srcdir)/emulparams/elf_k1om.sh \
|
|
$(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
|
|
${GENSCRIPTS} elf_k1om_fbsd "$(tdir_elf_k1om_fbsd)"
|
|
+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)"
|