summaryrefslogtreecommitdiffstats
path: root/usr.bin/elfdump/elfdump.c
Commit message (Collapse)AuthorAgeFilesLines
* o Use C99 designated initializer to properly handle ELFOSABI_STANDALONE.marcel2011-10-161-6/+7
| | | | | o In elf_get_byte(), cast through uint8_t and not char to avoid sign extension.
* Teach elfdump(1) about the SUNW_dof section.rpaulo2010-08-111-0/+1
| | | | Sponsored by: The FreeBSD Foundation
* s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/marcel2006-01-281-1/+1
|
* Know the machines FreeBSD runs on. Print the machine value formarcel2005-12-171-2/+10
| | | | | | unknown machines. MFC after: 1 week
* Elf_Phdr.p_type 7 is "PT_TLS".jake2004-03-021-1/+1
|
* Removed another spurious semicolon forgotten in the previous commit.schweikh2003-09-061-1/+1
|
* Removed two spurious semicolons after function definitions.schweikh2003-09-061-5/+5
| | | | | | | | Removed three spurious tabs on lines by themselves. PR: bin/56492 Submitted by: Stefan Farfeleder <stefan@fafoe.narf.at> MFC after: 6 weeks
* Fix sign-extension bug for 32 and 64-bit values. For 64-bit valuesmarcel2003-08-091-39/+27
| | | | | | | | | | | 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.
* Synchronize usage() and SYNOPSIS, and fix them (flags are notru2003-06-281-2/+2
| | | | optional here). Sort options. Print the file name on error.
* Make WARNS=5 clean even on 64-bit platforms.obrien2003-02-031-34/+35
|
* Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).obrien2003-02-031-59/+58
| | | | Submitted by: dwmalone (tweaked by me)
* Try to tighten up the types a little bit to help debugging with GDB.obrien2003-02-021-35/+36
|
* If we're going to build and install this on ia64, we might as wellmarcel2003-01-181-7/+20
| | | | | | 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...
* Like sh_types, dt_tags just aren't in consecutive order, so we have to moveobrien2003-01-151-9/+78
| | | | away from indexing into an array. Also add Sun and GNU specific tags.
* The defined sh_types's just aren't in consecutive order, so we have to moveobrien2003-01-151-5/+32
| | | | away from indexing into an array.
* Add a BSDL'ed util that displays information about ELF files.obrien2003-01-151-0/+1004
This is simular to readelf(1) and objdump(1). Submitted by: jake
OpenPOWER on IntegriCloud