aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/elfdump
Commit message (Collapse)AuthorAgeFilesLines
* Don't extract the n_type value from the elf header, since it is never usedEitan Adler2012-02-161-2/+0
| | | | | | | | | | | Fix warning when compiling with gcc46: variable 'type' set but not used Approved by: cperciva MFC after: 3 days Notes: svn path=/head/; revision=231815
* o Use C99 designated initializer to properly handle ELFOSABI_STANDALONE.Marcel Moolenaar2011-10-161-6/+7
| | | | | | | | o In elf_get_byte(), cast through uint8_t and not char to avoid sign extension. Notes: svn path=/head/; revision=226434
* Teach elfdump(1) about the SUNW_dof section.Rui Paulo2010-08-111-0/+1
| | | | | | | Sponsored by: The FreeBSD Foundation Notes: svn path=/head/; revision=211188
* Use the newly brought %U macro.Ruslan Ermilov2010-01-151-1/+1
| | | | Notes: svn path=/head/; revision=202386
* Build usr.bin/ with WARNS=6 by default.Ed Schouten2010-01-021-1/+0
| | | | | | | Also add some missing $FreeBSD$ to keep svn happy. Notes: svn path=/head/; revision=201386
* s/DT_IA64_PLT_RESERVE/DT_IA_64_PLT_RESERVE/Marcel Moolenaar2006-01-281-1/+1
| | | | Notes: svn path=/head/; revision=154958
* Know the machines FreeBSD runs on. Print the machine value forMarcel Moolenaar2005-12-171-2/+10
| | | | | | | | | unknown machines. MFC after: 1 week Notes: svn path=/head/; revision=153500
* Sort sections.Ruslan Ermilov2005-01-181-2/+2
| | | | Notes: svn path=/head/; revision=140420
* Added the EXIT STATUS section where appropriate.Ruslan Ermilov2005-01-171-1/+1
| | | | Notes: svn path=/head/; revision=140368
* Elf_Phdr.p_type 7 is "PT_TLS".Jake Burkholder2004-03-021-1/+1
| | | | Notes: svn path=/head/; revision=126484
* Removed another spurious semicolon forgotten in the previous commit.Jens Schweikhardt2003-09-061-1/+1
| | | | Notes: svn path=/head/; revision=119795
* Removed two spurious semicolons after function definitions.Jens Schweikhardt2003-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 Notes: svn path=/head/; revision=119794
* Fix sign-extension bug for 32 and 64-bit values. For 64-bit valuesMarcel Moolenaar2003-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. Notes: svn path=/head/; revision=118680
* Synchronize usage() and SYNOPSIS, and fix them (flags are notRuslan Ermilov2003-06-282-5/+5
| | | | | | | optional here). Sort options. Print the file name on error. Notes: svn path=/head/; revision=117009
* mdoc(7) police: Revision.Ruslan Ermilov2003-03-031-31/+25
| | | | Notes: svn path=/head/; revision=111813
* Spellcheck.Jacques Vidrine2003-02-281-2/+2
| | | | Notes: svn path=/head/; revision=111673
* Add a man page.David E. O'Brien2003-02-032-1/+118
| | | | Notes: svn path=/head/; revision=110259
* Make WARNS=5 clean even on 64-bit platforms.David E. O'Brien2003-02-032-35/+36
| | | | Notes: svn path=/head/; revision=110257
* Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).David E. O'Brien2003-02-032-59/+59
| | | | | | | Submitted by: dwmalone (tweaked by me) Notes: svn path=/head/; revision=110256
* Try to tighten up the types a little bit to help debugging with GDB.David E. O'Brien2003-02-021-35/+36
| | | | Notes: svn path=/head/; revision=110252
* If we're going to build and install this on ia64, we might as wellMarcel Moolenaar2003-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... Notes: svn path=/head/; revision=109457
* Like sh_types, dt_tags just aren't in consecutive order, so we have to moveDavid E. O'Brien2003-01-151-9/+78
| | | | | | | away from indexing into an array. Also add Sun and GNU specific tags. Notes: svn path=/head/; revision=109332
* The defined sh_types's just aren't in consecutive order, so we have to moveDavid E. O'Brien2003-01-151-5/+32
| | | | | | | away from indexing into an array. Notes: svn path=/head/; revision=109329
* Add a BSDL'ed util that displays information about ELF files.David E. O'Brien2003-01-152-0/+1010
This is simular to readelf(1) and objdump(1). Submitted by: jake Notes: svn path=/head/; revision=109313