source: rtems/bsps/powerpc/ss555/config/ss555.cfg @ 90232bc

5
Last change on this file since 90232bc was 8b6273a8, checked in by Shashvat Jain <shashvatjain2002@…>, on 11/30/18 at 15:03:25

powerpc/ss555:Add per-section compilation and linking support(GCI 2018)

The size of the sample executables without this option were:

text data bss dec hex filename

116512 1340 15400 133252 20884 ./base_sp.exe
246172 2328 18324 266824 41248 ./capture.exe
319368 3520 16496 339384 52db8 ./cdtest.exe

1077464 22428 23284 1123176 112368 ./cxx_iostream.exe

640632 4916 28408 673956 a48a4 ./fileio.exe
148844 1692 15572 166108 288dc ./hello.exe
328648 6252 22408 357308 573bc ./loopback.exe

95828 1196 12224 109248 1aac0 ./minimum.exe

145576 1872 15528 162976 27ca0 ./nsecs.exe
194932 2100 16172 213204 340d4 ./paranoia.exe
537060 12460 45124 594644 912d4 ./pppd.exe
119620 1380 15464 136464 21510 ./ticker.exe
119388 1324 19300 140012 222ec ./unlimited.exe

The size of the sample executables with this option were:

text data bss dec hex filename

235000 2336 16628 253964 3e00c ./cxx_iostream.exe
627252 4892 28108 660252 a131c ./fileio.exe
137648 1676 15528 154852 25ce4 ./hello.exe
308616 6236 22336 337188 52524 ./loopback.exe

89564 1180 12144 102888 191e8 ./minimum.exe

137184 1856 15432 154472 25b68 ./nsecs.exe
184264 2084 16144 202492 316fc ./paranoia.exe
520768 12440 45020 578228 8d2b4 ./pppd.exe
113260 1364 15356 129980 1fbbc ./ticker.exe
117236 1308 19272 137816 21a58 ./unlimited.exe
110584 1324 15308 127216 1f0f0 ./base_sp.exe
229172 2316 18288 249776 3cfb0 ./capture.exe
233980 2320 16436 252736 3db40 ./cdtest.exe

Closes #2563

  • Property mode set to 100644
File size: 849 bytes
Line 
1#
2#  Config file for an Intec Automation SS555 MPC555-based card
3#
4#  This file is derived from:
5#
6#  Config file for a PowerPC MPC860-based MBX821-001 card.
7#  Config file for a PowerPC 403 based helas403 card
8#  Config file for MPC860 based Ethernet Comm Board
9
10include $(RTEMS_ROOT)/make/custom/default.cfg
11
12RTEMS_CPU=powerpc
13
14#  This contains the compiler options necessary to select the CPU model
15#  and (hopefully) optimize for it.
16#
17CPU_CFLAGS = -mcpu=505
18
19# optimize flag: typically -O2
20CFLAGS_OPTIMIZE_V = -O2 -g -fno-keep-inline-functions
21
22# The following two lines enable compiling and linking on per element.
23CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections
24LDFLAGS = -Wl,--gc-sections
25
26define bsp-post-link
27        $(default-bsp-post-link)
28        cp $(basename $@)$(EXEEXT) $(basename $@)$(DOWNEXT)
29        $(STRIP) $(basename $@)$(DOWNEXT)
30endef
Note: See TracBrowser for help on using the repository browser.