| 1 |
#as: --no-underscore --pic --em=criself |
| 2 |
#source: gotrel1.s |
| 3 |
#source: locref2.s |
| 4 |
#ld: -m crislinux |
| 5 |
#objdump: -dt |
| 6 |
|
| 7 |
# Referencing an undefined weak (non-hidden) symbol with a local-only |
| 8 |
# PIC relocation is ok when building an executable. |
| 9 |
|
| 10 |
.*: file format elf32-cris |
| 11 |
|
| 12 |
SYMBOL TABLE: |
| 13 |
#... |
| 14 |
0+ w \*UND\* 0+ expfn |
| 15 |
0+ w \*UND\* 0+ expobj |
| 16 |
#... |
| 17 |
0+820a0 g O \.got 0+ \.hidden _GLOBAL_OFFSET_TABLE_ |
| 18 |
#... |
| 19 |
Disassembly of section \.text: |
| 20 |
#... |
| 21 |
0+8007c <y>: |
| 22 |
8007c: 6fae 60df f7ff .* |
| 23 |
80082: 6fbe 60df f7ff .* |