r1129 - trunk/glibc-2.3-head/sysdeps/kfreebsd
Author: aurel32
Date: 2006-02-04 18:33:15 +0000 (Sat, 04 Feb 2006)
New Revision: 1129
Modified:
trunk/glibc-2.3-head/sysdeps/kfreebsd/dl-machine.h
Log:
Oops, we are using ELFOSABI_FREEBSD, not ELFOSABI_SYSV
Modified: trunk/glibc-2.3-head/sysdeps/kfreebsd/dl-machine.h
===================================================================
--- trunk/glibc-2.3-head/sysdeps/kfreebsd/dl-machine.h 2006-02-04 18:32:19 UTC (rev 1128)
+++ trunk/glibc-2.3-head/sysdeps/kfreebsd/dl-machine.h 2006-02-04 18:33:15 UTC (rev 1129)
@@ -21,7 +21,7 @@
/* Contrary to most kernels which use ELFOSABI_SYSV aka ELFOSABI_NONE,
FreeBSD uses ELFOSABI_FREEBSD for the OSABI field. */
-# define VALID_ELF_OSABI(osabi) (osabi == ELFOSABI_SYSV)
+# define VALID_ELF_OSABI(osabi) (osabi == ELFOSABI_FREEBSD)
# define VALID_ELF_ABIVERSION(ver) (ver == 0)
# define VALID_ELF_HEADER(hdr,exp,size) \
memcmp (hdr,exp,size-2) == 0 \
Reply to: