HardenedBSD/contrib
David E. O'Brien c815a20cb2 Change our ELF binary branding to something more acceptable to the Binutils
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.
  *
2000-04-18 02:39:26 +00:00
..
amd
awk
bc
bind
binutils Change our ELF binary branding to something more acceptable to the Binutils 2000-04-18 02:39:26 +00:00
com_err
cpio
cvs
diff
gcc Sparc64 configure section. 2000-04-06 09:27:38 +00:00
gdb
global
gperf
groff
ipfilter
isc-dhcp
libf2c
libgmp This commit was generated by cvs2svn to compensate for changes in r59325, 2000-04-17 18:45:32 +00:00
libio
libobjc
libpam
libpcap
libreadline
libstdc++ This commit was generated by cvs2svn to compensate for changes in r58809, 2000-03-30 03:23:37 +00:00
ncurses
ntp
nvi
opie Allow applications to disable the installation of the atexit() handler 2000-04-17 00:01:23 +00:00
patch
perl5
pnpinfo
sendmail
tcp_wrappers
tcpdump
tcsh Import the latest version of the 44BSD C-shell -- tcsh-6.09. 2000-04-15 04:41:27 +00:00
telnet
texinfo
top
traceroute Correct FreeBSD id place. Also correct vendor rcsid. 2000-03-30 15:23:44 +00:00