Fixed the Stack Overflow issue in linker script