p 901 B

1234567891011121314151617181920212223242526272829
  1. diff -ur file-4.15.old/src/readelf.c file-4.15/src/readelf.c
  2. --- file-4.15.old/src/readelf.c 2005-07-14 04:22:25.000000000 +0200
  3. +++ file-4.15/src/readelf.c 2005-11-05 11:15:12.000000000 +0100
  4. @@ -352,6 +352,14 @@
  5. if (file_printf(ms, "Solaris") == -1)
  6. return size;
  7. break;
  8. + case GNU_OS_KFREEBSD:
  9. + if (file_printf(ms, "kFreeBSD") == -1)
  10. + return size;
  11. + break;
  12. + case GNU_OS_KNETBSD:
  13. + if (file_printf(ms, "kNetBSD") == -1)
  14. + return size;
  15. + break;
  16. default:
  17. if (file_printf(ms, "<unknown>") == -1)
  18. return size;
  19. diff -ur file-4.15.old/src/readelf.h file-4.15/src/readelf.h
  20. --- file-4.15.old/src/readelf.h 2005-06-30 18:33:01.000000000 +0200
  21. +++ file-4.15/src/readelf.h 2005-11-05 11:15:41.000000000 +0100
  22. @@ -231,5 +231,7 @@
  23. #define GNU_OS_LINUX 0
  24. #define GNU_OS_HURD 1
  25. #define GNU_OS_SOLARIS 2
  26. +#define GNU_OS_KFREEBSD 3
  27. +#define GNU_OS_KNETBSD 4
  28. #endif