1#include "sgidefs.h" 2#if _MIPS_SIM == _MIPS_SIM_ABI32 3 .file 1 "initfini.c" 4 .section .mdebug.abi32 5 .previous 6 .abicalls 7#APP 8 9 .section .init 10#NO_APP 11 .align 2 12 .globl _init 13 .type _init, @function 14#NO_APP 15 lw $31,28($sp) 16 #nop 17 .set noreorder 18 .set nomacro 19 j $31 20 addu $sp,$sp,32 21 .set macro 22 .set reorder 23 24#APP 25 26 .section .fini 27#NO_APP 28 .align 2 29 .globl _fini 30 .type _fini, @function 31#NO_APP 32 lw $31,28($sp) 33 #nop 34 .set noreorder 35 .set nomacro 36 j $31 37 addu $sp,$sp,32 38 .set macro 39 .set reorder 40 41#APP 42 43 .ident "GCC: (GNU) 3.3.2" 44#elif _MIPS_SIM == _MIPS_SIM_NABI32 45 .file 1 "initfini.c" 46 .section .mdebug.abiN32 47 .previous 48 .abicalls 49#APP 50 51 .section .init 52#NO_APP 53 .align 3 54 .globl _init 55 .type _init, @function 56#NO_APP 57 ld $31,8($sp) 58 ld $28,0($sp) 59 .set noreorder 60 .set nomacro 61 j $31 62 addiu $sp,$sp,16 63 .set macro 64 .set reorder 65#APP 66 67 .section .fini 68#NO_APP 69 .align 3 70 .globl _fini 71 .type _fini, @function 72#NO_APP 73 ld $31,8($sp) 74 ld $28,0($sp) 75 .set noreorder 76 .set nomacro 77 j $31 78 addiu $sp,$sp,16 79 .set macro 80 .set reorder 81 82#APP 83 84 .ident "GCC: (GNU) 3.4.3" 85#else /* N64 */ 86 .file 1 "initfini.c" 87 .section .mdebug.abi64 88 .previous 89 .abicalls 90#APP 91 92 93 .section .init 94#NO_APP 95 .align 2 96 .globl _init 97 .type _init, @function 98#NO_APP 99 ld $31,24($sp) 100 ld $28,16($sp) 101 #nop 102 .set noreorder 103 .set nomacro 104 j $31 105 daddu $sp,$sp,32 106 .set macro 107 .set reorder 108 109#APP 110 111 .section .fini 112#NO_APP 113 .align 2 114 .globl _fini 115 .type _fini, @function 116#NO_APP 117 ld $31,24($sp) 118 ld $28,16($sp) 119 #nop 120 .set noreorder 121 .set nomacro 122 j $31 123 daddu $sp,$sp,32 124 .set macro 125 .set reorder 126 127#APP 128 129 .ident "GCC: (GNU) 3.3.2" 130#endif /* N64 */ 131