aboutsummaryrefslogtreecommitdiff
path: root/sysdeps/linux-gnu/m68k
diff options
context:
space:
mode:
authorPetr Machata <pmachata@redhat.com>2012-01-09 04:29:17 +0100
committerPetr Machata <pmachata@redhat.com>2012-08-29 19:02:08 +0200
commitd5285b23e7e515ccb6afdb82fae32a608bb28a2f (patch)
treecd67d18bef61204ec5c1e037a8a037cf270eb2d7 /sysdeps/linux-gnu/m68k
parent38fb49b852374d749bc91f1b8d91a2b5b2a57a10 (diff)
downloadltrace-d5285b23e7e515ccb6afdb82fae32a608bb28a2f.tar.gz
Declare endianess in arch.h of each architecture
Diffstat (limited to 'sysdeps/linux-gnu/m68k')
-rw-r--r--sysdeps/linux-gnu/m68k/arch.h21
1 files changed, 21 insertions, 0 deletions
diff --git a/sysdeps/linux-gnu/m68k/arch.h b/sysdeps/linux-gnu/m68k/arch.h
index 1790d09..9ca08ca 100644
--- a/sysdeps/linux-gnu/m68k/arch.h
+++ b/sysdeps/linux-gnu/m68k/arch.h
@@ -1,6 +1,27 @@
+/*
+ * This file is part of ltrace.
+ * Copyright (C) 1998,2002,2004 Juan Cespedes
+ *
+ * This program is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU General Public License as
+ * published by the Free Software Foundation; either version 2 of the
+ * License, or (at your option) any later version.
+ *
+ * This program is distributed in the hope that it will be useful, but
+ * WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * General Public License for more details.
+ *
+ * You should have received a copy of the GNU General Public License
+ * along with this program; if not, write to the Free Software
+ * Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA
+ * 02110-1301 USA
+ */
+
#define BREAKPOINT_VALUE { 0x4e, 0x4f }
#define BREAKPOINT_LENGTH 2
#define DECR_PC_AFTER_BREAK 2
+#define ARCH_ENDIAN_BIG
#define LT_ELFCLASS ELFCLASS32
#define LT_ELF_MACHINE EM_68K