just pulled down v4.5.2 of the TI arm compiler, and built some reference applications using --abi=eabi (ELF) and --abi=ti_arm9_abi (COFF).... in general, the .text section of the eabi (ELF) version is about 10% larger; looking at the sizes of individual functions reported in the linker map confirms this.... here's a snip from an ELF map....
.text 0 00000000 00000978
00000000 00000383 App_xv7M3-TI-E.ov7M3-TI-E (.text:xdc_runtime_System_doPrint__I)
00000383 00000001 --HOLE-- [fill = 0]
00000384 000000e8 App_xv7M3-TI-E.ov7M3-TI-E (.text:xdc_runtime_Startup_startMods__I)
0000046c 000000d4 App_xv7M3-TI-E.ov7M3-TI-E (.text:xdc_runtime_System_printfExtend__I)
and here's the corresponding snip from the COFF map....
.text 0 00000000 00000896
00000000 0000032f App_xv7M3-TI-C.ov7M3-TI-C (.text:_xdc_runtime_System_doPrint__I)
0000032f 00000001 --HOLE-- [fill = 0]
00000330 000000e8 App_xv7M3-TI-C.ov7M3-TI-C (.text:_xdc_runtime_Startup_startMods__I)
00000418 000000bc App_xv7M3-TI-C.ov7M3-TI-C (.text:_xdc_runtime_System_printfExtend__I)
while some functions show no change in size, others show quite a bit of growth....
is there something in the eabi spec (versus the TI arm9_abi) that accounts for this growth in program size on a per-function basis??? note that in both cases, i'm using conditional linking to eliminating unreferenced functions; the problem is that the functions which remain are somewhat larger.... otherwise, the options used to build these applications are identical in the ELF vs COFF cases
has anyone else observed this using the TI arm compiler???