summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorNathan Binkert <binkertn@umich.edu>2004-03-24 05:13:49 -0500
committerNathan Binkert <binkertn@umich.edu>2004-03-24 05:13:49 -0500
commit8b0f69166e201bccaeb29ffb28fa662360691c8d (patch)
treeba810e77c204bce9b1f1004659e0b8ea9dca5d0b /base
parent5e3b1f09c89ac962fd8781d4c582fc709deee57b (diff)
downloadgem5-8b0f69166e201bccaeb29ffb28fa662360691c8d.tar.xz
Hacks to make the libelf stuff work in openbsd.
base/loader/elf_object.cc: The symbol versioning stuff screws up OpenBSD. We don't need it anyway --HG-- extra : convert_revision : 736d5c1baaf7f5727665f84cc08e3781e193b389
Diffstat (limited to 'base')
-rw-r--r--base/loader/elf_object.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/base/loader/elf_object.cc b/base/loader/elf_object.cc
index f2a67f22e..b8ffd2b10 100644
--- a/base/loader/elf_object.cc
+++ b/base/loader/elf_object.cc
@@ -36,6 +36,7 @@
// set this now (it causes things to break on 64-bit platforms).
#define __LIBELF64_LINUX 0
#define __LIBELF_NEED_LINK_H 0
+#define __LIBELF_SYMBOL_VERSIONS 0
#include <libelf/libelf.h>
#include <libelf/gelf.h>