summaryrefslogtreecommitdiffstats
path: root/usr.bin/brandelf
Commit message (Collapse)AuthorAgeFilesLines
* fix fd leak by close(fd) at end of loop.imp2000-07-021-0/+1
|
* The SVR4 module calls itself ELFOSABI_SOLARIS, and who am I to disagreegreen2000-07-011-2/+3
| | | | | | if it runs my Solaris binaries? Add the missing "Solaris" type here so that binaries may be branded with it rather than the seemingly- defunct ELFOSABI_SVR4.
* Document SVR4 branding is supported.asmodai2000-06-121-2/+3
| | | | | PR: 19131 Submitted by: Mike Barcroft <mike@q9media.com>
* * I goofed and didn't break sentances the right way.obrien2000-04-181-14/+16
| | | | | | | * Make the option arguments format better * Fix mispelling Submitted by: ru
* Change our ELF binary branding to something more acceptable to the Binutilsobrien2000-04-183-41/+79
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | maintainers. After we established our branding method of writing upto 8 characters of the OS name into the ELF header in the padding; the Binutils maintainers and/or SCO (as USL) decided that instead the ELF header should grow two new fields -- EI_OSABI and EI_ABIVERSION. Each of these are an 8-bit unsigned integer. SCO has assigned official values for the EI_OSABI field. In addition to this, the Binutils maintainers and NetBSD decided that a better ELF branding method was to include ABI information in a ".note" ELF section. With this set of changes, we will now create ELF binaries branded using both "official" methods. Due to the complexity of adding a section to a binary, binaries branded with ``brandelf'' will only brand using the EI_OSABI method. Also due to the complexity of pulling a section out of an ELF file vs. poking around in the ELF header, our image activator only looks at the EI_OSABI header field. Note that a new kernel can still properly load old binaries except for Linux static binaries branded in our old method. * * For a short period of time, ``ld'' will also brand ELF binaries * using our old method. This is so people can still use kernel.old * with a new world. This support will be removed before 5.0-RELEASE, * and may not last anywhere upto the actual release. My expiration * time for this is about 6mo. *
* Make brandelf explain itself a little better on error.wes2000-01-042-12/+46
| | | | | | | | Also, at Boris' suggestion, add -l option to list known ELF types. PR: bin/15285 Reviewed by: bp
* $Id$ -> $FreeBSD$peter1999-08-282-2/+2
|
* Add $Id$, to make it simpler for members of the translation teams tonik1999-07-121-0/+1
| | | | | | | | | | | | | | | | | track. The $Id$ line is normally at the bottom of the main comment block in the man page, separated from the rest of the manpage by an empty comment, like so; .\" $Id$ .\" If the immediately preceding comment is a @(#) format ID marker than the the $Id$ will line up underneath it with no intervening blank lines. Otherwise, an additional blank line is inserted. Approved by: bde
* Added "SVR4" as an acceptable brandnewton1999-01-301-2/+2
|
* Tweaks to allow compiling -Wall (mostly adding "const" to char rcsid[]).archie1998-12-061-0/+1
|
* Add a forgotten 'static'.eivind1998-04-211-2/+2
|
* Make brandelf test for known brands, and introduce a '-f' option toeivind1998-04-212-8/+40
| | | | | | bypass the testing. Partially submitted by: Brian Feldman <green@feldman.dyn.ml.org>
* .Sh AUTHOR -> .Sh AUTHORS. Use .An/.Aq.charnier1998-03-231-4/+3
|
* Open the file r/o if looking only. Make the error message more useful.joerg1997-08-231-3/+3
| | | | | PR: bin/3283 Submitted by: Martin Kammerhofer <dada@freepass.tu-graz.ac.at>
* Use err(3). Typo fix in usage string.charnier1997-06-231-15/+13
|
* Fill out the ELF header files to make them more or less complete.jdp1997-05-211-10/+10
| | | | | Fix a macro name that was misspelled both in brandelf.c and imgact_elf.h.
* compare return value from getopt against -1 rather than EOF, per the finalimp1997-03-291-2/+2
| | | | posix standard on the topic.
* Use the .Tn macro for a couple of generic FreeBSD references.mpp1997-03-241-2/+3
| | | | | This has the desired side-effect of preventing a bad hyphenation of the word FreeBSD in one place.
* Revert $FreeBSD$ to $Id$peter1997-02-221-1/+1
|
* This page will first appear in 2.2, not 3.0.jmg1997-02-171-1/+1
| | | | 2.2 Candidate
* Typo police.mpp1997-02-091-1/+1
|
* Add a manpage for brandelf(1). Minor stylistic fixes, and a bufferjoerg1997-02-093-8/+98
| | | | | | overrun fix, too. Submitted by: John-Mark Gurney <jmg@nike.efn.org>
* Make the long-awaited change from $Id$ to $FreeBSD$jkh1997-01-141-1/+1
| | | | | | | | This will make a number of things easier in the future, as well as (finally!) avoiding the Id-smashing problem which has plagued developers for so long. Boy, I'm glad we're not using sup anymore. This update would have been insane otherwise.
* Utility to "brand" ELF binaries.sos1996-10-162-0/+118
Man page to come... For now use: <brandelf -t Linux linuxbin> to brand, and just <brandelf> to verify branding on a ELF file. FreeBSD native is set with <brandelf -t FreeBSD freebsdbin>.
OpenPOWER on IntegriCloud