On Fri, 11 Nov 2016, Jiong Wang wrote:

> 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?

Although as you note duplication has been used before, I think it should 
be strongly discouraged; duplicated files are unlikely to be kept up to 
date with relevant changes to the main file.

-- 
Joseph S. Myers
jos...@codesourcery.com

Reply via email to