blob: 4df0618b6799dc6be9aab8c00c087a5eeb988689 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
/* { dg-do compile { target x86_64-*-linux* } } */
/* { dg-options "-O2 -fno-pic" } */
__attribute__ ((noplt))
int foo();
int main()
{
return foo();
}
/* { dg-final { scan-assembler "jmp\[ \t\]\\*.*foo.*@GOTPCREL\\(%rip\\)" } } */
|