Differences From Artifact [e1cb0d467e]:
- File
src/runtime/amiga-library.m
— part of check-in
[f6ab72da6e]
at
2020-06-04 23:01:38
on branch amiga-library
— Add initial amiga-{library,glue,end}.m
These are based on runtime/amiga-{library,glue,end}.m. (user: js, size: 17797) [annotate] [blame] [check-ins using]
To Artifact [6c73132350]:
- File src/runtime/amiga-library.m — part of check-in [964b5ed33c] at 2020-06-05 00:17:28 on branch amiga-library — Add of_init() for Amiga .library (user: js, size: 17832) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
149 150 151 152 153 154 155 | extern void glue_objc_hashtable_free(void); #ifdef OF_MORPHOS const ULONG __abox__ = 1; #endif struct ExecBase *SysBase; struct objc_libc libc; | | < | 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 | extern void glue_objc_hashtable_free(void); #ifdef OF_MORPHOS const ULONG __abox__ = 1; #endif struct ExecBase *SysBase; struct objc_libc libc; FILE *stdout, *stderr; #if defined(OF_AMIGAOS_M68K) __asm__ ( ".text\n" ".globl ___restore_a4\n" ".align 1\n" "___restore_a4:\n" |
︙ | ︙ | |||
403 404 405 406 407 408 409 410 411 412 413 414 415 416 | register struct ObjFWRTBase *r12 __asm__("r12"); struct ObjFWRTBase *base = r12; #endif uintptr_t *iter, *iter0; if (version > 1) return false; memcpy(&libc, libc_, sizeof(libc)); stdout = stdout_; stderr = stderr_; #ifdef OF_AMIGAOS_M68K if ((size_t)_EH_FRAME_BEGINS__ != (size_t)_EH_FRAME_OBJECTS__) | > > > | 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 | register struct ObjFWRTBase *r12 __asm__("r12"); struct ObjFWRTBase *base = r12; #endif uintptr_t *iter, *iter0; if (version > 1) return false; if (base->initialized) return true; memcpy(&libc, libc_, sizeof(libc)); stdout = stdout_; stderr = stderr_; #ifdef OF_AMIGAOS_M68K if ((size_t)_EH_FRAME_BEGINS__ != (size_t)_EH_FRAME_OBJECTS__) |
︙ | ︙ |