| 1 | #source: fdpic-funcdesc-shared.s |
| 2 | #as: --isa=sh2a -big --fdpic |
| 3 | #ld: -EB -mshelf_fd -shared |
| 4 | #objdump: -dsR -j.text -j.data -j.got |
| 5 | #target: sh*-*-uclinux* |
| 6 | |
| 7 | .*:[ \t]+file format elf32-shbig-fdpic |
| 8 | |
| 9 | Contents of section \.text: |
| 10 | [0-9a-f]+ 0009[ \t]+.* |
| 11 | Contents of section \.data: |
| 12 | [0-9a-f]+ 00000000[ \t]+.* |
| 13 | Contents of section \.got: |
| 14 | [0-9a-f]+ 00000000 00000000 00000000 00000000[ \t]+.* |
| 15 | [0-9a-f]+ 00000000[ \t]+.* |
| 16 | |
| 17 | Disassembly of section \.text: |
| 18 | |
| 19 | [0-9a-f]+ <foo>: |
| 20 | [0-9a-f]+:[ \t]+00 09[ \t]+nop[ \t]+ |
| 21 | |
| 22 | Disassembly of section \.data: |
| 23 | |
| 24 | [0-9a-f]+ <bar>: |
| 25 | [ \t]+[0-9a-f]+:[ \t]+00 00 00 00[ \t]+\.\.\.\. |
| 26 | [ \t]+[0-9a-f]+: R_SH_DIR32[ \t]+\.got |
| 27 | |
| 28 | Disassembly of section \.got: |
| 29 | |
| 30 | [0-9a-f]+ <\.got>: |
| 31 | [ \t]+\.\.\. |
| 32 | [ \t]+[0-9a-f]+: R_SH_FUNCDESC_VALUE[ \t]+\.text |