1
0
mirror of https://git.FreeBSD.org/src.git synced 2024-12-18 10:35:55 +00:00
freebsd/sys/i386/linux
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
..
imgact_linux.c Implement pluggable ioctl handlers. 1999-12-04 11:10:22 +00:00
linux_dummy.c Regen after pointing to the real setres[ug]id(). Remove dummy function. 2000-01-29 12:45:36 +00:00
linux_file.c Implement fdatasync in terms of fsync. The regeneration of proto.h, 1999-11-26 10:20:10 +00:00
linux_genassym.c Include <stddef.h> here so that <sys/assym.h> can be unpolluted. 2000-01-08 19:53:18 +00:00
linux_ioctl.c Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
linux_ioctl.h Fix some style bugs. The long line is in a chunk of code that's 2000-03-13 15:27:19 +00:00
linux_ipc.c Linux doesn't complain if you remove a msg queue that doesn't exist 1999-09-23 09:57:45 +00:00
linux_locore.s Add a per-signal flag to mark handlers registered with osigaction, so we 1999-10-11 20:33:17 +00:00
linux_mib.c Return Linux kernel version 2.2.12 by default. This is in line 2000-01-10 13:09:08 +00:00
linux_mib.h $Id$ -> $FreeBSD$ 1999-08-28 02:16:32 +00:00
linux_misc.c Fix bug in linux_wait4 and linux_waitpid where garbage in the status 2000-03-09 17:52:01 +00:00
linux_proto.h Regen after pointing to the real setres[ug]id(). Remove dummy function. 2000-01-29 12:45:36 +00:00
linux_signal.c Fix LINT breakage. 1999-12-05 18:49:09 +00:00
linux_socket.c Fix accept(2) behavior in that accepted sockets don't inherit the 2000-02-28 18:58:59 +00:00
linux_stats.c Convert the filesystem type returned in struct statfs by syscalls 2000-01-08 21:09:41 +00:00
linux_syscall.h Regen after pointing to the real setres[ug]id(). Remove dummy function. 2000-01-29 12:45:36 +00:00
linux_sysent.c Regen after pointing to the real setres[ug]id(). Remove dummy function. 2000-01-29 12:45:36 +00:00
linux_sysvec.c Change our ELF binary branding to something more acceptable to the Binutils 2000-04-18 02:39:26 +00:00
linux_util.c Introduce NDFREE (and remove VOP_ABORTOP) 1999-12-15 23:02:35 +00:00
linux_util.h Implement pluggable ioctl handlers. 1999-12-04 11:10:22 +00:00
linux.h Implement pluggable ioctl handlers. 1999-12-04 11:10:22 +00:00
Makefile $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.conf $Id$ -> $FreeBSD$ 1999-08-28 01:08:13 +00:00
syscalls.master Use the real setres[ug]id(2) rather than dummy stubs. Newer glibc's 2000-01-29 12:43:29 +00:00