run masm files through the C preprocessor
This commit is contained in:
@@ -167,7 +167,11 @@ gen_asm_stdout() {
|
|||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
|
if [ $1 = "masm" ]; then
|
||||||
|
cpp -I./crypto $3.tmp > $3
|
||||||
|
else
|
||||||
$MV $3.tmp $3
|
$MV $3.tmp $3
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
gen_asm() {
|
gen_asm() {
|
||||||
CC=true perl $asm_src/$2 $1 $3.tmp
|
CC=true perl $asm_src/$2 $1 $3.tmp
|
||||||
@@ -176,7 +180,11 @@ gen_asm() {
|
|||||||
.section .note.GNU-stack,"",%progbits
|
.section .note.GNU-stack,"",%progbits
|
||||||
#endif
|
#endif
|
||||||
EOF
|
EOF
|
||||||
|
if [ $1 = "masm" ]; then
|
||||||
|
cpp -I./crypto $3.tmp > $3
|
||||||
|
else
|
||||||
$MV $3.tmp $3
|
$MV $3.tmp $3
|
||||||
|
fi
|
||||||
}
|
}
|
||||||
|
|
||||||
echo generating arm ASM source for elf
|
echo generating arm ASM source for elf
|
||||||
|
Reference in New Issue
Block a user