Differences From Artifact [127b4c9eeb]:
- File
src/runtime/linklib/linklib.m
— part of check-in
[b31bd48f90]
at
2018-05-26 14:49:26
on branch trunk
— Remove #define INTUITION_CLASSES_H hack
This has been fixed upstream in amiga-gcc. (user: js, size: 9763) [annotate] [blame] [check-ins using]
To Artifact [715e972f4a]:
- File
src/runtime/linklib/linklib.m
— part of check-in
[57f0d10b19]
at
2018-05-26 15:18:42
on branch trunk
— runtime/linklib: Use init/exit list on amiga-gcc
The init list is executed before all constructors and the exit list
after all destructors. This makes sure the runtime library is present
during all constructors and destructors.Use -2 so that objfw.library later on can use -1. (user: js, size: 10032) [annotate] [blame] [check-ins using]
︙ | |||
23 24 25 26 27 28 29 30 31 32 33 34 35 36 | 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 | + + + + | #include <proto/exec.h> #import "inline.h" #include <stdio.h> #include <stdlib.h> #ifdef OF_AMIGAOS_M68K # include <stabs.h> #endif #ifdef HAVE_SJLJ_EXCEPTIONS extern int _Unwind_SjLj_RaiseException(void *); #else extern int _Unwind_RaiseException(void *); #endif extern void _Unwind_DeleteException(void *); |
︙ | |||
49 50 51 52 53 54 55 | 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 | + + - - + + + | #endif extern void __register_frame_info(const void *, void *); extern void __deregister_frame_info(const void *); struct Library *ObjFWRTBase; void *__objc_class_name_Protocol; static void #ifndef OF_AMIGAOS_M68K |
︙ | |||
102 103 104 105 106 107 108 | 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 | + - + + + + + + + + + + + - + | fputs("Failed to initialize objfw_rt.library!\n", stderr); abort(); } initialized = true; } static void |
︙ |