~ecs/qbe2c

d9daae1009af82a196b1b0a71ac6cc2271f6147e — Sebastian 5 months ago 9818ad4
s/section/__section__/

Signed-off-by: Sebastian <sebastian@sebsite.pw>
1 files changed, 1 insertions(+), 1 deletions(-)

M unparse.ha
M unparse.ha => unparse.ha +1 -1
@@ 204,7 204,7 @@ fn linkage(c: *ctx, d: qbe::linkage) (void | io::error) = {
		fmt::fprint(c.out, "__attribute__((__used__)) ")?;
	};
	if (d.secname != "") {
		fmt::fprintf(c.out, "__attribute__((section(\"{}\")))", d.secname)?;
		fmt::fprintf(c.out, "__attribute__((__section__(\"{}\")))", d.secname)?;
		// XXX: secflags?
	};
};