Compare commits
2 Commits
14affd5c79
...
1604f22afd
| Author | SHA1 | Date |
|---|---|---|
|
|
1604f22afd | |
|
|
f6a6cb63b1 |
|
|
@ -200,8 +200,8 @@ pub fn build(b: *Builder) !void {
|
|||
|
||||
// Standard release options allow the person running `zig build` to select
|
||||
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall.
|
||||
// const mode = b.standardReleaseOptions();
|
||||
const mode = .ReleaseFast;
|
||||
const mode = b.standardReleaseOptions();
|
||||
// const mode = .ReleaseSmall;
|
||||
|
||||
const files = try findFiles(ktarget);
|
||||
|
||||
|
|
|
|||
|
|
@ -4,30 +4,30 @@ SECTIONS
|
|||
{
|
||||
. = 1M + 16K;
|
||||
|
||||
.stivale2hdr ALIGN(4K) :
|
||||
.stivale2hdr ALIGN(1) :
|
||||
{
|
||||
KEEP(*(.stivale2hdr))
|
||||
}
|
||||
|
||||
.text ALIGN(4K) :
|
||||
{
|
||||
KEEP(*(.text*))
|
||||
/* KEEP(*(.text*)) */
|
||||
}
|
||||
|
||||
.rodata ALIGN(4K) :
|
||||
{
|
||||
KEEP(*(.rodata*))
|
||||
/* KEEP(*(.rodata*)) */
|
||||
}
|
||||
|
||||
.data ALIGN(4K) :
|
||||
{
|
||||
KEEP(*(.data*))
|
||||
/* KEEP(*(.data*)) */
|
||||
}
|
||||
|
||||
.bss ALIGN(4K) :
|
||||
{
|
||||
KEEP(*(COMMON))
|
||||
KEEP(*(.bss*))
|
||||
/* KEEP(*(COMMON)) */
|
||||
/* KEEP(*(.bss*)) */
|
||||
}
|
||||
|
||||
_stack = 1M;
|
||||
|
|
|
|||
Loading…
Reference in New Issue