home *** CD-ROM | disk | FTP | other *** search
/ Amiga Plus 2000 #4 / Amiga Plus CD - 2000 - No. 4.iso / PowerPC / Dev / PPCRelease / Examples / Library / LibsModule.s < prev    next >
Encoding:
Text File  |  1998-06-10  |  2.4 KB  |  150 lines

  1.  # GNU C 2.7.2.1
  2.  # -O2 -fdefer-pop -fomit-frame-pointer -fcse-follow-jumps -fcse-skip-blocks
  3.  # -fexpensive-optimizations -fthread-jumps -fstrength-reduce -fpeephole
  4.  # -fforce-mem -ffunction-cse -finline -fcaller-saves -fpcc-struct-return
  5.  # -frerun-cse-after-loop -fschedule-insns -fschedule-insns2 -fcommon
  6.  # -fgnu-linker -mpowerpc -mnew-mnemonics
  7.  
  8.     .file    "LibsModule.c"
  9. gcc2_compiled.:
  10.     .globl __LIB_LibTable
  11.     .section    ".data"
  12.     .align 2
  13.     .type     __LIB_LibTable,@object
  14. __LIB_LibTable:
  15.     .long .LC0
  16.     .long .LC1
  17.     .long .LC2
  18.     .long 0
  19. .section    .rodata
  20.     .align 2
  21. .LC2:
  22.     .string    "Print"
  23.     .align 2
  24. .LC1:
  25.     .string    "Sub"
  26.     .align 2
  27. .LC0:
  28.     .string    "Add"
  29.     .size     __LIB_LibTable,16
  30.     .globl __LIB_Version
  31.     .section    ".data"
  32.     .align 2
  33.     .type     __LIB_Version,@object
  34.     .size     __LIB_Version,4
  35. __LIB_Version:
  36.     .long 42
  37.     .globl __LIB_Revision
  38.     .align 2
  39.     .type     __LIB_Revision,@object
  40.     .size     __LIB_Revision,4
  41. __LIB_Revision:
  42.     .long 666
  43.     .section    ".text"
  44.     .align 2
  45.     .globl __LIB_Init
  46.     .type     __LIB_Init,@function
  47.     .long 0x4008
  48. __LIB_Init:
  49.     stwu 1,-16(1)
  50.     addi 1,1,16
  51.     blr
  52. .Lfe1:
  53.     .size     __LIB_Init,.Lfe1-__LIB_Init
  54.     .align 2
  55.     .globl __LIB_Expunge
  56.     .type     __LIB_Expunge,@function
  57.     .long 0x4008
  58. __LIB_Expunge:
  59.     stwu 1,-16(1)
  60.     addi 1,1,16
  61.     blr
  62. .Lfe2:
  63.     .size     __LIB_Expunge,.Lfe2-__LIB_Expunge
  64.     .align 2
  65.     .globl __LIB_Open
  66.     .type     __LIB_Open,@function
  67.     .long 0x4008
  68. __LIB_Open:
  69.     stwu 1,-16(1)
  70.     addi 1,1,16
  71.     blr
  72. .Lfe3:
  73.     .size     __LIB_Open,.Lfe3-__LIB_Open
  74.     .align 2
  75.     .globl __LIB_Close
  76.     .type     __LIB_Close,@function
  77.     .long 0x4008
  78. __LIB_Close:
  79.     stwu 1,-16(1)
  80.     addi 1,1,16
  81.     blr
  82. .Lfe4:
  83.     .size     __LIB_Close,.Lfe4-__LIB_Close
  84.     .align 2
  85.     .globl Add
  86.     .type     Add,@function
  87.     .long 0x4008
  88. Add:
  89.     stwu 1,-16(1)
  90.     add 3,3,4
  91.     addi 1,1,16
  92.     blr
  93. .Lfe5:
  94.     .size     Add,.Lfe5-Add
  95.     .align 2
  96.     .globl Sub
  97.     .type     Sub,@function
  98.     .long 0x4008
  99. Sub:
  100.     stwu 1,-16(1)
  101.     subf 3,4,3
  102.     addi 1,1,16
  103.     blr
  104. .Lfe6:
  105.     .size     Sub,.Lfe6-Sub
  106.     .align 2
  107.     .globl Print
  108.     .type     Print,@function
  109.     .long 0x400c
  110. Print:
  111.     stwu 1,-128(1)
  112.     mflr 0
  113.     stw 0,132(1)
  114.     stw 3,8(1)
  115.     stw 4,12(1)
  116.     stw 5,16(1)
  117.     stw 6,20(1)
  118.     stw 7,24(1)
  119.     stw 8,28(1)
  120.     stw 9,32(1)
  121.     stw 10,36(1)
  122.     bc 4,6,.L8
  123.     stfd 1,40(1)
  124.     stfd 2,48(1)
  125.     stfd 3,56(1)
  126.     stfd 4,64(1)
  127.     stfd 5,72(1)
  128.     stfd 6,80(1)
  129.     stfd 7,88(1)
  130.     stfd 8,96(1)
  131.     stfd 9,104(1)
  132. .L8:
  133.     li 0,1
  134.     stb 0,112(1)
  135.     li 0,0
  136.     stb 0,113(1)
  137.     addi 0,1,8
  138.     stw 0,120(1)
  139.     addi 0,1,136
  140.     stw 0,116(1)
  141.     addi 4,1,112
  142.     bl PPCvprintf
  143.     lwz 0,132(1)
  144.     mtlr 0
  145.     addi 1,1,128
  146.     blr
  147. .Lfe7:
  148.     .size     Print,.Lfe7-Print
  149.     .ident    "GCC: (GNU) 2.7.2.1"
  150.