diff options
author | Alan Modra <amodra@gmail.com> | 2019-09-23 10:04:50 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2019-09-23 10:27:21 +0930 |
commit | a8bfaadbb40406dc795d410d198a4be9d452c177 (patch) | |
tree | 593ae42df1de54a4ae6470a5a48f3b9f32d0ebdf /bfd/cpu-aarch64.h | |
parent | c348479ddd10079b8b8714598d8e1458d25e095d (diff) | |
download | binutils-gdb-a8bfaadbb40406dc795d410d198a4be9d452c177.tar.gz |
aarch64 bfd.h tidy
bfd/
* bfd-in.h: Move aarch64 declarations and defines..
* cpu-aarch64.h: ..to here, new file..
* elfxx-aarch64.h: ..and here.
* cpu-aarch64.c: Include cpu-aarch64.h.
* elfnn-aarch64.c: Likewise.
* bfd-in2.h: Regenerate.
ld/
* emultempl/aarch64elf.em: Include elfxx-aarch64.h.
Diffstat (limited to 'bfd/cpu-aarch64.h')
-rw-r--r-- | bfd/cpu-aarch64.h | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/bfd/cpu-aarch64.h b/bfd/cpu-aarch64.h new file mode 100644 index 00000000000..01acb1ffe20 --- /dev/null +++ b/bfd/cpu-aarch64.h @@ -0,0 +1,25 @@ +/* ELF AArch64 mapping symbol support + 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; see the file COPYING3. If not, + see <http://www.gnu.org/licenses/>. */ + +#define BFD_AARCH64_SPECIAL_SYM_TYPE_MAP (1 << 0) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_TAG (1 << 1) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_OTHER (1 << 2) +#define BFD_AARCH64_SPECIAL_SYM_TYPE_ANY (~0) +extern bfd_boolean bfd_is_aarch64_special_symbol_name + (const char * name, int type); |