source: rtems/c/src/lib/libbsp/bfin/TLL6527M/make/custom/TLL6527M.cfg @ 22e8c5a3

5
Last change on this file since 22e8c5a3 was 74ad76a, checked in by Joel Sherrill <joel@…>, on 03/10/16 at 20:36:25

bfin/TLL6527M: Add per-section compilation and linking support

updates #2577.

For the TLL6527M BSP variant without this option sample executables
sizes were as follows:

text data bss dec hex filename

74696 1660 71544 147900 241bc ticker.exe
48756 1420 68348 118524 1cefc minimum.exe

474520 5740 84792 565052 89f3c fileio.exe
368744 12256 100788 481788 759fc pppd.exe
161848 2316 74488 238652 3a43c capture.exe

89704 1748 71680 163132 27d3c nsecs.exe

152376 2032 72148 226556 374fc paranoia.exe

73704 1660 71512 146876 23dbc base_sp.exe
76120 1688 75404 153212 2567c unlimited.exe
87576 1632 71556 160764 273fc hello.exe

222172 6148 78876 307196 4affc loopback.exe

For the TLL6527M BSP variant with this option sample executables
sizes were as follows:

text data bss dec hex filename

68760 1622 71552 141934 22a6e ticker.exe
28332 1265 68048 97645 17d6d minimum.exe

458400 5702 84514 548616 85f08 fileio.exe
331196 8924 99932 440052 6b6f4 pppd.exe
151356 2246 74447 228049 37ad1 capture.exe

83528 1710 71640 156878 264ce nsecs.exe

143724 1990 72132 217846 352f6 paranoia.exe

65572 1618 71544 138734 21dee base_sp.exe
67368 1638 75372 144378 233fa unlimited.exe
78444 1570 71524 151538 24ff2 hello.exe

195680 2866 78712 277258 43b0a loopback.exe

  • Property mode set to 100644
File size: 442 bytes
RevLine 
[ad65fc7f]1#
2#  Config file for Blackfin TLL6527M
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=bfin
8RTEMS_CPU_MODEL=bf52x
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS =-mcpu=bf527
14
15# optimize flag: typically -O2
16# gcc-4.2.0 segfaults on -OX > -O0
17CFLAGS_OPTIMIZE_V = -O2 -g
[74ad76a]18CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
19
20LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.