ObjFW  Diff

Differences From Artifact [22b5af809e]:

To Artifact [b72f92b6a5]:


43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
43
44
45
46
47
48
49


50
51
52
53
54
55
56







-
-








#ifdef OF_AMIGAOS_M68K
# define OF_M68K_REG(reg) __asm__(#reg)
#else
# define OF_M68K_REG(reg)
#endif

struct Library *DOSBase;

/* This always needs to be the first thing in the file. */
int
_start()
{
	return -1;
}

395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
393
394
395
396
397
398
399



400
401
402
403
404
405
406







-
-
-








	if (version > 1)
		return false;

	if (base->initialized)
		return true;

	if ((DOSBase = OpenLibrary("dos.library", 0)) == NULL)
		return false;

	memcpy(&libc, libc_, sizeof(libc));
	__sF = sF;

#ifdef OF_AMIGAOS_M68K
	if ((size_t)_EH_FRAME_BEGINS__ != (size_t)_EH_FRAME_OBJECTS__)
		return false;