Compare commits

...

2 Commits

2 changed files with 8 additions and 8 deletions

View File

@ -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);

View File

@ -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;