]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit
[Morello] Record mapping symbols and mark C64 function symbols as special
authorLuis Machado <luis.machado@arm.com>
Thu, 1 Oct 2020 18:59:23 +0000 (15:59 -0300)
committerLuis Machado <luis.machado@linaro.org>
Tue, 20 Oct 2020 18:06:26 +0000 (15:06 -0300)
commit837afe9d9f60c5984d8934e3ea6a3380e15b7524
tree66b2f6fe57ec78d4b16bc383b26df61a28e53d89
parent69552c4272fcdc140a81aff184aaec791461180e
[Morello] Record mapping symbols and mark C64 function symbols as special

This patch teaches GDB about AArch64 mapping symbols and special minimal
symbols.

FIXME-Morello: This is currently not actively used, but will be used to detect
capability mode functions later.

gdb/ChangeLog:

2020-10-20  Luis Machado  <luis.machado@arm.com>

* aarch64-tdep.c: Include elf-bfd.h.
(MSYMBOL_SET_SPECIAL, MSYMBOL_IS_SPECIAL): New constants.
(aarch64_mapping_symbol): New struct.
(aarch64_mapping_symbol_vec): New typedef.
(aarch64_per_bfd): New struct.
(aarch64_bfd_data_key): New static global.
(aarch64_elf_make_msymbol_special, +aarch64_record_special_symbol): New
function.
(aarch64_gdbarch_init): Register hooks.
gdb/ChangeLog
gdb/aarch64-tdep.c