freebsd-dev/usr.bin/elfdump
Marcel Moolenaar ac2ded1df3 Fix sign-extension bug for 32 and 64-bit values. For 64-bit values
this involves the sign-extension of the high and low "word". Both
of which are 32-bit. The bug is especially harmful on ia64, where
0x9fffffffe0000000 is a common address (base of register stack).
This was invariably displayed as 0xffffffffe0000000.

The sign-extension is fixed by using {b|l}e{16|32|64}dec() where
applicable. Since elfdump(1) is not a bootstrap tool, dependency
on these functions is not a problem.
2003-08-09 01:55:37 +00:00
..
elfdump.1 Synchronize usage() and SYNOPSIS, and fix them (flags are not 2003-06-28 22:30:46 +00:00
elfdump.c Fix sign-extension bug for 32 and 64-bit values. For 64-bit values 2003-08-09 01:55:37 +00:00
Makefile Add a man page. 2003-02-03 01:59:27 +00:00