| 1 |
These tests are meant to test the interoperability of PIC and nonpic objects for mips. |
| 2 |
This table shows the various combinations and each case is tested by one of the nonpic tests. |
| 3 |
Test Case The PIC code The non-PIC code The result (stub and/or PLT) |
| 4 |
|
| 5 |
main-1.c nothing nothing Neither (trivial) |
| 6 |
main-2.c nothing call only PLT entry |
| 7 |
main-3.c nothing address taken only Neither (* But creating a PLT entry is valid) |
| 8 |
main-4.c nothing address and call PLT entry |
| 9 |
main-5.c call only nothing .MIPS.stubs entry |
| 10 |
main-6.c call only call only .MIPS.stubs and PLT |
| 11 |
main-7.c call only address taken only .MIPS.stubs (* Also creating a PLT entry is valid) |
| 12 |
main-8.c call only address and call .MIPS.stubs and PLT entry |
| 13 |
main-9.c address taken only nothing Neither |
| 14 |
main-10.c address taken only call only PLT entry |
| 15 |
main-11.c address taken only address taken only Neither (* But creating a PLT entry is valid) |
| 16 |
main-12.c address taken only address and call PLT entry |
| 17 |
main-13.c address and call nothing Neither |
| 18 |
main-14.c address and call call only PLT entry |
| 19 |
main-15.c address and call address taken only Neither (* But creating a PLT entry is valid) |
| 20 |
main-16.c address and call address and call PLT entry |
| 21 |
|
| 22 |
|
| 23 |
Copyright (C) 2008-2025 Free Software Foundation, Inc. |
| 24 |
|
| 25 |
Copying and distribution of this file, with or without modification, |
| 26 |
are permitted in any medium without royalty provided the copyright |
| 27 |
notice and this notice are preserved. |