Differences From Artifact [29e3bce728]:
- File src/runtime/linklib/init.m — part of check-in [374e1a1bfa] at 2021-01-02 22:04:26 on branch trunk — Update copyright (user: js, size: 4580) [annotate] [blame] [check-ins using] [more...]
To Artifact [d92ead177b]:
- File
src/runtime/linklib/init.m
— part of check-in
[4b67fe84b1]
at
2021-12-05 11:49:53
on branch trunk
— runtime/linklib: Unload library with dtor prio 0
This avoids unloading the library when other things might still use it,
most notably it broke atexit handlers trying to use the runtime. (user: js, size: 4577) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
159 160 161 162 163 164 165 | CONSTRUCTOR_P(ObjFWRT, 4000) { ctor(); return 0; } | | | 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 | CONSTRUCTOR_P(ObjFWRT, 4000) { ctor(); return 0; } DESTRUCTOR_P(ObjFWRT, 0) { dtor(); } #endif extern int __gnu_objc_personality(int version, int actions, uint64_t *exClass, void *ex, void *ctx); |
︙ | ︙ |