blob: 725f49e9caec935d02259c172c3206b591fbe394 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
/* We should not use GOT_PREL relocation to load global address with so
many global accesses. */
/* { dg-options "-Os -fpic" } */
/* { dg-final { scan-assembler-not "GOT_PREL" } } */
extern int x1, x2, x3, x4, x5;
int sum()
{
return x1 + x2 + x3 + x4 + x5;
}
|