Index: gcc/gcc/testsuite/gcc.dg/pr27095.c |
diff --git a/gcc/gcc/testsuite/gcc.dg/pr27095.c b/gcc/gcc/testsuite/gcc.dg/pr27095.c |
index d274f4e84459ad06fba17b717a79caf95db33b93..8e727716079c972d5a52e14c6dd38fa6ce72bc38 100644 |
--- a/gcc/gcc/testsuite/gcc.dg/pr27095.c |
+++ b/gcc/gcc/testsuite/gcc.dg/pr27095.c |
@@ -1,6 +1,11 @@ |
/* { dg-do compile } */ |
/* { dg-options "-O2" } */ |
+/* On MIPS, disable generating hints (R_MIPS_JALR) for PIC calls. In addition |
+ to the load from the GOT this also contains the name of the funtion so for |
+ each call the function name would appear twice. */ |
+/* { dg-options "-O2 -mno-relax-pic-calls" { target mips*-*-* } } */ |
+ |
extern void *memset (void *, int, __SIZE_TYPE__); |
extern __SIZE_TYPE__ strlen (const char *); |