OpenSDE Framework (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

43 lines
1.9 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: architecture/sparc64/pkg_binutils.diff
  5. # Copyright (C) 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  9. # This patch file is dual-licensed. It is available under the license the
  10. # patched project is licensed under, as long as it is an OpenSource license
  11. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  12. # of the GNU General Public License as published by the Free Software
  13. # Foundation; either version 2 of the License, or (at your option) any later
  14. # version.
  15. # --- SDE-COPYRIGHT-NOTE-END ---
  16. As GCC, we want the the linker to use elf32 by default, otherwise we would
  17. have to patch packages like mozilla* or exact-image (and potentially other
  18. exact-build based packages) that assume they can "pre"-link objects using
  19. "ld -r". Of course the linker should accept the the default compiler output,
  20. by default as well.
  21. - Rene Rebe <rene@exactcode.de>
  22. --- binutils-2.17.50.0.2/ld/configure.tgt.vanilla 2006-07-24 19:31:25.000000000 +0000
  23. +++ binutils-2.17.50.0.2/ld/configure.tgt 2006-07-24 19:33:11.000000000 +0000
  24. @@ -504,11 +504,11 @@
  25. targ_extra_emuls="elf32_sparc sun4"
  26. tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/aout//'`
  27. tdir_sun4=sparc-sun-sunos4 ;;
  28. -sparc64-*-linux-*) targ_emul=elf64_sparc
  29. - targ_extra_emuls="elf32_sparc sparclinux sun4"
  30. - targ_extra_libpath=elf32_sparc
  31. - tdir_elf32_sparc=`echo ${targ_alias} | sed -e 's/64//'`
  32. - tdir_sparclinux=${tdir_elf32_sparc}aout
  33. +sparc64-*-linux-*) targ_emul=elf32_sparc
  34. + targ_extra_emuls="sparclinux elf64_sparc sun4"
  35. + targ_extra_libpath=elf64_sparc
  36. + tdir_sparclinux=${targ_alias}aout
  37. + tdir_elf64_sparc=`echo ${targ_alias} | sed -e 's/32//'`
  38. tdir_sun4=sparc-sun-sunos4 ;;
  39. sparc*-*-linux-*) targ_emul=elf32_sparc
  40. targ_extra_emuls="sparclinux elf64_sparc sun4"