diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-23 10:06:45 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-23 10:27:21 +0930 |
commit | f37164d78b0d9600862b7038b896922127749b52 (patch) | |
tree | 8cba4ad4f4736f03cbb53e2c90284443492ebd0f /bfd/cpu-arm.h | |
parent | 79c2ce54e1e52e5d63d96af56c544de778036a12 (diff) | |
download | gdb-f37164d78b0d9600862b7038b896922127749b52.zip gdb-f37164d78b0d9600862b7038b896922127749b52.tar.gz gdb-f37164d78b0d9600862b7038b896922127749b52.tar.bz2 |
arm bfd.h tidy
bfd/
* bfd-in.h: Move arm declaraions..
* cpu-arm.h: ..to here, new file..
* coff-arm.h: ..and here, new file..
* elf32-arm.h: ..and here, new file.
* cpu-arm.c: Include cpu-arm.h.
* coff-arm.c: Include cpu-arm.h and coff-arm.h.
* elf32-arm.c: Include cpu-arm.h and elf32-arm.h.
* pe-arm.c: Move function rename defines later.
* pe-arm-wince.c: Likewise and include sysdep.h and bfd.h early.
* bfd-in2.h: Regenerate.
gas/
* config/tc-arm.c: Include cpu-arm.h.
ld/
* emultempl/armelf.em: Include elf32-arm.h.
* emultempl/pe.em: Move func defines later and include coff-arm.h.
Diffstat (limited to 'bfd/cpu-arm.h')
-rw-r--r-- | bfd/cpu-arm.h | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/bfd/cpu-arm.h b/bfd/cpu-arm.h new file mode 100644 index 0000000..116b040 --- /dev/null +++ b/bfd/cpu-arm.h @@ -0,0 +1,39 @@ +/* BFD support for the ARM processor + 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. */ + +/* ARM Note section processing. */ +extern bfd_boolean bfd_arm_merge_machines + (bfd *, bfd *); + +extern bfd_boolean bfd_arm_update_notes + (bfd *, const char *); + +extern unsigned int bfd_arm_get_mach_from_notes + (bfd *, const char *); + +/* ELF ARM mapping symbol support. */ +#define BFD_ARM_SPECIAL_SYM_TYPE_MAP (1 << 0) +#define BFD_ARM_SPECIAL_SYM_TYPE_TAG (1 << 1) +#define BFD_ARM_SPECIAL_SYM_TYPE_OTHER (1 << 2) +#define BFD_ARM_SPECIAL_SYM_TYPE_ANY (~0) + +extern bfd_boolean bfd_is_arm_special_symbol_name + (const char *, int); + |