📄 ssl-md-stubs.c
字号:
/* DO NOT EDIT! This file was automatically generated by stubgen v2.0.93 from ssl-md.def */struct LibRef;static struct LibRef *libref = 0;extern void GLibClose(struct LibRef *);#if __GNUC__ > 2 || (__GNUC__ == 2 && __GNUC_MINOR__ >= 95)/* Recent versions of prc-tools's GCC use %a4 or %a5 depending on -mown-gp. */ #ifdef __OWNGP__ #define A4_GLOBALS #else #undef A4_GLOBALS #endif#else/* The prc-tools 0.5.0 version always uses %a4. */#define A4_GLOBALS#endifextern void GLib_CrMD(void);void GLib_CrMD(void){#ifdef A4_GLOBALS asm volatile (".equ A4_GLOBALS,1");#endif asm volatile (" .global MD2MD2: move.l #1,%%d0 braw dispatch .global MD2_FinalMD2_Final: move.l #2,%%d0 braw dispatch .global MD2_InitMD2_Init: move.l #3,%%d0 braw dispatch .global MD2_UpdateMD2_Update: move.l #4,%%d0 braw dispatch .global MD2_optionsMD2_options: move.l #5,%%d0 braw dispatch .global MD5MD5: move.l #6,%%d0 braw dispatch .global MD5_FinalMD5_Final: move.l #7,%%d0 braw dispatch .global MD5_InitMD5_Init: move.l #8,%%d0 braw dispatch .global MD5_UpdateMD5_Update: move.l #9,%%d0 braw dispatchlibname: .asciz \"MD Library\" .evendispatch: lea libname(%%pc),%%a1 move.l %%a1,%%d2 .ifdef A4_GLOBALS move.l %%a4,%%d1 move.l %%d1,%%d1 jbeq noglobals .endif lea %0,%%a1noglobals: move.l %1,%%d1 braw GLibDispatch " : : "g" (libref), "i" ('CrMD') );}#ifdef A4_GLOBALS/* The 0.5.0 distribution didn't use a .dtors section. In order to be usable with that compiler, we use a .ehook function and check for globals ourselves. */register void *reg_a4 asm("%a4");static voidGLib_CrMD_clean(unsigned short cmd, void *PBP, unsigned short flags){ if (reg_a4 && libref) { GLibClose(libref); libref = 0; }}static void *hook __attribute__ ((section ("ehook"), unused)) = GLib_CrMD_clean;#elsestatic void __attribute__ ((destructor, unused))GLib_CrMD_clean(void){ if (libref) { GLibClose(libref); libref = 0; }}#endif
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -