diff options
| author | Ingo Molnar <mingo@elte.hu> | 2010-09-24 09:12:05 +0200 |
|---|---|---|
| committer | Ingo Molnar <mingo@elte.hu> | 2010-09-24 09:12:05 +0200 |
| commit | a5a2bad55de89a0adf7d6f783cb87ab7eb1a894f (patch) | |
| tree | 452cb8addc26f5c79fdd4e2fea92c78dc17fc8e8 /scripts/gcc-goto.sh | |
| parent | Merge branch 'linus' into perf/core (diff) | |
| parent | jump label/x86/sparc64: Remove !CC_OPTIMIZE_FOR_SIZE config conditions (diff) | |
| download | linux-a5a2bad55de89a0adf7d6f783cb87ab7eb1a894f.tar.gz linux-a5a2bad55de89a0adf7d6f783cb87ab7eb1a894f.zip | |
Merge branch 'tip/perf/core' of git://git.kernel.org/pub/scm/linux/kernel/git/rostedt/linux-2.6-trace into perf/core
Diffstat (limited to 'scripts/gcc-goto.sh')
| -rw-r--r-- | scripts/gcc-goto.sh | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/scripts/gcc-goto.sh b/scripts/gcc-goto.sh new file mode 100644 index 000000000000..8e82424be7aa --- /dev/null +++ b/scripts/gcc-goto.sh @@ -0,0 +1,5 @@ +#!/bin/sh +# Test for gcc 'asm goto' suport +# Copyright (C) 2010, Jason Baron <jbaron@redhat.com> + +echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $1 -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y" |
