summaryrefslogtreecommitdiff
path: root/src/readelf.c
diff options
context:
space:
mode:
authorChristos Zoulas <christos@zoulas.com>2006-11-07 19:47:22 +0000
committerChristos Zoulas <christos@zoulas.com>2006-11-07 19:47:22 +0000
commit845d2e59d143f0c62158b1af8f855c823425cbc4 (patch)
treeb9385f8254fea6933880b33c84d7f5bd654313a7 /src/readelf.c
parent42a42d34c8d092437d99268412c8862cf700f6c8 (diff)
downloadfile-git-845d2e59d143f0c62158b1af8f855c823425cbc4.tar.gz
Include sparcv9 to the list of machines where we use uint32_t for the
header. This should be __LP64__ or just eliminate the long part of the struct? From Alex Deiter
Diffstat (limited to 'src/readelf.c')
-rw-r--r--src/readelf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/readelf.c b/src/readelf.c
index 1ef1f2e3..cd473e7e 100644
--- a/src/readelf.c
+++ b/src/readelf.c
@@ -37,7 +37,7 @@
#include "readelf.h"
#ifndef lint
-FILE_RCSID("@(#)$Id: readelf.c,v 1.59 2006/10/31 19:37:17 christos Exp $")
+FILE_RCSID("@(#)$Id: readelf.c,v 1.60 2006/11/07 19:47:22 christos Exp $")
#endif
#ifdef ELFCORE
@@ -898,7 +898,7 @@ file_tryelf(struct magic_set *ms, int fd, const unsigned char *buf,
size_t nbytes)
{
union {
-#if defined(__s390x__) || defined(__powerpc64__)
+#if defined(__s390x__) || defined(__powerpc64__) || defined(__sparcv9)
int32_t l;
char c[sizeof (int32_t)];
#else