mirror of
https://github.com/reactos/syzkaller.git
synced 2024-11-23 19:39:40 +00:00
sys/syz-extract: fix linux/arm
At some point extract for linux/arm started to fail with: extracting from key.txt failed to run compiler: exit status 1 /tmp/ccT6o7iZ.s: Assembler messages: /tmp/ccT6o7iZ.s:4: Error: unknown pseudo-op: `.syntax' This is caused by arch/arm/include/asm/unified.h: __asm__(".syntax unified"); Ignore all __asm__ directives as we are cross compiling.
This commit is contained in:
parent
729f261057
commit
374050e904
@ -133,6 +133,8 @@ func compile(cc string, args []string, data *CompileData) (bin string, out []byt
|
||||
}
|
||||
|
||||
var srcTemplate = template.Must(template.New("").Parse(`
|
||||
#define __asm__(...)
|
||||
|
||||
{{range $incl := $.Includes}}
|
||||
#include <{{$incl}}>
|
||||
{{end}}
|
||||
|
Loading…
Reference in New Issue
Block a user