]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/blame - scripts/gcc-goto.sh
Merge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial
[mirror_ubuntu-zesty-kernel.git] / scripts / gcc-goto.sh
CommitLineData
bf5438fc 1#!/bin/sh
df0a92c2 2# Test for gcc 'asm goto' support
bf5438fc
JB
3# Copyright (C) 2010, Jason Baron <jbaron@redhat.com>
4
d6dad199 5echo "int main(void) { entry: asm goto (\"\"::::entry); return 0; }" | $@ -x c - -c -o /dev/null >/dev/null 2>&1 && echo "y"