This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

TM4C1294KCPDT: Position independent code with gcc

Part Number: TM4C1294KCPDT

Hello there

I'm trying to compile and run position independent code on the TM4C129KC. The compiling works but when trying to run the the start up routine fails when trying to cpy the data segment initializers from flash to SRAM. It seems like the linker symbols _text, _etext, _data and _edata aren't initialized correctly. I'm using the -fpic command together with gcc.

Has anyone experienced the same problem?