filename | src/x86dasm/sysdep.h |
changeset | 362:dc40e2064dc4 |
next | 755:ab873907b00e |
author | nkeynes |
date | Tue Sep 04 08:32:10 2007 +0000 (16 years ago) |
permissions | -rw-r--r-- |
last change | Change sh4x86 test to translate/disasm full basic blocks Add prelim sym-tab support |
file | annotate | diff | log | raw |
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +00001.2 +++ b/src/x86dasm/sysdep.h Tue Sep 04 08:32:10 2007 +00001.3 @@ -0,0 +1,42 @@1.4 +/* Random host-dependent support code.1.5 + Copyright 1995, 1997, 2000 Free Software Foundation, Inc.1.6 + Written by Ken Raeburn.1.7 +1.8 +This file is part of libopcodes, the opcodes library.1.9 +1.10 +This program is free software; you can redistribute it and/or modify1.11 +it under the terms of the GNU General Public License as published by1.12 +the Free Software Foundation; either version 2 of the License, or1.13 +(at your option) any later version.1.14 +1.15 +This program is distributed in the hope that it will be useful,1.16 +but WITHOUT ANY WARRANTY; without even the implied warranty of1.17 +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the1.18 +GNU General Public License for more details.1.19 +1.20 +You should have received a copy of the GNU General Public License1.21 +along with this program; if not, write to the Free Software1.22 +Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */1.23 +1.24 +/* Do system-dependent stuff, mainly driven by autoconf-detected info.1.25 +1.26 + Well, some generic common stuff is done here too, like including1.27 + ansidecl.h. That's because the .h files in bfd/hosts files I'm1.28 + trying to replace often did that. If it can be dropped from this1.29 + file (check in a non-ANSI environment!), it should be. */1.30 +1.31 +#include "config.h"1.32 +1.33 +#include "ansidecl.h"1.34 +1.35 +#ifdef HAVE_STDLIB_H1.36 +#include <stdlib.h>1.37 +#endif1.38 +1.39 +#ifdef HAVE_STRING_H1.40 +#include <string.h>1.41 +#else1.42 +#ifdef HAVE_STRINGS_H1.43 +#include <strings.h>1.44 +#endif1.45 +#endif
.