| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
If e_shnum or e_shstrndx are at least SHN_LORESERVE (0xff00) then an
escape value is used to indicate that the actual value is found in one
of section 0's fields.
Sponsored by: DARPA, AFRL
|
|
|
|
| |
MFC after: 1 week
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
In addition to adding `static' where possible:
- bin/date: Move `retval' into extern.h to make it visible to date.c.
- bin/ed: Move globally used variables into ed.h.
- sbin/camcontrol: Move `verbose' into camcontrol.h and fix shadow warnings.
- usr.bin/calendar: Remove unneeded variables.
- usr.bin/chat: Make `line' local instead of global.
- usr.bin/elfdump: Comment out unneeded function.
- usr.bin/rlogin: Use _Noreturn instead of __dead2.
- usr.bin/tset: Pull `Ospeed' into extern.h.
- usr.sbin/mfiutil: Put global variables in mfiutil.h.
- usr.sbin/pkg: Remove unused `os_corres'.
- usr.sbin/quotaon, usr.sbin/repquota: Remove unused `qfname'.
|
|
|
|
|
|
|
|
| |
Fix warning when compiling with gcc46:
variable 'type' set but not used
Approved by: cperciva
MFC after: 3 days
|
|
|
|
|
| |
o In elf_get_byte(), cast through uint8_t and not char to avoid sign
extension.
|
|
|
|
| |
Sponsored by: The FreeBSD Foundation
|
| |
|
|
|
|
| |
Also add some missing $FreeBSD$ to keep svn happy.
|
| |
|
|
|
|
|
|
| |
unknown machines.
MFC after: 1 week
|
| |
|
| |
|
| |
|
| |
|
|
|
|
|
|
|
|
| |
Removed three spurious tabs on lines by themselves.
PR: bin/56492
Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at>
MFC after: 6 weeks
|
|
|
|
|
|
|
|
|
|
|
| |
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.
|
|
|
|
| |
optional here). Sort options. Print the file name on error.
|
| |
|
| |
|
| |
|
| |
|
|
|
|
| |
Submitted by: dwmalone (tweaked by me)
|
| |
|
|
|
|
|
|
| |
teach it about ia64 specific section types, dynamic tags and machine
type. This is a mostly insignificant change given the amount of
work that this tool obviously needs...
|
|
|
|
| |
away from indexing into an array. Also add Sun and GNU specific tags.
|
|
|
|
| |
away from indexing into an array.
|
|
This is simular to readelf(1) and objdump(1).
Submitted by: jake
|