daily pastebin goal
44%
SHARE
TWEET

Untitled

a guest Apr 21st, 2018 54 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. diff -Naur binutils-2.20/bfd/config.bfd binutils-synapse/bfd/config.bfd
  2. --- binutils-2.20/bfd/config.bfd    2009-08-06 13:38:00.000000000 -0400
  3. +++ binutils-synapse/bfd/config.bfd 2009-11-07 00:46:44.203858221 -0500
  4. @@ -603,6 +603,10 @@
  5.      targ_selvecs="i386linux_vec i386pei_vec"
  6.      targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec"
  7.      ;;
  8. +  i[3-7]86-*-synapse*)
  9. +   targ_defvec=bfd_elf32_i386_vec
  10. +   targ_selvecs=i386coff_vec
  11. +   ;;
  12.  #ifdef BFD64
  13.    x86_64-*-darwin*)
  14.      targ_defvec=mach_o_le_vec
  15. diff -Naur binutils-2.20/config.sub binutils-synapse/config.sub
  16. --- binutils-2.20/config.sub    2009-08-17 00:10:29.000000000 -0400
  17. +++ binutils-synapse/config.sub 2009-11-07 00:43:45.488404445 -0500
  18. @@ -1426,6 +1426,9 @@
  19.     -dicos*)
  20.         os=-dicos
  21.         ;;
  22. +   -synapse*)
  23. +       os=-synapse
  24. +       ;;
  25.     -none)
  26.         ;;
  27.     *)
  28. diff -Naur binutils-2.20/gas/configure.tgt binutils-synapse/gas/configure.tgt
  29. --- binutils-2.20/gas/configure.tgt 2009-09-09 04:13:28.000000000 -0400
  30. +++ binutils-synapse/gas/configure.tgt  2009-11-07 00:48:39.134250186 -0500
  31. @@ -182,6 +182,7 @@
  32.    i386-*-beospe*)          fmt=coff em=pe ;;
  33.    i386-*-beos*)                fmt=elf ;;
  34.    i386-*-coff)             fmt=coff ;;
  35. +  i386-*-synapse*)             fmt=elf ;;
  36.    i386-*-elf)              fmt=elf ;;
  37.    i386-*-kaos*)                fmt=elf ;;
  38.    i386-*-bsd*)             fmt=aout em=386bsd ;;
  39. diff -Naur binutils-2.20/ld/Makefile.in binutils-synapse/ld/Makefile.in
  40. --- binutils-2.20/ld/Makefile.in    2009-09-07 08:10:24.000000000 -0400
  41. +++ binutils-synapse/ld/Makefile.in 2009-11-07 00:52:10.469146003 -0500
  42. @@ -502,6 +502,7 @@
  43.     eelf32xstormy16.o \
  44.     eelf32xtensa.o \
  45.     eelf_i386.o \
  46. +   esynapse_i386.o \
  47.     eelf_i386_be.o \
  48.     eelf_i386_chaos.o \
  49.     eelf_i386_fbsd.o \
  50. @@ -2451,6 +2452,9 @@
  51.  eelf_i386.c: $(srcdir)/emulparams/elf_i386.sh \
  52.    $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  53.     ${GENSCRIPTS} elf_i386 "$(tdir_elf_i386)"
  54. +esynapse_i386.c: $(srcdir)/emulparams/synapse_i386.sh \
  55. +  $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  56. +   ${GENSCRIPTS} synapse_i386 "$(tdir_synapse_i386)"
  57.  eelf_x86_64.c: $(srcdir)/emulparams/elf_x86_64.sh \
  58.    $(ELF_DEPS) $(srcdir)/scripttempl/elf.sc ${GEN_DEPENDS}
  59.     ${GENSCRIPTS} elf_x86_64 "$(tdir_elf_x86_64)"
  60. diff -Naur binutils-2.20/ld/configure.tgt binutils-synapse/ld/configure.tgt
  61. --- binutils-2.20/ld/configure.tgt  2009-08-06 13:38:03.000000000 -0400
  62. +++ binutils-synapse/ld/configure.tgt   2009-11-07 00:49:16.973863167 -0500
  63. @@ -181,6 +181,7 @@
  64.  i[3-7]86-*-go32)   targ_emul=i386go32 ;;
  65.  i[3-7]86-*-msdosdjgpp*) targ_emul=i386go32 ;;
  66.  i[3-7]86-*-aix*)   targ_emul=i386coff ;;
  67. +i[3-7]86-*-synapse*)   targ_emul=synapse_i386 ;;
  68.  i[3-7]86-*-sco*)   targ_emul=i386coff ;;
  69.  i[3-7]86-*-isc*)   targ_emul=i386coff ;;
  70.  i[3-7]86-*-lynxos*)    targ_emul=i386lynx ;;
  71. diff -Naur binutils-2.20/ld/emulparams/synapse_i386.sh binutils-synapse/ld/emulparams/synapse_i386.sh
  72. --- binutils-2.20/ld/emulparams/synapse_i386.sh 1969-12-31 19:00:00.000000000 -0500
  73. +++ binutils-synapse/ld/emulparams/synapse_i386.sh  2009-11-07 00:50:35.873835144 -0500
  74. @@ -0,0 +1,13 @@
  75. +SCRIPT_NAME=elf
  76. +OUTPUT_FORMAT=elf32-i386
  77. +TEXT_START_ADDR=0x100000
  78. +MAXPAGESIZE="CONSTANT (MAXPAGESIZE)"
  79. +COMMONPAGESIZE="CONSTANT (COMMONPAGESIZE)"
  80. +ARCH=i386
  81. +MACHINE=
  82. +NOP=0x90909090
  83. +TEMPLATE_NAME=elf32
  84. +GENERATE_SHLIB_SCRIPT=yes
  85. +GENERATE_PIE_SCRIPT=yes
  86. +NO_SMALL_DATA=yes
  87. +SEPARATE_GOTPLT=12
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top