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.

60 lines
1.9 KiB

  1. Fixes:
  2. In file included from dynamic-link.h:22,
  3. from dl-reloc.c:269:
  4. ../sysdeps/powerpc/powerpc64/dl-machine.h: In function '_dl_relocate_object':
  5. ../sysdeps/powerpc/powerpc64/dl-machine.h:573: error: invalid storage class for function 'elf_machine_rela_relative'
  6. ../sysdeps/powerpc/powerpc64/dl-machine.h:607: error: invalid storage class for function 'elf_machine_rela'
  7. ../sysdeps/powerpc/powerpc64/dl-machine.h:889: error: invalid storage class for function 'elf_machine_lazy_rel'
  8. --- glibc-2.3-20050307/sysdeps/powerpc/powerpc64/dl-machine.h.old Thu Mar 17 13:35:23 2005
  9. +++ glibc-2.3-20050307/sysdeps/powerpc/powerpc64/dl-machine.h Thu Mar 17 13:37:12 2005
  10. @@ -567,7 +567,14 @@
  11. const Elf64_Sym *refsym)
  12. attribute_hidden;
  13. -static inline void
  14. +#if __GNUC__ >= 4
  15. + auto inline void
  16. +#else
  17. + static inline void
  18. +#endif
  19. +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
  20. + __attribute ((always_inline))
  21. +#endif
  22. elf_machine_rela_relative (Elf64_Addr l_addr, const Elf64_Rela *reloc,
  23. void *const reloc_addr_arg)
  24. {
  25. @@ -598,7 +605,14 @@
  26. /* Perform the relocation specified by RELOC and SYM (which is fully
  27. resolved). MAP is the object containing the reloc. */
  28. -static inline void
  29. +#if __GNUC__ >= 4
  30. + auto inline void
  31. +#else
  32. + static inline void
  33. +#endif
  34. +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
  35. + __attribute ((always_inline))
  36. +#endif
  37. elf_machine_rela (struct link_map *map,
  38. const Elf64_Rela *reloc,
  39. const Elf64_Sym *sym,
  40. @@ -883,7 +897,14 @@
  41. MODIFIED_CODE_NOQUEUE (reloc_addr);
  42. }
  43. -static inline void
  44. +#if __GNUC__ >= 4
  45. + auto inline void
  46. +#else
  47. + static inline void
  48. +#endif
  49. +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
  50. + __attribute ((always_inline))
  51. +#endif
  52. elf_machine_lazy_rel (struct link_map *map,
  53. Elf64_Addr l_addr, const Elf64_Rela *reloc)
  54. {