Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 May 2020 22:19:43 +0000 (UTC)
From:      Ed Maste <emaste@FreeBSD.org>
To:        src-committers@freebsd.org, svn-src-all@freebsd.org, svn-src-stable@freebsd.org, svn-src-stable-12@freebsd.org
Subject:   svn commit: r361304 - stable/12/contrib/elftoolchain/libelf
Message-ID:  <202005202219.04KMJhig026667@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: emaste
Date: Wed May 20 22:19:43 2020
New Revision: 361304
URL: https://svnweb.freebsd.org/changeset/base/361304

Log:
  MFC r361104 (jhibbits): elftoolchain: Add powerpc64 definition
  
  powerpc is already in place, but powerpc64 is needed separately.

Modified:
  stable/12/contrib/elftoolchain/libelf/_libelf_config.h
Directory Properties:
  stable/12/   (props changed)

Modified: stable/12/contrib/elftoolchain/libelf/_libelf_config.h
==============================================================================
--- stable/12/contrib/elftoolchain/libelf/_libelf_config.h	Wed May 20 22:08:26 2020	(r361303)
+++ stable/12/contrib/elftoolchain/libelf/_libelf_config.h	Wed May 20 22:19:43 2020	(r361304)
@@ -91,6 +91,12 @@
 #endif
 #define	LIBELF_CLASS		ELFCLASS32
 
+#elif	defined(__powerpc64__)
+
+#define	LIBELF_ARCH		EM_PPC64
+#define	LIBELF_BYTEORDER	ELFDATA2MSB
+#define	LIBELF_CLASS		ELFCLASS64
+
 #elif	defined(__powerpc__)
 
 #define	LIBELF_ARCH		EM_PPC



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202005202219.04KMJhig026667>