Use -ffunction-sections, -fdata-sections, and --gc-sections to automatically prune out any unreferenced sections. This saves around 744 bytes (uncompressed) from the rtl8139.rom build. Signed-off-by: Michael Brown <mcb30@ipxe.org>tags/v1.20.1
|
||
415 | 415 |
|
416 | 416 |
|
417 | 417 |
|
418 |
|
|
419 |
|
|
420 |
|
|
421 |
|
|
422 |
|
|
423 |
|
|
424 |
|
|
425 |
|
|
426 |
|
|
427 |
|
|
428 |
|
|
429 |
|
|
430 |
|
|
418 | 431 |
|
419 | 432 |
|
420 | 433 |
|
|
||
68 | 68 |
|
69 | 69 |
|
70 | 70 |
|
71 |
|
|
71 |
|
|
72 |
|
|
72 | 73 |
|
73 | 74 |
|
74 | 75 |
|
|
||
97 | 98 |
|
98 | 99 |
|
99 | 100 |
|
100 |
|
|
101 |
|
|
101 | 102 |
|
102 | 103 |
|
103 | 104 |
|
|
||
129 | 130 |
|
130 | 131 |
|
131 | 132 |
|
133 |
|
|
132 | 134 |
|
135 |
|
|
133 | 136 |
|
137 |
|
|
134 | 138 |
|
135 | 139 |
|
136 | 140 |
|
|
||
49 | 49 |
|
50 | 50 |
|
51 | 51 |
|
52 |
|
|
52 |
|
|
53 |
|
|
53 | 54 |
|
54 | 55 |
|
55 | 56 |
|
|
||
98 | 99 |
|
99 | 100 |
|
100 | 101 |
|
101 |
|
|
102 |
|
|
103 |
|
|
102 | 104 |
|
103 | 105 |
|
104 | 106 |
|
|
||
106 | 108 |
|
107 | 109 |
|
108 | 110 |
|
109 |
|
|
111 |
|
|
110 | 112 |
|
111 | 113 |
|
112 | 114 |
|
|
||
126 | 128 |
|
127 | 129 |
|
128 | 130 |
|
129 |
|
|
130 |
|
|
131 |
|
|
132 |
|
|
131 | 133 |
|
132 | 134 |
|
133 | 135 |
|
|
||
143 | 145 |
|
144 | 146 |
|
145 | 147 |
|
148 |
|
|
146 | 149 |
|
147 | 150 |
|
148 | 151 |
|
|
||
165 | 168 |
|
166 | 169 |
|
167 | 170 |
|
171 |
|
|
168 | 172 |
|
169 | 173 |
|
170 | 174 |
|
|
||
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
54 |
|
|
54 |
|
|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
|
||
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
80 |
|
|
80 | 81 |
|
81 | 82 |
|
82 | 83 |
|
|
||
97 | 98 |
|
98 | 99 |
|
99 | 100 |
|
101 |
|
|
100 | 102 |
|
101 | 103 |
|
|
||
54 | 54 |
|
55 | 55 |
|
56 | 56 |
|
57 |
|
|
57 |
|
|
58 | 58 |
|
59 | 59 |
|
60 | 60 |
|
|
||
80 | 80 |
|
81 | 81 |
|
82 | 82 |
|
83 |
|
|
83 | 84 |
|
84 | 85 |
|
85 | 86 |
|
|
||
102 | 103 |
|
103 | 104 |
|
104 | 105 |
|
106 |
|
|
105 | 107 |
|
106 | 108 |
|
|
||
51 | 51 |
|
52 | 52 |
|
53 | 53 |
|
54 |
|
|
54 |
|
|
55 | 55 |
|
56 | 56 |
|
57 | 57 |
|
|
||
77 | 77 |
|
78 | 78 |
|
79 | 79 |
|
80 |
|
|
80 | 81 |
|
81 | 82 |
|
82 | 83 |
|
|
||
97 | 98 |
|
98 | 99 |
|
99 | 100 |
|
101 |
|
|
100 | 102 |
|
101 | 103 |
|