aboutsummaryrefslogtreecommitdiff
path: root/bfd/cpu-m68k.h
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-09-23 10:11:29 +0930
committerAlan Modra <amodra@gmail.com>2019-09-23 10:27:22 +0930
commitf5c5b7c124934b464b67c7c3c53a1c62a7f4e98a (patch)
tree20acecd82556ebd7cdbb007b309d7ff1bd2a8605 /bfd/cpu-m68k.h
parent8410a6589d7fd1e02489e7ab57bda0fcba305dba (diff)
downloadgdb-f5c5b7c124934b464b67c7c3c53a1c62a7f4e98a.zip
gdb-f5c5b7c124934b464b67c7c3c53a1c62a7f4e98a.tar.gz
gdb-f5c5b7c124934b464b67c7c3c53a1c62a7f4e98a.tar.bz2
m68k bfd.h tidy
bfd/ * bfd-in.h: Move m68k function declaration.. * cpu-m68k.h: ..to here, new file.. * elf32-m68k.h: ..and here, new file. * elf32-m68k.c: Include cpu-m68k.h and elf32-m68k.h. * bfd-in2.h: Regenerate. ld/ * emultempl/m68kelf.em: Include elf32-m68k.h. opcodes/ * m68k-dis.c: Include cpu-m68k.h
Diffstat (limited to 'bfd/cpu-m68k.h')
-rw-r--r--bfd/cpu-m68k.h23
1 files changed, 23 insertions, 0 deletions
diff --git a/bfd/cpu-m68k.h b/bfd/cpu-m68k.h
new file mode 100644
index 0000000..aed97db
--- /dev/null
+++ b/bfd/cpu-m68k.h
@@ -0,0 +1,23 @@
+/* BFD library support routines.
+ Copyright (C) 2019 Free Software Foundation, Inc.
+
+ This file is part of BFD, the Binary File Descriptor library.
+
+ 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 3 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 Street - Fifth Floor, Boston,
+ MA 02110-1301, USA. */
+
+extern unsigned bfd_m68k_mach_to_features (int);
+
+extern int bfd_m68k_features_to_mach (unsigned);