mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-18 01:34:14 +08:00
df0a92c206
Signed-off-by: Jonathan Neuschäfer <j.neuschaefer@gmx.net> Signed-off-by: Jiri Kosina <jkosina@suse.cz>
6 lines
224 B
Bash
6 lines
224 B
Bash
#!/bin/sh
|
|
# Test for gcc 'asm goto' support
|
|
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
|
|
|
|
echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"
|