blob: f099a3828cd778b996a4510537f966d6beb68568 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
/* { dg-do compile { target *-*-linux* } } */
/* { dg-options "-fno-pic" } */
__attribute__ ((noplt))
void foo();
int main()
{
foo();
return 0;
}
/* { dg-final { scan-assembler "call\[ \t\]*.foo@GOTPCREL" { target { ! ia32 } } } } */
/* { dg-final { scan-assembler "call\[ \t\]*.foo@GOT" { target { ia32 && got32x_reloc } } } } */
|