diff options
author | Ryan Flux <ryan.flux@emsolutions.com.au> | 2011-10-04 10:50:49 +1000 |
---|---|---|
committer | Bernhard Reutner-Fischer <rep.dot.nop@gmail.com> | 2011-10-06 22:22:25 +0200 |
commit | 331b43717229eaad2a95bf420f5100079bd53683 (patch) | |
tree | 784606042014321101c611ef4650b1b6aacff76a /utils | |
parent | cc5499a6a678e4caf1b06f33192de84d5ab88fd5 (diff) |
microblaze mmu/elf/shared lib support
microblaze can either be with mmu or without
If with, use elf rather than flat, and support shared libs
Signed-off-by: Ryan Flux <ryan.flux@emsolutions.com.au>
Signed-off-by: Steve Bennett <steveb@workware.net.au>
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'utils')
-rw-r--r-- | utils/ldd.c | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/utils/ldd.c b/utils/ldd.c index 904075c23..6d08efd54 100644 --- a/utils/ldd.c +++ b/utils/ldd.c @@ -101,6 +101,11 @@ #define ELFCLASSM ELFCLASS64 #endif +#if defined(__microblaze__) +#define MATCH_MACHINE(x) (x == EM_MICROBLAZE_OLD) +#define ELFCLASSM ELFCLASS32 +#endif + #ifndef MATCH_MACHINE # ifdef __linux__ # include <asm/elf.h> |