svn commit: r260792 - projects/elftoolchain/contrib/elftoolchain/libelf

Kai Wang kaiw at FreeBSD.org
Thu Jan 16 21:47:28 UTC 2014


Author: kaiw
Date: Thu Jan 16 21:47:27 2014
New Revision: 260792
URL: http://svnweb.freebsd.org/changeset/base/260792

Log:
  Use FreeBSD's ELF headers instead of the elfdefinitions.h header which
  comes with elftoolchain. This version of libelf doesn't need to be
  portable; using FreeBSD's own ELF headers will avoid conflicts and
  make integration easier.

Modified:
  projects/elftoolchain/contrib/elftoolchain/libelf/libelf.h

Modified: projects/elftoolchain/contrib/elftoolchain/libelf/libelf.h
==============================================================================
--- projects/elftoolchain/contrib/elftoolchain/libelf/libelf.h	Thu Jan 16 21:46:43 2014	(r260791)
+++ projects/elftoolchain/contrib/elftoolchain/libelf/libelf.h	Thu Jan 16 21:47:27 2014	(r260792)
@@ -30,8 +30,8 @@
 #define	_LIBELF_H_
 
 #include <sys/types.h>
-
-#include <elfdefinitions.h>
+#include <sys/elf32.h>
+#include <sys/elf64.h>
 
 /* Library private data structures */
 typedef struct _Elf Elf;


More information about the svn-src-projects mailing list