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.

52 lines
2.1 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/glibc/glibc23/in_divdi3_c.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. [see http://sources.redhat.com/ml/libc-alpha/2005-11/msg00033.html]
  20. H.J.
  21. ----
  22. 2005-11-08 H.J. Lu <hongjiu.lu@intel.com>
  23. * sysdeps/wordsize-32/Makefile (CPPFLAGS-divdi3.c): Set to
  24. -Din_divdi3_c
  25. * sysdeps/wordsize-32/symbol-hacks.h: Skip if in_divdi3_c is
  26. defined.
  27. --- ./sysdeps/wordsize-32/Makefile.as 2002-09-18 23:47:56.000000000 -0700
  28. +++ ./sysdeps/wordsize-32/Makefile 2005-11-07 15:13:38.000000000 -0800
  29. @@ -2,5 +2,6 @@ ifeq ($(subdir),csu)
  30. ifeq (yes,$(build-shared))
  31. sysdep_routines += divdi3
  32. shared-only-routines += divdi3
  33. +CPPFLAGS-divdi3.c = -Din_divdi3_c
  34. endif
  35. endif
  36. --- ./sysdeps/wordsize-32/symbol-hacks.h.as 2004-03-08 12:59:34.000000000 -0800
  37. +++ ./sysdeps/wordsize-32/symbol-hacks.h 2005-11-07 14:57:49.000000000 -0800
  38. @@ -22,7 +22,7 @@
  39. therefore we get PLTs. Unnecessarily so. Changing gcc is a big
  40. task which might not be worth it so we play tricks with the
  41. assembler. */
  42. -#if !defined __ASSEMBLER__ && !defined NOT_IN_libc && defined SHARED
  43. +#if !defined __ASSEMBLER__ && !defined in_divdi3_c && !defined NOT_IN_libc && defined SHARED
  44. asm ("__divdi3 = __divdi3_internal");
  45. asm ("__udivdi3 = __udivdi3_internal");
  46. asm ("__moddi3 = __moddi3_internal");