OpenSDE Packages Database (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.

51 lines
1.8 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../emacs/ppc-oddity.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. # Copyright (C) 1998 - 2003 Clifford Wolf
  7. #
  8. # More information can be found in the files COPYING and README.
  9. #
  10. # This patch file is dual-licensed. It is available under the license the
  11. # patched project is licensed under, as long as it is an OpenSource license
  12. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  13. # of the GNU General Public License as published by the Free Software
  14. # Foundation; either version 2 of the License, or (at your option) any later
  15. # version.
  16. # --- T2-COPYRIGHT-NOTE-END ---
  17. To be able to build and run Emacs on PowerPC we need to wipe some strange
  18. outdated ... assumptions ...
  19. - Rene Rebe <rene@exactcode.de>
  20. --- emacs-21.3/src/m/macppc.h 2001-10-23 08:43:33.000000000 +0200
  21. +++ emacs-21.3/src/m/macppc.h 2003-09-26 22:26:59.000000000 +0200
  22. @@ -90,26 +90,9 @@
  23. #define HAVE_TEXT_START
  24. #endif
  25. -/* NAKAJI Hiroyuki <nakaji@tutrp.tut.ac.jp> says this is needed
  26. - For MkLinux/LinuxPPC. */
  27. -#ifdef LINUX
  28. -#define LINKER $(CC) -nostdlib
  29. -#define LD_SWITCH_MACHINE -Xlinker -m -Xlinker elf32ppc
  30. -/* s/gnu-linux.h defines this to `-z nocombreloc' which does not work here
  31. - because prefix-args is not used. */
  32. -#undef LD_SWITCH_SYSTEM_TEMACS
  33. -#define LD_SWITCH_MACHINE_TEMACS -Xlinker -znocombreloc
  34. -#endif
  35. -
  36. -#if 0 /* This breaks things on PPC GNU/Linux ecept for Yellowdog,
  37. - even with identical GCC, as, ld. Let's take it out until we
  38. - know what's really going on here. */
  39. -/* GCC 2.95 and newer on GNU/Linux PPC changed the load address to
  40. - 0x10000000. */
  41. #if defined __linux__
  42. #if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)
  43. #define DATA_SEG_BITS 0x10000000
  44. #endif
  45. -#endif
  46. #endif /* 0 */