ObjFW  Check-in [8cedd82180]

Overview
Comment:src/amiga-library.m: Don't make OFInit __saveds

__saveds doesn't work in OFInit() yet - the entire point of OFInit() is
to set up things so that __saveds works.

Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | amiga-library
Files: files | file ages | folders
SHA3-256: 8cedd82180475c6ab840c80d33b4534f5f634519fc3cf92805ae0b33f0242d92
User & Date: js on 2022-11-17 16:37:08
Other Links: branch diff | manifest | tags
Context
2022-11-17
17:15
More consistency between the two amiga-library.m check-in: 0846f898ea user: js tags: amiga-library
16:37
src/amiga-library.m: Don't make OFInit __saveds check-in: 8cedd82180 user: js tags: amiga-library
15:59
src/linklib: Fix priority on MorphOS check-in: 867d00992a user: js tags: amiga-library
Changes

Modified src/amiga-library.m from [e2d6bec2e5] to [47fd246f7b].

325
326
327
328
329
330
331
332
333
334
335
336
337
338
339

static void *
libNull(void)
{
	return NULL;
}

bool __saveds
OFInit(unsigned int version, struct OFLibC *libC_, FILE **sF)
{
#ifdef OF_AMIGAOS_M68K
	OF_M68K_ARG(struct ObjFWBase *, base, a6)
#else
	register struct ObjFWBase *r12 __asm__("r12");
	struct ObjFWBase *base = r12;







|







325
326
327
328
329
330
331
332
333
334
335
336
337
338
339

static void *
libNull(void)
{
	return NULL;
}

bool
OFInit(unsigned int version, struct OFLibC *libC_, FILE **sF)
{
#ifdef OF_AMIGAOS_M68K
	OF_M68K_ARG(struct ObjFWBase *, base, a6)
#else
	register struct ObjFWBase *r12 __asm__("r12");
	struct ObjFWBase *base = r12;