summaryrefslogtreecommitdiff
path: root/configure.ac
diff options
context:
space:
mode:
authorEdgar E. Iglesias <edgar.iglesias@gmail.com>2010-07-06 14:21:07 +0200
committerDmitry V. Levin <ldv@altlinux.org>2010-08-05 20:04:50 +0000
commit939caba68e93a51e537f29c3bd778dea1f081157 (patch)
treeeb5be9d109f7f7e243cb5a9b87f1a87823932680 /configure.ac
parentb7915d15b813c56a36510e942fa4e5ec21307924 (diff)
downloadstrace-939caba68e93a51e537f29c3bd778dea1f081157.tar.gz
Add support for the MicroBlaze architecture
* configure.ac: Recognize MicroBlaze. * linux/microblaze/syscallent.h: New file. * Makefile.am (EXTRA_DIST): Add linux/microblaze/syscallent.h * process.c (change_syscall, struct_user_offsets): Add MicroBlaze support. * signal.c (sys_sigreturn): Likewise. * syscall.c (internal_syscall, get_scno, syscall_fixup, get_error, syscall_enter): Likewise. Signed-off-by: Edgar E. Iglesias <edgar.iglesias@gmail.com> Signed-off-by: Michal Simek <monstr@monstr.eu>
Diffstat (limited to 'configure.ac')
-rw-r--r--configure.ac4
1 files changed, 4 insertions, 0 deletions
diff --git a/configure.ac b/configure.ac
index 40fa15b97..96a9a66ab 100644
--- a/configure.ac
+++ b/configure.ac
@@ -127,6 +127,10 @@ tile*)
arch=tile
AC_DEFINE([TILE], 1, [Define for the Tile architecture])
;;
+microblaze*)
+ arch=microblaze
+ AC_DEFINE([MICROBLAZE], 1, [Define for the MicroBlaze architecture.])
+ ;;
*)
AC_MSG_RESULT([NO!])
AC_MSG_ERROR([architecture $host_cpu is not supported by strace])