Reduce hello_world footprint to fit in 8kB

When building with yosys we assume hello_world fits in 8kB. There's
enough free space that we can adjust the linker script to make it fit.

Signed-off-by: Anton Blanchard <anton@linux.ibm.com>
pull/252/head
Anton Blanchard 4 years ago committed by Anton Blanchard
parent 16da9b5ba7
commit bc4e6b7efe

Binary file not shown.

Binary file not shown.

@ -513,40 +513,39 @@ a64b5a7d14004a39
e8010010ebc1fff0 e8010010ebc1fff0
7c0803a6ebe1fff8 7c0803a6ebe1fff8
3c4000014e800020 3c4000014e800020
7c0802a63842a000 7c0802a638429800
f8010010fbe1fff8 f8010010fbe1fff8
480001f5f821ffd1 480001edf821ffd1
6000000060000000 6000000060000000
4800015d38628000 4800015538628000
4800004960000000 4800004960000000
7c7f1b7860000000 7c7f1b7860000000
57ff063e5463063e 57ff063e5463063e
60000000480000bd 60000000480000b9
4082ffe02c1f000d 4082ffe02c1f000d
480000a93860000a 480000a53860000a
4bffffd060000000 4bffffd060000000
0100000000000000 0100000000000000
3c40000100000180 3c40000100000180
600000003842a000 6000000038429800
6000000039228088 6000000089228090
8929000039428090 2c09000039428088
418200302c090000 e92a000041820030
39290014e92a0000 7c0004ac39290014
7d204eaa7c0004ac 712900017d204eaa
4182ffec71290001 e86a00004182ffec
7c0004ace86a0000 7c601eaa7c0004ac
5463063e7c601eaa 4e8000205463063e
e92a00004e800020 39290010e92a0000
7c0004ac39290010 7d204eea7c0004ac
712900017d204eea 4082ffec71290001
e86a00004082ffec 38630008e86a0000
7c0004ac38630008 7c601eea7c0004ac
4bffffd07c601eea 000000004bffffd0
0000000000000000 0000000000000000
3c40000100000000 384298003c400001
600000003842a000 8922809060000000
6000000039228088 3942808860000000
8929000039428090
4182002c2c090000 4182002c2c090000
39290014e92a0000 39290014e92a0000
7d204eaa7c0004ac 7d204eaa7c0004ac
@ -560,356 +559,101 @@ e94a00005469063e
7d2057ea7c0004ac 7d2057ea7c0004ac
000000004e800020 000000004e800020
0000000000000000 0000000000000000
3842a0003c400001 384298003c400001
fbe1fff87c0802a6 fbe1fff87c0802a6
3be3fffffbc1fff0 3be3fffffbc1fff0
f821ffd1f8010010 f821ffd1f8010010
2c3e00008fdf0001 2c3e00008fdf0001
3821003040820010 3821003040820010
4bfffe3c38600000 4bfffe4438600000
4082000c281e000a 4082000c281e000a
4bffff413860000d 4bffff453860000d
4bffff397fc3f378 4bffff3d7fc3f378
000000004bffffd0 000000004bffffd0
0000028001000000 0000028001000000
386000007c6a1b78 386000007c691b78
2c0900007d2a18ae 2c0a00007d4918ae
386300014d820020 386300014d820020
000000004bfffff0 000000004bfffff0
0000000000000000 0000000000000000
3842a0003c400001 384298003c400001
610800203d00c000 614a00203d40c000
7c0004ac79080020 7c0004ac794a0020
3d20c0007d0046ea 3d20c0007d4056ea
6129000879080600 61290008794a0600
7c0004ac79290020 7c0004ac79290020
712900207d204eea 712900207d204eea
3d20c00041820018 3d20c00041820018
7929002061290040 7929002061290040
7d204eea7c0004ac 7d204eea7c0004ac
600000003d40c000 3d00c0007929f804
38e2808860000000 6108200079290fc3
794a0020614a2000 6000000079080020
3d40001cf9428090 3d00001cf9028088
7d085392614a2000 7d4a439261082000
794a0fc3792af804 6000000041820084
3920000141820080 9922809039200001
614a200c3d40c000 6108200c3d00c000
794a002099270000 790800203920ff80
7c0004ac3920ff80 7d2047aa7c0004ac
e92280907d2057aa 7c0004ace9228088
7d004faa7c0004ac e92280887d404faa
7908c202e9228090 39290004794ac202
7c0004ac39290004
e92280907d004faa
3929000c39400003
7d404faa7c0004ac 7d404faa7c0004ac
39290010e9228090 39400003e9228088
7c0004ac3929000c
e92280887d404faa
7c0004ac39290010
e92280887d404faa
3929000839400007
7d404faa7c0004ac 7d404faa7c0004ac
39400007e9228090 600000004e800020
7c0004ac39290008 99228090394affff
4e8000207d404faa 612920183d20c000
994700003d20c000
612920183908ffff
7c0004ac79290020 7c0004ac79290020
4e8000207d004fea 4e8000207d404fea
0000000000000000 0000000000000000
3c40000100000000 3c40000100000000
600000003842a000 6000000038429800
2c24000039228088 2c24000089228090
2f89000089290000 600000002f890000
e922809060000000 419e0030e9228088
41820024419e0030 3940000241820024
2c23000039400002 418200082c230000
614a000141820008 39290004614a0001
7c0004ac39290004 7d404faa7c0004ac
4e8000207d404faa 394000004e800020
4bffffe039400000 418200084bffffe0
6063000241820008 3929002060630002
7c0004ac39290020 7c604fea7c0004ac
4e8000207c604fea 000000004e800020
0000000000000000 0000000000000000
0000001000000000 0000000000000010
00527a0100000000 0141780400527a01
00010c1b01417804 0000001800010c1b
0000001800000018 fffffc4800000018
00000070fffffc3c 300e460000000070
9f7e4111300e4600 000000019f7e4111
0000001000000001 0000000000000010
00527a0100000000 0141780400527a01
00010c1b01417804 0000001000010c1b
0000001800000010 fffffc8800000018
00000088fffffc7c
0000001000000000
fffffcf00000002c
0000000000000084 0000000000000084
0000004000000028 0000002c00000010
00000060fffffd60 00000080fffffcf8
9e019f0041094500 0000002800000000
447e4111300e4302 fffffd6400000040
4106dedf42000e0a 4109450000000060
000000100000000b 300e43029e019f00
fffffd940000006c 42000e0a447e4111
0000000000000028 0000000b4106dedf
0000008000000010 0000006c00000010
0000012cfffffda8 00000028fffffd98
0000001000000000 0000001000000000
fffffec000000094 fffffdac00000080
0000000000000078 000000000000012c
0000000000000000 0000009400000010
0000000000000000 00000074fffffec4
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000
0000000000000000 0000000000000000
0000000000000000 0000000000000000
0000000000000000 0000000000000000

@ -7,7 +7,7 @@ SECTIONS
} }
. = 0x1000; . = 0x1000;
.text : { *(.text) } .text : { *(.text) }
. = 0x2000; . = 0x1800;
.data : { *(.data) } .data : { *(.data) }
.bss : { *(.bss) } .bss : { *(.bss) }
} }

Loading…
Cancel
Save