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.

57 lines
2.2 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../uclibc/180-dl_sysdep_inline.patch
  5. # Copyright (C) 2009 The OpenSDE 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. https://dev.openwrt.org/browser/trunk/toolchain/uClibc/patches-0.9.30.1/180-dl_sysdep_inline.patch
  17. Index: uClibc-0.9.30.1/ldso/ldso/arm/dl-sysdep.h
  18. ===================================================================
  19. --- ./ldso/ldso/arm/dl-sysdep.h.orig (revision 25503)
  20. +++ ./ldso/ldso/arm/dl-sysdep.h (working copy)
  21. @@ -15,7 +15,7 @@
  22. GOT_BASE[1] = (unsigned long) MODULE; \
  23. }
  24. -static __inline__ unsigned long arm_modulus(unsigned long m, unsigned long p)
  25. +static __always_inline unsigned long arm_modulus(unsigned long m, unsigned long p)
  26. {
  27. unsigned long i,t,inc;
  28. i=p; t=0;
  29. @@ -72,7 +72,7 @@
  30. first element of the GOT. We used to use the PIC register to do this
  31. without a constant pool reference, but GCC 4.2 will use a pseudo-register
  32. for the PIC base, so it may not be in r10. */
  33. -static __inline__ Elf32_Addr __attribute__ ((unused))
  34. +static __always_inline Elf32_Addr __attribute__ ((unused))
  35. elf_machine_dynamic (void)
  36. {
  37. Elf32_Addr dynamic;
  38. @@ -104,7 +104,7 @@
  39. }
  40. /* Return the run-time load address of the shared object. */
  41. -static __inline__ Elf32_Addr __attribute__ ((unused))
  42. +static __always_inline Elf32_Addr __attribute__ ((unused))
  43. elf_machine_load_address (void)
  44. {
  45. extern void __dl_start __asm__ ("_dl_start");
  46. @@ -128,7 +128,7 @@
  47. return pcrel_addr - got_addr;
  48. }
  49. -static __inline__ void
  50. +static __always_inline void
  51. elf_machine_relative (Elf32_Addr load_off, const Elf32_Addr rel_addr,
  52. Elf32_Word relative_count)
  53. {