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 // Standard release options allow the person running `zig build` to select
// between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall. // between Debug, ReleaseSafe, ReleaseFast, and ReleaseSmall.
// const mode = b.standardReleaseOptions(); const mode = b.standardReleaseOptions();
const mode = .ReleaseFast; // const mode = .ReleaseSmall;
const files = try findFiles(ktarget); const files = try findFiles(ktarget);

View File

@ -4,30 +4,30 @@ SECTIONS
{ {
. = 1M + 16K; . = 1M + 16K;
.stivale2hdr ALIGN(4K) : .stivale2hdr ALIGN(1) :
{ {
KEEP(*(.stivale2hdr)) KEEP(*(.stivale2hdr))
} }
.text ALIGN(4K) : .text ALIGN(4K) :
{ {
KEEP(*(.text*)) /* KEEP(*(.text*)) */
} }
.rodata ALIGN(4K) : .rodata ALIGN(4K) :
{ {
KEEP(*(.rodata*)) /* KEEP(*(.rodata*)) */
} }
.data ALIGN(4K) : .data ALIGN(4K) :
{ {
KEEP(*(.data*)) /* KEEP(*(.data*)) */
} }
.bss ALIGN(4K) : .bss ALIGN(4K) :
{ {
KEEP(*(COMMON)) /* KEEP(*(COMMON)) */
KEEP(*(.bss*)) /* KEEP(*(.bss*)) */
} }
_stack = 1M; _stack = 1M;