svn commit: r304559 - head/sys/compat/cloudabi64

Ed Schouten ed at FreeBSD.org
Sun Aug 21 15:37:51 UTC 2016


Author: ed
Date: Sun Aug 21 15:37:49 2016
New Revision: 304559
URL: https://svnweb.freebsd.org/changeset/base/304559

Log:
  Don't forget to define __ELF_WORD_SIZE.
  
  Without it, we only obtain the ELF types native to the system. In this
  we explicitly want the 64-bit versions.

Modified:
  head/sys/compat/cloudabi64/cloudabi64_util.h

Modified: head/sys/compat/cloudabi64/cloudabi64_util.h
==============================================================================
--- head/sys/compat/cloudabi64/cloudabi64_util.h	Sun Aug 21 15:36:18 2016	(r304558)
+++ head/sys/compat/cloudabi64/cloudabi64_util.h	Sun Aug 21 15:37:49 2016	(r304559)
@@ -29,6 +29,7 @@
 #define	_CLOUDABI64_UTIL_H_
 
 #include <sys/types.h>
+#define	__ELF_WORD_SIZE	64
 #include <sys/imgact_elf.h>
 
 #include <contrib/cloudabi/cloudabi64_types.h>


More information about the svn-src-all mailing list