On 11/11/16 18:22, Jiong Wang wrote:
We need customized EH unwinder support for AArch64 DWARF operations introduced earlier in this patchset, these changes mostly need to be done in the generic file unwind-dw2.c.There are two ways of introducing these AArch64 support: * Introducing a few target macros so we can customize functions like uw_init_context, uw_install_context etc. * Use target private unwind-dw2 implementation, i.e duplicate the generic unwind-dw2.c into target config directory and use it instead of generic one. This is current used by IA64 and CR16 is using. I am not sure which approach is the convention in libgcc, Ian, any comments on this? Thanks. This patch is the start of using approach 2 includes necessary Makefile support and copying of original unwind-dw2.c. A follow up patch will implement those AArch64 specific stuff so the change will be very clear. OK for trunk? libgcc/ 2016-11-08 Jiong Wang<[email protected]> * config.host (aarch64*-*-elf, aarch64*-*-rtems*, aarch64*-*-linux*): Include new AArch64 EH makefile. * config/aarch64/t-eh-aarch64: New EH makefile. * config/aarch64/unwind-aarch64.c: New EH unwinder implementation, copied from unwind-dw2.c.
Ping ~ No change on this patch for new DWARF proposal.
