summaryrefslogtreecommitdiffstats
path: root/usr.bin/elfdump
Commit message (Collapse)AuthorAgeFilesLines
* Add META_MODE support.sjg2015-06-131-0/+18
|\ | | | | | | | | | | | | | | | | | | | | Off by default, build behaves normally. WITH_META_MODE we get auto objdir creation, the ability to start build from anywhere in the tree. Still need to add real targets under targets/ to build packages. Differential Revision: D2796 Reviewed by: brooks imp
| * dirdeps.mk now sets DEP_RELDIRsjg2015-06-081-2/+0
| |
| * Merge sync of headsjg2015-05-271-0/+19
| |\ | |/ |/|
| * Merge from head@274682sjg2014-11-192-102/+105
| |\
| * \ Merge head from 7/28sjg2014-08-192-48/+117
| |\ \
| * | | Updated dependenciessjg2014-05-161-1/+0
| | | |
| * | | Updated dependenciessjg2014-05-101-0/+2
| | | |
| * | | Merge from headsjg2014-05-081-8/+35
| |\ \ \
| * \ \ \ Merge headsjg2014-04-281-0/+1
| |\ \ \ \
| * | | | | Updated dependenciessjg2013-03-111-0/+1
| | | | | |
| * | | | | Updated dependenciessjg2013-02-161-2/+0
| | | | | |
| | | | | |
| | \ \ \ \
| *-. \ \ \ \ Sync from headsjg2012-11-041-53/+58
| |\ \ \ \ \ \
| * | | | | | | Sync FreeBSD's bmake branch with Juniper's internal bmake branch.marcel2012-08-221-0/+19
| | |/ / / / / | |/| | | | | | | | | | | | | | | | | | | Requested by: Simon Gerraty <sjg@juniper.net>
* | | | | | | Add ELF machine EM_IAMCU, 32-bit Intel MCUemaste2015-05-141-0/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | It is e_machine 6, which was previously reserved for 486.
* | | | | | | Limit descriptors and enter capability mode.brueffer2014-11-241-0/+18
| |_|_|_|_|/ |/| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Differential: D1009 Reviewed by: jonathan, pjd MFC after: 2 weeks Relnotes: yes
* | | | | | Fix a typo.markj2014-09-161-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | MFC after: 3 days
* | | | | | elfdump: Remove extraneous _SUNW_ in reported DT_ namesemaste2014-08-211-5/+5
| | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | | | | Rename DT_FEATURE_1 to DT_FEATUREemaste2014-08-211-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This provides a minor cleanup in elfdump; there are otherwise no consumers in the tree. Old SUN documentation can be found for either variant, but GNU binutils switched to DT_FEATURE around 2000. Sponsored by: The FreeBSD Foundation
* | | | | | elfdump: use existing ELF constants where availableemaste2014-07-311-101/+103
| | | | | | | | | | | | | | | | | | | | | | | | Sponsored by: The FreeBSD Foundation
* | | | | | elfdump: add EM_AARCH64 64-bit ARM machine architectureemaste2014-07-311-0/+1
| |_|_|_|/ |/| | | |
* | | | | Further improvements on elfdump, to follow up r269092:andreast2014-07-261-2/+18
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | - Add ARM specific section header types. - Add SHT_GNU_HASH section header type. - Improve reporting of undefined tags in d_tags. - Add DT_GNU_HASH tag. Reviewed by: emaste
* | | | | elfdump: Improve section type reportingemaste2014-07-251-35/+73
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The SHT range 0x70000000-0x7fffffff is processor-specific. Pass the ELF machine type header to sh_types so the section header type name can be reported correctly for the given processor. For all ranges report the actual value for unknown types. Add MIPS-specific type SHT_MIPS_OPTIONS. CR: D483 Reviewed by: sbruno, marcel Sponsored by: DARPA, AFRL
* | | | | use .Mt to mark up email addresses consistently (part3)bapt2014-06-231-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | PR: 191174 Submitted by: Franco Fichtner <franco at lastsummer.de>
* | | | | Don't dump core when the ELF file has no section headers. The ELFmarcel2014-06-191-9/+24
| |_|_|/ |/| | | | | | | | | | | core files created by gcore are among those.
* | | | Handle ELF files with 65280 or more sectionsemaste2014-05-071-8/+35
| |_|/ |/| | | | | | | | | | | | | | | | | | | | 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
* | | Add missing EM_PPC64 to e_machine header display.jhibbits2014-01-141-0/+1
| |/ |/| | | | | MFC after: 1 week
* | More -Wmissing-variable-declarations fixes.ed2012-10-191-53/+58
|/ | | | | | | | | | | | | | | | 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'.
* Don't extract the n_type value from the elf header, since it is never usedeadler2012-02-161-2/+0
| | | | | | | | Fix warning when compiling with gcc46: variable 'type' set but not used Approved by: cperciva MFC after: 3 days
* 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
* Use the newly brought %U macro.ru2010-01-151-1/+1
|
* Build usr.bin/ with WARNS=6 by default.ed2010-01-021-1/+0
| | | | Also add some missing $FreeBSD$ to keep svn happy.
* 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
* Sort sections.ru2005-01-181-2/+2
|
* Added the EXIT STATUS section where appropriate.ru2005-01-171-1/+1
|
* 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-282-5/+5
| | | | optional here). Sort options. Print the file name on error.
* mdoc(7) police: Revision.ru2003-03-031-31/+25
|
* Spellcheck.nectar2003-02-281-2/+2
|
* Add a man page.obrien2003-02-032-1/+118
|
* Make WARNS=5 clean even on 64-bit platforms.obrien2003-02-032-35/+36
|
* Make WARNS=5 on i386, (WARNS=1 on 64-bit platforms).obrien2003-02-032-59/+59
| | | | 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.
OpenPOWER on IntegriCloud