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.

TM4C123GH6PM: Code generated in data area, re-visited

Part Number: TM4C123GH6PM

Still a newbie.
Last week I reported a problem with code generated in the data area with the following simple assembly program:

;Test.s
THUMB
AREA CODE, READONLY
Start
mov r0, #1
ALIGN
END

I then added |.text| and EXPORT directives.

;Test.s
THUMB
AREA |.text|,CODE, READONLY
EXPORT Start
Start
mov r0, #1
ALIGN
END

This test program builds and loads correctly.

Without the |.text| directive, the program generates code in the data area and without the EXPORT directive
the assembler reports:
.\Objects\LED_IO.axf: Error: L6218E: Undefined symbol Start (referred from startup.o).

I can understand the EXPORT explanation but what exactly is happening with the |.text| directive?