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
klemens
d0b90c2d68
[spelling] spelling-fixes. (not external/)
2016-08-25 17:30:34 -07:00
Travis Geiselbrecht
9c69b36411
[arch][microblaze] fix the microblaze port
...
Apparently stumbled into some sort of linker bug with gc-sections enabled.
Disable for now, and clean up the linker script a little bit.
2015-11-07 02:48:05 -08:00
Travis Geiselbrecht
0e1ce411ba
[make] add ability to set EXTRA_LINKER_SCRIPTS in modules
...
This allows for individual modules to extend the main linker script,
primarily to add their own sections to interate over.
Remove the main shared_* linker scripts.
2015-10-26 16:47:18 -07:00
Travis Geiselbrecht
518a04eef3
[arch][microblaze] a bit of bugfixing and refactoring to get running on real hardware
...
Punched out a version of the microblaze on a ZYBO dev board, which required
a few tweaks an additions to run on real hardware.
Refactored the qemu and zybo microblaze target.
2015-04-19 01:34:18 -07:00
Travis Geiselbrecht
6f4183bc9a
[arch][microblaze] change linker script to support having a different LMA for the vector table
...
The qemu target has 128KB of ram at 0 and the rest at 0x90000000.
Split the binary so that the vector table lives at 0 and everything else in
the high address.
2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
0816848c82
[arch][microblaze] first semi functional context switch implementation
2015-01-31 19:55:23 -08:00
Travis Geiselbrecht
436c5a885f
[arch][microblaze] initial stab at getting a nulled out microblaze port compiling
2015-01-29 21:06:04 -08:00