Blame view
scripts/gcc-goto.sh
511 Bytes
bf5438fca jump label: Base ... |
1 |
#!/bin/sh |
b24413180 License cleanup: ... |
2 |
# SPDX-License-Identifier: GPL-2.0 |
df0a92c20 scripts/gcc-goto.... |
3 |
# Test for gcc 'asm goto' support |
bf5438fca jump label: Base ... |
4 |
# Copyright (C) 2010, Jason Baron <jbaron@redhat.com> |
e9666d10a jump_label: move ... |
5 |
cat << "END" | $@ -x c - -fno-PIE -c -o /dev/null |
a9468f30b ARM: 7333/2: jump... |
6 7 |
int main(void) { |
f3c003f72 arm64, jump label... |
8 |
#if defined(__arm__) || defined(__aarch64__) |
a9468f30b ARM: 7333/2: jump... |
9 10 11 12 13 14 15 16 17 18 19 20 21 |
/* * Not related to asm goto, but used by jump label * and broken on some ARM GCC versions (see GCC Bug 48637). */ static struct { int dummy; int state; } tp; asm (".long %c0" :: "i" (&tp.state)); #endif entry: asm goto ("" :::: entry); return 0; } END |