From: Christos Zoulas Date: Thu, 14 Jul 2005 02:22:25 +0000 (+0000) Subject: add FreeBSD 64 bit elf offsets. From Peter Wemm. X-Git-Tag: FILE4_15~7 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=b619c584e7aa51122b41cf416ea85a80fb86fe9e;p=file add FreeBSD 64 bit elf offsets. From Peter Wemm. --- diff --git a/src/readelf.c b/src/readelf.c index c437a0be..696f7dbf 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -37,7 +37,7 @@ #include "readelf.h" #ifndef lint -FILE_RCSID("@(#)$Id: readelf.c,v 1.48 2005/06/30 16:33:47 christos Exp $") +FILE_RCSID("@(#)$Id: readelf.c,v 1.49 2005/07/14 02:22:25 christos Exp $") #endif #ifdef ELFCORE @@ -176,6 +176,7 @@ size_t prpsoffsets32[] = { }; size_t prpsoffsets64[] = { + 16, /* FreeBSD, 64-bit */ 40, /* Linux (tested on core from 2.4.x) */ 120, /* SunOS 5.x, 64-bit */ };