aboutsummaryrefslogtreecommitdiff
path: root/usr.bin/elf2aout
Commit message (Collapse)AuthorAgeFilesLines
* Add a basic manual page for elf2aout.Tom Rhodes2008-12-232-1/+65
| | | | | | | | | Alter Makefile and remove NO_MAN. PR: 109975 Notes: svn path=/head/; revision=186404
* Because optarg and optind are defined in unistd.h,Xin LI2006-04-211-3/+0
| | | | | | | remove the defination here. Notes: svn path=/head/; revision=157928
* Make our ELF64 type definitions match standards. In particular thisMarcel Moolenaar2005-12-181-6/+6
| | | | | | | | | | | | | | | | means: o Remove Elf64_Quarter, o Redefine Elf64_Half to be 16-bit, o Redefine Elf64_Word to be 32-bit, o Add Elf64_Xword and Elf64_Sxword for 64-bit entities, o Use Elf_Size in MI code to abstract the difference between Elf32_Word and Elf64_Word. o Add Elf_Ssize as the signed counterpart of Elf_Size. MFC after: 2 weeks Notes: svn path=/head/; revision=153504
* Start the dreaded NOFOO -> NO_FOO conversion.Ruslan Ermilov2004-12-211-1/+1
| | | | | | | OK'ed by: core Notes: svn path=/head/; revision=139103
* For variables that are only checked with defined(), don't provideRuslan Ermilov2004-10-241-1/+1
| | | | | | | any fake value. Notes: svn path=/head/; revision=136910
* Back out the totally unapproved backout of my commits.David E. O'Brien2003-03-292-2/+1
| | | | Notes: svn path=/head/; revision=112767
* Back out the removal (here too) of the "custom" version ofRuslan Ermilov2003-02-192-1/+2
| | | | | | | | | | | | <sys/endian.h>. It is needed to cross-build sparc64 on RELENG_4 and to build sparc64 on say 5.0-DP1 (on systems without <sys/endian.h>). This will be revisited when we create RELENG_5. Spotted by: make universe Notes: svn path=/head/; revision=111130
* Use the offical sys/endian.h rather than reaching way over into anotherDavid E. O'Brien2002-12-302-2/+1
| | | | | | | binary's directory to use a private header. Notes: svn path=/head/; revision=108438
* Adjust path to crunchide.David E. O'Brien2002-12-301-3/+3
| | | | Notes: svn path=/head/; revision=108437
* Set NO_WERROR to ignore the following warning which is emitted onBruce Evans2002-07-111-0/+1
| | | | | | | | | | | | | | alphas: .../elf2aout.c:130: warning: cast increases required alignment of target type The warning is about casting ((char *)e + phoff) to a struct pointer, where e is aligned but phoff might be garbage, so I think the warning should be emitted on most machines (even on i386's, alignment checking might be on) and the correct fix would involve validation phoff before using it. Notes: svn path=/head/; revision=99799
* Make it work for a different endianness binary.Ruslan Ermilov2002-05-252-47/+31
| | | | | | | | | (This version is still limited to ELF64.) Reviewed by: jake Notes: svn path=/head/; revision=97281
* Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1.Ruslan Ermilov2002-05-201-1/+29
| | | | Notes: svn path=/head/; revision=96995
* Kill the stray #include line.Ruslan Ermilov2002-05-201-1/+0
| | | | Notes: svn path=/head/; revision=96982
* s/u_int/u_int32_t/Ruslan Ermilov2002-05-201-8/+9
| | | | Notes: svn path=/head/; revision=96981
* Get byte swapping primitives from sys/endian.h now that they are exportedJake Burkholder2002-05-171-5/+1
| | | | | | | to userland. This makes elf2aout work as a cross tool. Notes: svn path=/head/; revision=96814
* Add a Makefile for this.Jake Burkholder2002-04-221-0/+6
| | | | Notes: svn path=/head/; revision=95237
* Utility to create a.out [kernels] from an ELF one.David E. O'Brien2002-03-281-0/+156
This is needed on sparc64 (and maybe all OpenFirmware based machines) as most [all?] OpenBoot PROM's require either an a.out or FCode boot image. Submitted by: jake Notes: svn path=/head/; revision=93310