source: rtems/c/src/lib/libbsp/bfin/eZKit533/make/custom/eZKit533.cfg @ 32a4aea5

5
Last change on this file since 32a4aea5 was 9008c77, checked in by Joel Sherrill <joel@…>, on 03/10/16 at 20:21:40

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

updates #2577.

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

text data bss dec hex filename

75160 1628 9224 86012 14ffc ticker.exe
49156 1388 5964 56508 dcbc minimum.exe

475080 5708 22440 503228 7adbc fileio.exe
369432 12224 38436 420092 668fc pppd.exe
162344 2284 12136 176764 2b27c capture.exe

90168 1716 9296 101180 18b3c nsecs.exe

152840 2000 9828 164668 2833c paranoia.exe

74168 1628 9192 84988 14bfc base_sp.exe
76520 1656 13020 91196 1643c unlimited.exe
87976 1600 9172 98748 181bc hello.exe

222716 6116 16540 245372 3be7c loopback.exe

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

text data bss dec hex filename

68400 1590 9220 79210 1356a ticker.exe
28220 1265 5700 35185 8971 minimum.exe

458108 5670 22178 485956 76a44 fileio.exe
331040 8892 37588 377520 5c2b0 pppd.exe
151020 2214 12091 165325 285cd capture.exe

83172 1678 9304 94154 16fca nsecs.exe

143360 1958 9804 155122 25df2 paranoia.exe

65208 1586 9216 76010 128ea base_sp.exe
66952 1606 13032 81590 13eb6 unlimited.exe
78016 1538 9196 88750 15aae hello.exe

195396 2834 16368 214598 34646 loopback.exe

  • Property mode set to 100644
File size: 396 bytes
Line 
1#
2#  Config file for Blackfin eZKit533
3#
4
5include $(RTEMS_ROOT)/make/custom/default.cfg
6
7RTEMS_CPU=bfin
8RTEMS_CPU_MODEL=bf533
9
10#  This contains the compiler options necessary to select the CPU model
11#  and (hopefully) optimize for it.
12#
13CPU_CFLAGS =
14
15# optimize flag: typically -O2
16CFLAGS_OPTIMIZE_V = -O2 -g
17CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
18
19LDFLAGS = -Wl,--gc-sections
Note: See TracBrowser for help on using the repository browser.