From: Christos Zoulas Date: Sun, 13 Apr 1997 18:29:01 +0000 (+0000) Subject: offset for SunOS.5.5.1 X-Git-Tag: FILE3_27~45 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=f90d6264864e2fb40eb727611e96ad4b62a429f6;p=file offset for SunOS.5.5.1 --- diff --git a/src/readelf.c b/src/readelf.c index a007cca3..aa0c4e77 100644 --- a/src/readelf.c +++ b/src/readelf.c @@ -78,7 +78,7 @@ dophn_exec(fd, off, num, size, buf) } size_t prpsoffsets[] = { - 100, /* SunOS 5.x */ + 84, /* SunOS 5.x */ 32, /* Linux */ }; @@ -103,10 +103,6 @@ dophn_core(fd, off, num, size, buf) size_t size; char *buf; { - /* - * This doesn't work for 64-bit ELF, as the "p_offset" field is - * 64 bits in 64-bit ELF. - */ /* * This doesn't work for 64-bit ELF, as the "p_offset" field is * 64 bits in 64-bit ELF.