Skip to content

Tags: sysfce2/ngdevkit

Tags

nightly-202212301452

Toggle nightly-202212301452's commit message
Fix linking of backup RAM and bss segments

After the linkscript update to support large P-ROMs [1,2],
the ordering of the bss and backup RAM segments has changed,
and this broke the logic used to compute the start of the .bss
segment in RAM. Fix accordingly.

Closes dciabrin#82

[1] a83e751
[2] db99afd

nightly-202212041448

Toggle nightly-202212041448's commit message
Fix init of .bss and .data in crt0

After dciabrin#78 and dciabrin#81, the .bss segment is now linked prior to the
.data segment. The crt0 still assumes the opposite, so the
memory is incorrectly initialized.

Since the linker now exposes symbol __bss_start_in_ram, the crt0
no longer needs to assume any ordering. Fix it accordingly.

0.2

Toggle 0.2's commit message
Initial release tag