
9 Oct
2015
9 Oct
'15
4:48 p.m.
On Friday, October 09, 2015 at 10:45:56 AM, Thomas Chou wrote:
Hi Ley Foon,
On 10/09/2015 10:51 AM, Ley Foon Tan wrote:
+static void copy_exception_trampoline(void) +{
extern int _except_start, _except_end;
Can we use void* for _except_start and _except_end?
Yes, we can. Actually I used void * at first draft of this patch v1. But it doesn't work. We still need to get the address with '&' operator as in v2. I think it is confusing with void *, so I use int instead. But anything will do.
I think extern void * might work, but extern int is also OK when referencing external symbol.
Best regards, Marek Vasut