Compare commits

..

No commits in common. "1604f22afd726e0366e625b1488b5064a406970e" and "14affd5c7938db5549e1bc1b14beab9ee990a197" have entirely different histories.

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 = .ReleaseSmall;
// const mode = b.standardReleaseOptions();
const mode = .ReleaseFast;
const files = try findFiles(ktarget);

View File

@ -4,30 +4,30 @@ SECTIONS
{
. = 1M + 16K;
.stivale2hdr ALIGN(1) :
.stivale2hdr ALIGN(4K) :
{
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;