Mercurial > pub > dyncall > dyncall
view portasm/gen-masm.sh @ 406:351bb41d3bb1
- removed %-prefixes for register names from arm assembly files (was wrong to begin with, gas accepted them but the clang integrated assembler does not)
author | Tassilo Philipp |
---|---|
date | Sun, 03 Oct 2021 10:34:56 +0200 |
parents | ab2d78e48ca2 |
children |
line wrap: on
line source
#!/bin/sh `which gcc || which clang` -E -P -DGEN_MASM ${1:?Usage: $0 <name> [<outsuffix>]}.S \ | sed "/^$/d;1i\\ ; auto-generated by `basename $0` ;s/$/ /" \ > $1$2.asm