summaryrefslogtreecommitdiff
path: root/gcc/testsuite/gcc.target/mips/call-3.c
blob: 25f01d2a90102a34b8f0253ef6be6153010a636c (plain)
1
2
3
4
5
6
7
8
9
10
11
/* { dg-options "-O2 -mrelax-pic-calls -mno-shared" } */
/* { dg-final { scan-assembler "\\.reloc\t1f,R_MIPS_JALR,g\n1:\tjalr\t" } } */
/* { dg-require-visibility "" } */

__attribute__ ((visibility ("hidden"))) void g ();

NOMIPS16 f ()
{
  g ();
  return 1;
}