Porting uvisor, undefined __uvisor_priv_sys_irq_hooks

I’m trying to port the new uVisor to my board, i just modified the linker script and the the statup, the configuration remain the same as i’ve already ported the last version (mbed OS 3.0 uvisor). But when i compile the whole program, i’m getting this error : undefined reference to `__uvisor_priv_sys_irq_hooks’ :

c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: Warning: alignment 1 of symbol `__uvisor_ps' in ./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(uvisor-output.o) is smaller than 4 in ./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(disabled.o)
./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(uvisor-output.o): In function `uvisor_config':
(.uvisor.main+0x8404): undefined reference to `__uvisor_priv_sys_irq_hooks'
collect2.exe: error: ld returned 1 exit status
[ERROR] c:/program files (x86)/gnu tools arm embedded/5.3 2016q1/bin/../lib/gcc/arm-none-eabi/5.3.1/../../../../arm-none-eabi/bin/ld.exe: Warning: alignment 1 of symbol `__uvisor_ps' in ./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(uvisor-output.o) is smaller than 4 in ./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(disabled.o)
./mbed-os/features/FEATURE_UVISOR/targets/TARGET_UVISOR_SUPPORTED/TARGET_MAX32550/TARGET_DEBUG/TARGET_M3\libconfiguration_maxim_m3_mq55.a(uvisor-output.o): In function `uvisor_config':
(.uvisor.main+0x8404): undefined reference to `__uvisor_priv_sys_irq_hooks'
collect2.exe: error: ld returned 1 exit status

cc @AlessandroA

I tried building for the K64F target and got the same error

Now it’s building, actually we must add these lines in the main :

extern "C" void SVC_Handler(void);
extern "C" void PendSV_Handler(void);
extern "C" void SysTick_Handler(void);
UVISOR_SET_PRIV_SYS_IRQ_HOOKS(SVC_Handler, PendSV_Handler, SysTick_Handler);

Do we have to change all our NVIC_VECTOR functions into vIRQ_ ones ?