Implement DS for linker scripts (#1206)

This commit is contained in:
Rangi
2023-11-03 03:47:22 -04:00
committed by GitHub
parent 477e9812d4
commit 8f3369fe29
4 changed files with 22 additions and 7 deletions

View File

@@ -67,10 +67,11 @@ are only relevant to assembly code and do not apply in section names.
When a new bank statement is found, sections found after it will be placed right from the beginning of that bank.
If the linker script switches to a different bank and then comes back to a previous one, it will continue from the last address that was used.
.Pp
The only two commands are
.Ic ORG
The only three commands are
.Ic ORG ,
.Ic ALIGN ,
and
.Ic ALIGN :
.Ic DS :
.Bl -bullet
.It
.Ic ORG
@@ -83,6 +84,9 @@ will increase the address until it is aligned to the specified boundary
.Ql ALIGN 8
will align to $100
.Pc .
.It
.Ic DS
will increase the address by the specified non-negative amount.
.El
.Pp
.Sy Note: