1#source: gotop64.s 2#as: --64 -K PIC 3#ld: -shared -melf64_sparc 4#objdump: -drj.text 5#target: sparc*-*-* 6 7.*: +file format elf64-sparc 8 9Disassembly of section .text: 100000000000001000 <foo-0x8>: 11 +1000: 81 c3 e0 08 retl * 12 +1004: ae 03 c0 17 add %o7, %l7, %l7 13 140000000000001008 <foo>: 15 +1008: 9d e3 bf 60 save %sp, -160, %sp 16 +100c: 2f 00 04 04 sethi %hi\(0x101000\), %l7 17 +1010: 7f ff ff fc call 1000 <foo-0x8> 18 +1014: ae 05 e0 d0 add %l7, 0xd0, %l7 ! 1010d0 <.*> 19 +1018: 01 00 00 00 nop * 20 +101c: 23 00 00 00 sethi %hi\(0\), %l1 21 +1020: 01 00 00 00 nop * 22 +1024: a2 1c 60 08 xor %l1, 8, %l1 23 +1028: 01 00 00 00 nop * 24 +102c: f0 5d c0 11 ldx \[ %l7 \+ %l1 \], %i0 25 +1030: 01 00 00 00 nop * 26 +1034: 23 00 00 03 sethi %hi\(0xc00\), %l1 27 +1038: 01 00 00 00 nop * 28 +103c: a2 1c 63 24 xor %l1, 0x324, %l1 29 +1040: 01 00 00 00 nop * 30 +1044: b0 05 c0 11 add %l7, %l1, %i0 31 +1048: 01 00 00 00 nop * 32 +104c: 81 c7 e0 08 ret 33 +1050: 81 e8 00 00 restore 34#pass 35