summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHirokazu Takata <takata@linux-m32r.org>2009-08-30 12:16:01 +0200
committerGuillem Jover <guillem@hadrons.org>2009-08-30 12:16:01 +0200
commit5ac14531b5ffc9e9ea5c890a21e562bf664e0504 (patch)
treec86906af9e951b10349667bd85cfbb6ee265d7c0
parent2543c5a78bc84eca4af52d11b808dc848601e501 (diff)
downloadlibbsd-5ac14531b5ffc9e9ea5c890a21e562bf664e0504.tar.gz
Fix typos in M32R local-elf.h endian definitions
-rw-r--r--src/local-elf.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/local-elf.h b/src/local-elf.h
index 249e6ef..c4fd8d3 100644
--- a/src/local-elf.h
+++ b/src/local-elf.h
@@ -97,9 +97,9 @@
#define ELF_TARG_MACH EM_M32R
#define ELF_TARG_CLASS ELFCLASS32
#if defined(__LITTLE_ENDIAN__)
-#define ELF_DATA ELFDATA2LSB
+#define ELF_TARG_DATA ELFDATA2LSB
#elif defined(__BIG_ENDIAN__)
-#define ELF_DATA ELFDATA2MSB
+#define ELF_TARG_DATA ELFDATA2MSB
#else
#error Unknown M32R endianness
#endif