2
0

010-remove_STT_GNU_IFUNC.patch 946 B

1234567891011121314151617181920
  1. --- a/src/mklibs-readelf/main.cpp
  2. +++ b/src/mklibs-readelf/main.cpp
  3. @@ -84,7 +84,7 @@ static void process_symbols_provided (co
  4. continue;
  5. if (shndx == SHN_UNDEF || shndx == SHN_ABS)
  6. continue;
  7. - if (type != STT_NOTYPE && type != STT_OBJECT && type != STT_FUNC && type != STT_GNU_IFUNC && type != STT_COMMON && type != STT_TLS)
  8. + if (type != STT_NOTYPE && type != STT_OBJECT && type != STT_FUNC && type != STT_COMMON && type != STT_TLS)
  9. continue;
  10. if (!name.size())
  11. continue;
  12. @@ -115,7 +115,7 @@ static void process_symbols_undefined (c
  13. continue;
  14. if (shndx != SHN_UNDEF)
  15. continue;
  16. - if (type != STT_NOTYPE && type != STT_OBJECT && type != STT_FUNC && type != STT_GNU_IFUNC && type != STT_COMMON && type != STT_TLS)
  17. + if (type != STT_NOTYPE && type != STT_OBJECT && type != STT_FUNC && type != STT_COMMON && type != STT_TLS)
  18. continue;
  19. if (!name.size())
  20. continue;