All pastes #939587 Raw Edit

Anonymous

public text v1 · immutable
·published 2008-03-12 12:28 UTC
rendered paste body
bart@husk:~/code/cellproject/libraries/scale$ ppu-objdump -x test.o

test.o:     file format elf64-powerpc
test.o
architecture: powerpc:common64, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x0000000000000000

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         000002cc  0000000000000000  0000000000000000  00000040  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .data         00000000  0000000000000000  0000000000000000  0000030c  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  2 .bss          00000000  0000000000000000  0000000000000000  0000030c  2**0
                  ALLOC
  3 .toc          00000010  0000000000000000  0000000000000000  00000310  2**3
                  CONTENTS, ALLOC, LOAD, DATA
  4 .opd          00000018  0000000000000000  0000000000000000  00000320  2**3
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  5 .comment      00000012  0000000000000000  0000000000000000  00000338  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l    df *ABS*  0000000000000000 test.c
0000000000000000 l    d  .text  0000000000000000 .text
0000000000000000 l    d  .data  0000000000000000 .data
0000000000000000 l    d  .bss   0000000000000000 .bss
0000000000000000 l    d  .toc   0000000000000000 .toc
0000000000000000 l    d  .opd   0000000000000000 .opd
0000000000000000 l    d  .comment       0000000000000000 .comment
0000000000000000 g     F .opd   00000000000002cc main
0000000000000000         *UND*  0000000000000000 cp_fb_open
0000000000000000         *UND*  0000000000000000 memset
0000000000000000         *UND*  0000000000000000 malloc
0000000000000000         *UND*  0000000000000000 rgbmap_on_buffer
0000000000000000         *UND*  0000000000000000 ioctl
0000000000000000         *UND*  0000000000000000 cp_fb_close


RELOCATION RECORDS FOR [.text]:
OFFSET           TYPE              VALUE
0000000000000050 R_PPC64_REL24     cp_fb_open
00000000000000ac R_PPC64_REL24     memset
00000000000000e8 R_PPC64_REL24     malloc
00000000000001c0 R_PPC64_REL24     malloc
0000000000000200 R_PPC64_REL24     rgbmap_on_buffer
0000000000000246 R_PPC64_TOC16_DS  .toc
000000000000024c R_PPC64_REL24     ioctl
000000000000026a R_PPC64_TOC16_DS  .toc+0x0000000000000008
0000000000000270 R_PPC64_REL24     ioctl
0000000000000298 R_PPC64_REL24     cp_fb_close


RELOCATION RECORDS FOR [.opd]:
OFFSET           TYPE              VALUE
0000000000000000 R_PPC64_ADDR64    .text
0000000000000008 R_PPC64_TOC       *ABS*


bart@husk:~/code/cellproject/libraries/scale$ ppu-objdump -x libscale.a
In archive libscale.a:

scale.o:     file format elf64-powerpc
rw-r--r-- 1000/1000   3496 Mar 12 13:26 2008 scale.o
architecture: powerpc:common64, flags 0x00000011:
HAS_RELOC, HAS_SYMS
start address 0x0000000000000000

Sections:
Idx Name          Size      VMA               LMA               File off  Algn
  0 .text         000003e8  0000000000000000  0000000000000000  00000040  2**2
                  CONTENTS, ALLOC, LOAD, RELOC, READONLY, CODE
  1 .data         00000000  0000000000000000  0000000000000000  00000428  2**0
                  CONTENTS, ALLOC, LOAD, DATA
  2 .bss          00000000  0000000000000000  0000000000000000  00000428  2**0
                  ALLOC
  3 .toc          00000010  0000000000000000  0000000000000000  00000428  2**3
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  4 .opd          00000060  0000000000000000  0000000000000000  00000438  2**3
                  CONTENTS, ALLOC, LOAD, RELOC, DATA
  5 .comment      00000012  0000000000000000  0000000000000000  00000498  2**0
                  CONTENTS, READONLY
SYMBOL TABLE:
0000000000000000 l    df *ABS*  0000000000000000 scale.c
0000000000000000 l    d  .text  0000000000000000 .text
0000000000000000 l    d  .data  0000000000000000 .data
0000000000000000 l    d  .bss   0000000000000000 .bss
0000000000000000 l    d  .toc   0000000000000000 .toc
0000000000000000 l    d  .opd   0000000000000000 .opd
0000000000000000 l    d  .comment       0000000000000000 .comment
0000000000000000 g     F .opd   00000000000000a0 colormap_on_buffer
0000000000000018 g     F .opd   0000000000000048 ppu_pthread_function
0000000000000000         *UND*  0000000000000000 spe_context_run
0000000000000000         *UND*  0000000000000000 pthread_exit
0000000000000000         *UND*  0000000000000000 bilinear_spu
0000000000000030 g     F .opd   00000000000001fc rgbmap_scale_colormap
0000000000000000         *UND*  0000000000000000 malloc
0000000000000000         *UND*  0000000000000000 spe_context_create
0000000000000000         *UND*  0000000000000000 spe_program_load
0000000000000000         *UND*  0000000000000000 pthread_create
0000000000000000         *UND*  0000000000000000 spe_out_mbox_status
0000000000000000         *UND*  0000000000000000 spe_out_mbox_read
0000000000000000         *UND*  0000000000000000 pthread_join
0000000000000000         *UND*  0000000000000000 spe_context_destroy
0000000000000048 g     F .opd   0000000000000104 rgbmap_on_buffer


RELOCATION RECORDS FOR [.text]:
OFFSET           TYPE              VALUE
00000000000000c8 R_PPC64_REL24     spe_context_run
00000000000000d4 R_PPC64_REL24     pthread_exit
000000000000013c R_PPC64_REL24     malloc
0000000000000174 R_PPC64_REL24     malloc
0000000000000228 R_PPC64_REL24     spe_context_create
0000000000000232 R_PPC64_TOC16_DS  .toc
0000000000000238 R_PPC64_REL24     spe_program_load
0000000000000246 R_PPC64_TOC16_DS  .toc+0x0000000000000008
000000000000025c R_PPC64_REL24     pthread_create
0000000000000268 R_PPC64_REL24     spe_out_mbox_status
0000000000000284 R_PPC64_REL24     spe_out_mbox_read
0000000000000294 R_PPC64_REL24     pthread_join
00000000000002a0 R_PPC64_REL24     spe_context_destroy
0000000000000324 R_PPC64_REL24     rgbmap_scale_colormap


RELOCATION RECORDS FOR [.toc]:
OFFSET           TYPE              VALUE
0000000000000000 R_PPC64_ADDR64    bilinear_spu
0000000000000008 R_PPC64_ADDR64    ppu_pthread_function


RELOCATION RECORDS FOR [.opd]:
OFFSET           TYPE              VALUE
0000000000000000 R_PPC64_ADDR64    .text
0000000000000008 R_PPC64_TOC       *ABS*
0000000000000018 R_PPC64_ADDR64    .text+0x00000000000000a0
0000000000000020 R_PPC64_TOC       *ABS*
0000000000000030 R_PPC64_ADDR64    .text+0x00000000000000e8
0000000000000038 R_PPC64_TOC       *ABS*
0000000000000048 R_PPC64_ADDR64    .text+0x00000000000002e4
0000000000000050 R_PPC64_TOC       *ABS*


ppu-objdump: bilinear_spu.a: File format not recognized