| 1 | #as: --no-underscore --pic --em=criself |
| 2 | #source: expdyn1.s |
| 3 | #source: locref1.s |
| 4 | #ld: -m crislinux |
| 5 | #objdump: -dt |
| 6 | |
| 7 | # Referencing a "normal" (non-hidden) symbol with a local-only PIC |
| 8 | # relocation is ok when building an executable. |
| 9 | |
| 10 | .*: file format elf32-cris |
| 11 | |
| 12 | SYMBOL TABLE: |
| 13 | #... |
| 14 | 0+82084 l O \.got 0+ _GLOBAL_OFFSET_TABLE_ |
| 15 | 0+80076 g F \.text 0+2 expfn |
| 16 | 0+82090 g O \.data 0+4 expobj |
| 17 | #... |
| 18 | Disassembly of section \.text: |
| 19 | #... |
| 20 | 0+80078 <y>: |
| 21 | 80078: 6fae f2df ffff .* |
| 22 | 8007e: 6fbe 0c00 0000 .* |