Hi,
We are trying to move from segger studio build environment to GCC/Make starting from the Example Makefile and adding source files and includes. The project consists of a softdevice (s132), bootloader and application.
The issue is that we enter the hardfault handler in the bootloader. See the backtrace log below.

What is also quite weird is that after resetting the device we now get a hardfault at __libc_init_array, i.e. way before main() is called upon. If an --eraseall is performed and re-flashing the device we get the error above again.

I have no clue as to what causes this, the SDK_CONFIG is unchanged. Pretty much the same flags is used except for the SES flags and the startup file is changed to the gcc variant from the ses one.
Thanks for the help in advance!