File tree 2 files changed +19
-17
lines changed
2 files changed +19
-17
lines changed Original file line number Diff line number Diff line change @@ -162,6 +162,24 @@ SECTIONS
162
162
*(.rodata ._ZTV *) /* C++ vtables */
163
163
#endif
164
164
165
+ . = ALIGN (4 ); /* this table MUST be 4-byte aligned */
166
+ /* C++ constructor and destructor tables, properly ordered: */
167
+ __init_array_start = ABSOLUTE (.);
168
+ KEEP (*crtbegin.o (.ctors ))
169
+ KEEP (*(EXCLUDE_FILE (*crtend.o ) .ctors ))
170
+ KEEP (*(SORT (.ctors .*)))
171
+ KEEP (*(.ctors ))
172
+ __init_array_end = ABSOLUTE (.);
173
+ KEEP (*crtbegin.o (.dtors ))
174
+ KEEP (*(EXCLUDE_FILE (*crtend.o ) .dtors ))
175
+ KEEP (*(SORT (.dtors .*)))
176
+ KEEP (*(.dtors ))
177
+ . = ALIGN (4 ); /* this table MUST be 4-byte aligned */
178
+ _bss_table_start = ABSOLUTE (.);
179
+ LONG (_bss_start)
180
+ LONG (_bss_end)
181
+ _bss_table_end = ABSOLUTE (.);
182
+
165
183
*libgcc.a :unwind-dw2.o (.literal .text .rodata .literal .* .text .* .rodata .*)
166
184
*libgcc.a :unwind-dw2-fde.o (.literal .text .rodata .literal .* .text .* .rodata .*)
167
185
Original file line number Diff line number Diff line change 12
12
* (.gnu .linkonce .e .* )
13
13
* (.gnu .version_r )
14
14
* (.eh_frame )
15
- . = (. + 3 ) & ~ 3 ;
16
- /* C++ constructor and destructor tables, properly ordered: */
17
- __init_array_start = ABSOLUTE (.);
18
- KEEP (* crtbegin .o (.ctors ))
19
- KEEP (* (EXCLUDE_FILE (* crtend .o ) .ctors ))
20
- KEEP (* (SORT (.ctors .* )))
21
- KEEP (* (.ctors ))
22
- __init_array_end = ABSOLUTE (.);
23
- KEEP (* crtbegin .o (.dtors ))
24
- KEEP (* (EXCLUDE_FILE (* crtend .o ) .dtors ))
25
- KEEP (* (SORT (.dtors .* )))
26
- KEEP (* (.dtors ))
15
+ . = ALIGN (4 );
27
16
/* C++ exception handlers table: */
28
17
__XT_EXCEPTION_DESCS__ = ABSOLUTE (.);
29
18
* (.xt_except_desc )
32
21
* (.xt_except_desc_end )
33
22
* (.dynamic )
34
23
* (.gnu .version_d )
35
- . = ALIGN (4 ); /* this table MUST be 4-byte aligned */
36
- _bss_table_start = ABSOLUTE (.);
37
- LONG (_bss_start )
38
- LONG (_bss_end )
39
- _bss_table_end = ABSOLUTE (.);
40
24
_rodata_end = ABSOLUTE (.);
41
25
} > dram0_0_seg :dram0_0_phdr
42
26
You can’t perform that action at this time.
0 commit comments