Part Number: AM4376
Tool/software: Code Composer Studio
CCS10, PDK pdk_am437x_1_0_15. Create and app using CCS (Helloworld). Set -marm -mfloat-abi=hard -mfpu=neon and see the linker map file. It points to thumb instruction set. If the flag is set to just -marm -mfloat-abi=hard then it uses lib/hard instead of thumb. Not sure why the thumb static libraries are linked when the FPU flag is set.
When -mfpu=neon
*startup_ARMCA9.o(.text)
*(.text*)
.text 0x80000000 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7-ar/fpv3/hard/crti.o
.text 0x80000000 0x50 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/thumb/v7-ar/fpv3/hard/crtbegin.o
.text 0x80000050 0x74 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar/fpv3/hard/crt0.o
0x80000050 _start
0x80000050 _mainCRTStartup
.text 0x800000c4 0x3c8 C:/Users/akcheria/T1/__syncError/out/obj/main_A.o
0x800000c4 getCRC(unsigned char)
0x800000f8 crc32(void const*, unsigned int, unsigned long)
0x800001e8 crc32y(void const*, unsigned int, unsigned long)
0x800002cc littlemain
0x80000480 main
.text 0x8000048c 0x60 C:/Users/akcheria/T1/__syncError/out/obj/startup_ARMCA9_A.o
0x8000048c Entry
.text 0x800004ec 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar/fpv3/hard\libg.a(lib_a-exit.o)
.text.exit 0x800004ec 0x20 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/thumb/v7-ar/fpv3/hard\libg.a(lib_a-exit.o)
0x800004ec exit
When -mfpu=neon is NOT set
.text 0x80000000 0xb4 C:/SCM/CORE/Project_Software_Eng/Code_PI/CoreACE/TargetLibs/TARG_Tx_CoreBoard/Tx_Port/out/libtx_coreboard_A.a(init.o)
0x80000000 Entry
.text 0x800000b4 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/hard\libstdc++_nano.a(ios_init.o)
.text 0x800000b4 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/hard\libstdc++_nano.a(locale_init.o)
.text 0x800000b4 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/hard\libstdc++_nano.a(cow-locale_init.o)
.text 0x800000b4 0x0 c:/ti/gcc-arm-none-eabi-7-2018-q2-update/bin/../lib/gcc/arm-none-eabi/7.3.1/../../../../arm-none-eabi/lib/hard\libg.a(lib_a-init.o)