This is the mail archive of the libc-alpha@sourceware.org mailing list for the glibc project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[PATCH] Allow different values than ELFOSABI_SYSV for ELF OSABI


Hi all,

Currently the GNU libc assumes that all binary files have the ELF OSABI
field set to ELFOSABI_SYSV aka ELFOSABI_NONE. This is a problem on a
FreeBSD kernel, as it expects files to have the OSABI field set to
ELFOSABI_FREEBSD.

Please find attached a patch that makes possible the definition of the
OSABI in sysdeps/.../dl-machine.h. Note that ELFOSABI_SYSV is still the
default value.

Thanks,
Aurelien


2006-01-22  Aurelien Jarno  <aurelien@aurel32.net>

	* elf/dl-load.c: Use ELF_OSABI instead of ELFOSABI_SYSV. Default 
	  ELF_OSABI to ELFOSABI_SYSV.

-- 
  .''`.  Aurelien Jarno	            | GPG: 1024D/F1BCDB73
 : :' :  Debian developer           | Electrical Engineer
 `. `'   aurel32@debian.org         | aurelien@aurel32.net
   `-    people.debian.org/~aurel32 | www.aurel32.net

Attachment: libc-elfosabi.patch
Description: Text document


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]