gcc/testsuite/gcc.target/mips/call-from-init.c
raw| 1 | /* Check that __do_global_ctors_aux can be reached from .init section that |
| 2 | is in a different (256MB) region. */ |
| 3 | /* { dg-do run { target { "mips*-*-linux*" } } } */ |
| 4 | /* { dg-skip-if "" { "mips*-sde-elf mips*-mti-elf mips*-img-elf" } } */ |
| 5 | /* { dg-options "-Wl,--section-start=.init=0x0FFF0000" } */ |
| 6 | /* { dg-options "-Wl,--section-start=.text=0x10000000" } */ |
| 7 | /* { dg-options "-mips32r2" } */ |
| 8 | |
| 9 | int |
| 10 | main (void) { |
| 11 | return 0; |
| 12 | } |