summaryrefslogtreecommitdiffstats
path: root/usr.bin
diff options
context:
space:
mode:
authorsteve <steve@FreeBSD.org>2000-04-02 20:22:04 +0000
committersteve <steve@FreeBSD.org>2000-04-02 20:22:04 +0000
commite963b3d27ccfb1151f2370fce145c1396fa16879 (patch)
treeae9429260bf2d2d6cde18e8e2eda11df5e200cf9 /usr.bin
parentcf3efd59268229810680ed6ba20921b03eb04ccb (diff)
downloadFreeBSD-src-e963b3d27ccfb1151f2370fce145c1396fa16879.zip
FreeBSD-src-e963b3d27ccfb1151f2370fce145c1396fa16879.tar.gz
The FreeBSD/Sparc64 port will also have an __ELF_WORD_SIZE of 64.
Diffstat (limited to 'usr.bin')
-rw-r--r--usr.bin/genassym/genassym.c2
-rw-r--r--usr.bin/gensetdefs/gensetdefs.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/usr.bin/genassym/genassym.c b/usr.bin/genassym/genassym.c
index 52a1877..5d4a543 100644
--- a/usr.bin/genassym/genassym.c
+++ b/usr.bin/genassym/genassym.c
@@ -32,7 +32,7 @@
#if defined(arch_i386)
#include <sys/elf32.h>
#define __ELF_WORD_SIZE 32
-#elif defined(arch_alpha)
+#elif defined(arch_alpha) || defined(arch_sparc64)
#include <sys/elf64.h>
#define __ELF_WORD_SIZE 64
#else
diff --git a/usr.bin/gensetdefs/gensetdefs.c b/usr.bin/gensetdefs/gensetdefs.c
index dd8765b..e5d15a0 100644
--- a/usr.bin/gensetdefs/gensetdefs.c
+++ b/usr.bin/gensetdefs/gensetdefs.c
@@ -30,7 +30,7 @@
#if defined(arch_i386)
#define __ELF_WORD_SIZE 32
#include <sys/elf32.h>
-#elif defined(arch_alpha)
+#elif defined(arch_alpha) || defined(arch_sparc64)
#define __ELF_WORD_SIZE 64
#include <sys/elf64.h>
#endif
OpenPOWER on IntegriCloud