diff options
author | marcel <marcel@FreeBSD.org> | 2003-08-09 01:55:37 +0000 |
---|---|---|
committer | marcel <marcel@FreeBSD.org> | 2003-08-09 01:55:37 +0000 |
commit | 892df4d6175d0656bd4d556877ab6efbad2cbbfb (patch) | |
tree | af8928f210eec94c1bb39dc17efe70eb0abfcd89 /sys/net/if_loop.c | |
parent | e97bb1421920a22ac8b48f7024258ad83b332821 (diff) | |
download | FreeBSD-src-892df4d6175d0656bd4d556877ab6efbad2cbbfb.zip FreeBSD-src-892df4d6175d0656bd4d556877ab6efbad2cbbfb.tar.gz |
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.
Diffstat (limited to 'sys/net/if_loop.c')
0 files changed, 0 insertions, 0 deletions