diff options
author | Alan Modra <amodra@gmail.com> | 2022-08-15 10:18:37 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2022-08-15 10:19:57 +0930 |
commit | a9c09a3667cce34a9b5f7f0983254cc66a90e145 (patch) | |
tree | 08c256ffa46ee46ad658ab9ec18939d8255b75f0 /bfd | |
parent | 7cc124ae972d328baa1afc704ae8b812191271c1 (diff) | |
download | gdb-a9c09a3667cce34a9b5f7f0983254cc66a90e145.zip gdb-a9c09a3667cce34a9b5f7f0983254cc66a90e145.tar.gz gdb-a9c09a3667cce34a9b5f7f0983254cc66a90e145.tar.bz2 |
aarch64_pei_vec
I know this target is just a skeleton, but let's not write out relocs
with uninitialised garbage.
* coff-aarch64.c (SWAP_IN_RELOC_OFFSET): Define.
(SWAP_OUT_RELOC_OFFSET): Define.
Diffstat (limited to 'bfd')
-rw-r--r-- | bfd/coff-aarch64.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/coff-aarch64.c b/bfd/coff-aarch64.c index e22ef3c..e6f2fc2 100644 --- a/bfd/coff-aarch64.c +++ b/bfd/coff-aarch64.c @@ -72,6 +72,10 @@ static reloc_howto_type pe_aarch64_std_reloc_howto[] = #define bfd_pe_print_pdata NULL #endif +/* Handle include/coff/aarch64.h external_reloc. */ +#define SWAP_IN_RELOC_OFFSET H_GET_32 +#define SWAP_OUT_RELOC_OFFSET H_PUT_32 + /* Return TRUE if this relocation should appear in the output .reloc section. */ |