Differences From Artifact [6e1b91ee55]:
- File
src/runtime/amiga-library.m
— part of check-in
[8c90e88939]
at
2020-12-20 21:29:54
on branch trunk
— runtime: Remove errno from Amiga library
There is nothing left that needs errno. (user: js, size: 19209) [annotate] [blame] [check-ins using]
To Artifact [359a58f2d8]:
- File src/runtime/amiga-library.m — part of check-in [08d155e3f0] at 2020-12-21 00:25:11 on branch trunk — runtime: Don't pass std{out,err} to Amiga .library (user: js, size: 19109) [annotate] [blame] [check-ins using] [more...]
︙ | ︙ | |||
161 162 163 164 165 166 167 | extern id glue_objc_createTaggedPointer(void); #ifdef OF_MORPHOS const ULONG __abox__ = 1; #endif struct ExecBase *SysBase; struct objc_libc libc; | < < | 161 162 163 164 165 166 167 168 169 170 171 172 173 174 | extern id glue_objc_createTaggedPointer(void); #ifdef OF_MORPHOS const ULONG __abox__ = 1; #endif struct ExecBase *SysBase; struct objc_libc libc; #if defined(OF_AMIGAOS_M68K) __asm__ ( ".text\n" ".globl ___restore_a4\n" ".align 1\n" "___restore_a4:\n" |
︙ | ︙ | |||
412 413 414 415 416 417 418 | static void * lib_null(void) { return NULL; } bool | | < < < | 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 | static void * lib_null(void) { return NULL; } bool objc_init(unsigned int version, struct objc_libc *libc_) { #ifdef OF_AMIGAOS_M68K OBJC_M68K_ARG(struct ObjFWRTBase *, base, a6) #else register struct ObjFWRTBase *r12 __asm__("r12"); struct ObjFWRTBase *base = r12; #endif #ifdef OF_MORPHOS void *frame; #endif uintptr_t *iter, *iter0; if (version > 1) return false; memcpy(&libc, libc_, sizeof(libc)); #ifdef OF_AMIGAOS_M68K if ((size_t)_EH_FRAME_BEGINS__ != (size_t)_EH_FRAME_OBJECTS__) return false; for (size_t i = 1; i <= (size_t)_EH_FRAME_BEGINS__; i++) libc.__register_frame_info((&_EH_FRAME_BEGINS__)[i], |
︙ | ︙ |