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.

41 lines
1.3 KiB

  1. Fixes
  2. ../sysdeps/powerpc/powerpc32/dl-machine.h: In function '_dl_relocate_object':
  3. ../sysdeps/powerpc/powerpc32/dl-machine.h:461: error: invalid storage class for function 'elf_machine_rela_relative'
  4. ../sysdeps/powerpc/powerpc32/dl-machine.h:469: error: invalid storage class for function 'elf_machine_lazy_rel'
  5. diff -ur glibc-2.3-20050307.orig/sysdeps/powerpc/powerpc32/dl-machine.h glibc-2.3-20050307/sysdeps/powerpc/powerpc32/dl-machine.h
  6. --- glibc-2.3-20050307.orig/sysdeps/powerpc/powerpc32/dl-machine.h Wed Jul 30 23:33:52 2003
  7. +++ glibc-2.3-20050307/sysdeps/powerpc/powerpc32/dl-machine.h Thu Mar 17 13:19:16 2005
  8. @@ -455,7 +455,14 @@
  9. }
  10. }
  11. -static inline void
  12. +#if __GNUC__ >= 4
  13. + auto inline void
  14. +#else
  15. + static inline void
  16. +#endif
  17. +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
  18. + __attribute ((always_inline))
  19. +#endif
  20. elf_machine_rela_relative (Elf32_Addr l_addr, const Elf32_Rela *reloc,
  21. void *const reloc_addr_arg)
  22. {
  23. @@ -463,7 +470,14 @@
  24. *reloc_addr = l_addr + reloc->r_addend;
  25. }
  26. -static inline void
  27. +#if __GNUC__ >= 4
  28. + auto inline void
  29. +#else
  30. + static inline void
  31. +#endif
  32. +#if __GNUC__ >= 4 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 2)
  33. + __attribute ((always_inline))
  34. +#endif
  35. elf_machine_lazy_rel (struct link_map *map,
  36. Elf32_Addr l_addr, const Elf32_Rela *reloc)
  37. {