mirror of the now-defunct rocklinux.org
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.

53 lines
2.0 KiB

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