5
Last change
on this file since f0cb2e19 was
f0cb2e19,
checked in by Ralph Holmes <ralph@…>, on 01/22/16 at 00:46:13
|
m68k/ods68302: Add per-section compilation and linking support.
The size of the sample executables without this option were:
text data bss dec hex filename
115696 1632 22688 140016 222f0 base_sp.exe
114416 1600 22288 138304 21c40 hello.exe
74768 1360 19040 95168 173c0 minimum.exe
129744 1712 22784 154240 25a80 nsecs.exe
200544 2000 23280 225824 37220 paranoia.exe
120000 1632 22720 144352 233e0 ticker.exe
118464 1664 26128 146256 23b50 unlimited.exe
191904 2224 22864 216992 34fa0 cdtest.exe
186416 2128 24512 213056 34040 capture.exe
The size of the sample executables with this option enabled were:
text data bss dec hex filename
75840 1616 22368 99824 185f0 base_sp.exe
90128 1568 21968 113664 1bc00 hello.exe
31968 1184 18720 51872 caa0 minimum.exe
96256 1696 22480 120432 1d670 nsecs.exe
176816 1984 22960 201760 31420 paranoia.exe
80896 1616 22400 104912 199d0 ticker.exe
77856 1632 25808 105296 19b50 unlimited.exe
176304 2096 22528 200928 310e0 cdtest.exe
176944 2080 24192 203216 319d0 capture.exe
|
-
Property mode set to
100644
|
File size:
845 bytes
|
Line | |
---|
1 | # |
---|
2 | # Config file for a "ODS 68302" BSP |
---|
3 | # |
---|
4 | # Differs from the gen68302 by providing most of the boot code as C |
---|
5 | # code. This allows separate board definitions to be based on C |
---|
6 | # header files. The file is based on the VARIANT defined. |
---|
7 | |
---|
8 | include $(RTEMS_ROOT)/make/custom/default.cfg |
---|
9 | |
---|
10 | RTEMS_CPU=m68k |
---|
11 | RTEMS_CPU_MODEL=m68302 |
---|
12 | |
---|
13 | # This contains the compiler options necessary to select the CPU model |
---|
14 | # and (hopefully) optimize for it. |
---|
15 | # |
---|
16 | # 68000+softfloat results in gcc 2.95.2 giving default libraries. |
---|
17 | # CPU_CFLAGS = -m68302 -msoft-float |
---|
18 | CPU_CFLAGS = -mcpu=68302 |
---|
19 | |
---|
20 | # optimize flag: typically -O2 |
---|
21 | CFLAGS_OPTIMIZE_V = -O2 -g -fomit-frame-pointer |
---|
22 | CFLAGS_OPTIMIZE_V += -ffunction-sections -fdata-sections |
---|
23 | |
---|
24 | LDFLAGS = -Wl,--gc-sections |
---|
25 | |
---|
26 | ifeq ($(RTEMS_DEBUGGER),yes) |
---|
27 | LINKCMDS=$(PROJECT_RELEASE)/lib/debugrom |
---|
28 | else |
---|
29 | LINKCMDS=$(PROJECT_RELEASE)/lib/rom |
---|
30 | endif |
---|
31 | |
---|
Note: See
TracBrowser
for help on using the repository browser.