Commit Graph

13 Commits

Author SHA1 Message Date
Pedro F. Giffuni
1de7b4b805 various: general adoption of SPDX licensing ID tags.
Mainly focus on files that use BSD 2-Clause license, however the tool I
was using misidentified many licenses so this was mostly a manual - error
prone - task.

The Software Package Data Exchange (SPDX) group provides a specification
to make it easier for automated tools to detect and summarize well known
opensource licenses. We are gradually adopting the specification, noting
that the tags are considered only advisory and do not, in any way,
superceed or replace the license texts.

No functional change intended.
2017-11-27 15:37:16 +00:00
Ruslan Ermilov
a66d183c7b Make manpage's SYNOPSIS match program's usage().
Submitted by:	Alexander Best (manpage)
2010-02-12 15:07:24 +00:00
Xin LI
3254fa322f Because optarg and optind are defined in unistd.h,
remove the defination here.
2006-04-21 09:39:51 +00:00
Marcel Moolenaar
757686b115 Make our ELF64 type definitions match standards. In particular this
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
2005-12-18 04:52:37 +00:00
David E. O'Brien
2d57da023a Back out the totally unapproved backout of my commits. 2003-03-29 03:03:42 +00:00
Ruslan Ermilov
112dc321de Back out the removal (here too) of the "custom" version of
<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
2003-02-19 15:25:07 +00:00
David E. O'Brien
6502570bbe Use the offical sys/endian.h rather than reaching way over into another
binary's directory to use a private header.
2002-12-30 09:58:20 +00:00
Ruslan Ermilov
1c3fc710e2 Make it work for a different endianness binary.
(This version is still limited to ELF64.)

Reviewed by:	jake
2002-05-25 13:43:16 +00:00
Ruslan Ermilov
b501b9b5c1 Bootstrap elf2aout(1) for sparc64; used to build sys/boot/sparc64/boot1. 2002-05-20 14:42:48 +00:00
Ruslan Ermilov
fa7e3ca68a Kill the stray #include line. 2002-05-20 08:05:58 +00:00
Ruslan Ermilov
8aa98dece2 s/u_int/u_int32_t/ 2002-05-20 07:56:40 +00:00
Jake Burkholder
fa5fb2ec22 Get byte swapping primitives from sys/endian.h now that they are exported
to userland.  This makes elf2aout work as a cross tool.
2002-05-17 15:46:08 +00:00
David E. O'Brien
5d5aa91800 Utility to create a.out [kernels] from an ELF one.
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
2002-03-28 02:17:27 +00:00