Lei Wen
145e9a0d27
[arch] fix link script not include global array init
Using wild match init_array* to include global array init ctor
Before:
10 .ctors 00000040 ffff0000001e6b80 00000000401e6b80 DATA
11 .dtors 00000000 ffff0000001e6bc0 00000000401e6bc0 DATA
12 .got 00000060 ffff0000001e6bc0 00000000401e6bc0 DATA
13 .init_array.1 00000470 ffff0000001e6c20 00000000401e6c20
14 .fini_array.1 00000470 ffff0000001e7090 00000000401e7090
15 .dummy_post_data 00000000 ffff0000001e7500 00000000401e7500 DATA
16 .bss 00009460 ffff0000001e8000 00000000401e8000 BSS
After:
10 .ctors 000004b0 ffff0000001e6b80 00000000401e6b80 DATA
11 .dtors 00000470 ffff0000001e7030 00000000401e7030
12 .got 00000060 ffff0000001e74a0 00000000401e74a0 DATA
13 .dummy_post_data 00000000 ffff0000001e7500 00000000401e7500 DATA
14 .bss 00009460 ffff0000001e8000 00000000401e8000 BSS
Signed-off-by: Lei Wen <leiwen@asrmicro.com>
2025-09-29 22:40:41 -07:00
..
2025-08-31 21:47:32 -07:00
2025-08-31 21:47:32 -07:00
2024-11-10 03:39:34 +00:00
2022-07-17 13:21:31 -07:00
2021-10-21 23:08:38 -07:00
2022-07-17 13:49:59 -07:00
2024-11-07 08:44:27 +00:00
2024-12-11 00:19:57 -08:00
2021-10-21 23:08:38 -07:00
2025-08-31 21:48:09 -07:00
2019-07-05 17:22:23 -07:00
2025-01-11 17:12:16 -08:00
2025-09-29 22:40:41 -07:00
2024-04-19 00:07:49 -07:00
2021-09-18 16:52:38 -07:00