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