5
Last change
on this file since 8b28fdd was
8b28fdd,
checked in by Shashvat Jain <shashvatjain2002@…>, on 11/29/18 at 20:39:47
|
m68k/mrm332: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
172384 2096 14512 188992 2e240 ./capture.exe
70848 1136 11568 83552 14660 ./base_sp.exe
101728 1504 11728 114960 1c110 ./hello.exe
217744 6016 18336 242096 3b1b0 ./loopback.exe
57968 1008 8416 67392 10740 ./minimum.exe
93952 1616 11696 107264 1a300 ./nsecs.exe
166272 1904 12304 180480 2c100 ./paranoia.exe
358240 12032 41136 411408 64710 ./pppd.exe
73104 1168 11600 85872 14f70 ./ticker.exe
73264 1120 15472 89856 15f00 ./unlimited.exe
The size of the sample executables with this option were:
text data bss dec hex filename
158976 2096 14464 175536 2adb0 ./capture.exe
66304 1136 11488 78928 13450 ./base_sp.exe
92912 1504 11680 106096 19e70 ./hello.exe
202240 6000 18272 226512 374d0 ./loopback.exe
53296 992 8336 62624 f4a0 ./minimum.exe
88032 1616 11600 101248 18b80 ./nsecs.exe
157760 1888 12272 171920 29f90 ./paranoia.exe
346080 12032 41056 399168 61740 ./pppd.exe
68304 1168 11520 80992 13c60 ./ticker.exe
71312 1104 15440 87856 15730 ./unlimited.exe
Closes #2567
|
-
Property mode set to
100644
|
File size:
505 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for the mrm332 BSP |
---|
3 | # |
---|
4 | |
---|
5 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
6 | |
---|
7 | RTEMS_CPU=m68k |
---|
8 | |
---|
9 | # This contains the compiler options necessary to select the CPU model |
---|
10 | # and (hopefully) optimize for it. |
---|
11 | CPU_CFLAGS = -mcpu=cpu32 |
---|
12 | |
---|
13 | # using optimise for size due to small memory on target board. |
---|
14 | CFLAGS_OPTIMIZE_V = -Os -g -fomit-frame-pointer |
---|
15 | |
---|
16 | # The following two lines enable compiling and linking on per element. |
---|
17 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
18 | LDFLAGS = -Wl,--gc-sections |
---|
Note: See
TracBrowser
for help on using the repository browser.