ObjFW  Check-in [4b67fe84b1]

Overview
Comment: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.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 4b67fe84b1ad87b42ec94863e01602dc7e79dca582c401598c6f3b611018a26f
User & Date: js on 2021-12-05 11:49:53
Other Links: manifest | tags
Context
2021-12-05
17:05
Update buildsys check-in: 5fcc7e6874 user: js tags: trunk
11:49
runtime/linklib: Unload library with dtor prio 0 check-in: 4b67fe84b1 user: js tags: trunk
2021-12-04
20:43
forwarding-powerpc-elf.S: Fix typo check-in: 173b2bbe78 user: js tags: trunk
Changes

Modified src/runtime/linklib/init.m from [29e3bce728] to [d92ead177b].

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, 4000)
{
	dtor();
}
#endif

extern int __gnu_objc_personality(int version, int actions, uint64_t *exClass,
    void *ex, void *ctx);







|







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);