[Glibc-bsd-commits] r5801 - trunk/glibc-ports/kfreebsd

aurel32 at alioth.debian.org aurel32 at alioth.debian.org
Tue Oct 20 15:09:41 UTC 2015


Author: aurel32
Date: 2015-10-20 15:09:41 +0000 (Tue, 20 Oct 2015)
New Revision: 5801

Modified:
   trunk/glibc-ports/kfreebsd/ldsodefs.h
Log:
glibc now provides a generic GNU ldsodefs.h, use #undef to override the values


Modified: trunk/glibc-ports/kfreebsd/ldsodefs.h
===================================================================
--- trunk/glibc-ports/kfreebsd/ldsodefs.h	2015-10-20 15:03:17 UTC (rev 5800)
+++ trunk/glibc-ports/kfreebsd/ldsodefs.h	2015-10-20 15:09:41 UTC (rev 5801)
@@ -38,9 +38,11 @@
 
 /* Contrary to most kernels which use ELFOSABI_SYSV aka ELFOSABI_NONE,
    FreeBSD uses ELFOSABI_FREEBSD for the OSABI field. */
+#undef VALID_ELF_HEADER
 #define VALID_ELF_HEADER(hdr,exp,size)	(memcmp (hdr, expected2, size) == 0)
+#undef VALID_ELF_OSABI
 #define VALID_ELF_OSABI(osabi)		(osabi == ELFOSABI_FREEBSD)
-#define VALID_ELF_ABIVERSION(osabi,ver) (ver == 0)
+#undef MORE_ELF_HEADER_DATA
 #define MORE_ELF_HEADER_DATA \
   static const unsigned char expected2[EI_PAD] =	\
   {							\




More information about the Glibc-bsd-commits mailing list