Date: Thu, 12 Jan 2017 15:54:34 +0000 From: bugzilla-noreply@freebsd.org To: freebsd-doc@FreeBSD.org Subject: [Bug 215999] binmisctl(8) man page provides wrong powerpc64 magic Message-ID: <bug-215999-9@https.bugs.freebsd.org/bugzilla/>
next in thread | raw e-mail | index | archive | help
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=3D215999 Bug ID: 215999 Summary: binmisctl(8) man page provides wrong powerpc64 magic Product: Documentation Version: Latest Hardware: Any OS: Any Status: New Severity: Affects Many People Priority: --- Component: Documentation Assignee: freebsd-doc@FreeBSD.org Reporter: luca.pizzamiglio@gmail.com Flags: maintainer-feedback?, mfc-stable11? Created attachment 178795 --> https://bugs.freebsd.org/bugzilla/attachment.cgi?id=3D178795&action= =3Dedit The fixing patch The binmiscctl(8) man page provides several examples of magics that can be = used with several architectures. The powerpc64 example has a little error in the magic string: the EI_CLASS field (offset 0x04) should be 0x02 (64 bit) instead of 0x01 (32 bit) Cross-compiled powerpc64 FreeBSD binaries confirm the error: # hexdump -C -n 20 id 00000000 7f 45 4c 46 02 02 01 09 00 00 00 00 00 00 00 00 |.ELF..........= ..| 00000010 00 02 00 15 |....| The attached patch can be applied to fix the man page --=20 You are receiving this mail because: You are the assignee for the bug.=
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-215999-9>