We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 65768a2 commit ddc7c05Copy full SHA for ddc7c05
t/opcodes.js
@@ -44,7 +44,7 @@ exports.checkAgainstGcc = async function(source)
44
input: ".globl _start\n_start:\n" + source
45
});
46
47
- execSync("ld --oformat binary -o /tmp/opcodeTest /tmp/opcodeTest.o");
+ execSync("objcopy /tmp/opcodeTest.o --dump-section .text=/tmp/opcodeTest");
48
return readFileSync("/tmp/opcodeTest");
49
}
50
0 commit comments