fdpic2.s 1.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081
  1. .text
  2. .weak _start
  3. _start:
  4. .global F2
  5. .type F2,@function
  6. F2:
  7. call GF0
  8. .global GF0
  9. .global GF1
  10. .global GF2
  11. .global GF3
  12. .global GF4
  13. .global GF5
  14. .global GF6
  15. .global GF7
  16. .global GF8
  17. .global GF9
  18. .global GFa
  19. .global GFb
  20. .global GFc
  21. GF0:
  22. GF1:
  23. GF2:
  24. GF3:
  25. GF4:
  26. GF5:
  27. GF6:
  28. GF7:
  29. GF8:
  30. GF9:
  31. GFa:
  32. GFb:
  33. GFc:
  34. addi gr15, #got12(GF1), gr0
  35. setlos #gotlo(GF2), gr0
  36. setlo #gotlo(GF3), gr0
  37. sethi #gothi(GF3), gr0
  38. addi gr15, #gotfuncdesc12(GF4), gr0
  39. setlos #gotfuncdesclo(GF5), gr0
  40. setlo #gotfuncdesclo(GF6), gr0
  41. sethi #gotfuncdeschi(GF6), gr0
  42. addi gr15, #gotofffuncdesc12(GF7), gr0
  43. setlos #gotofffuncdesclo(GF8), gr0
  44. setlo #gotofffuncdesclo(GF9), gr0
  45. sethi #gotofffuncdeschi(GF9), gr0
  46. addi gr15, #gotoff12(GD1), gr0
  47. setlos #gotofflo(GD2), gr0
  48. setlo #gotofflo(GD3), gr0
  49. sethi #gotoffhi(GD3), gr0
  50. setlo #gotlo(GD4), gr0
  51. sethi #gothi(GD4), gr0
  52. .data
  53. .global D2
  54. D2:
  55. .word GD0
  56. .global GD0
  57. .global GD1
  58. .global GD2
  59. .global GD3
  60. .global GD4
  61. GD0:
  62. GD1:
  63. GD2:
  64. GD3:
  65. GD4:
  66. .picptr funcdesc(GFb)
  67. .word GFb