ObjFW  Check-in [3b2c989b9f]

Overview
Comment:runtime: Add 0 .eh_frame at the end for MorphOS
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 3b2c989b9ff1b959e9e6cfa66ed7e09fd39177103aede1368abfae14dfef9891
User & Date: js on 2020-11-26 02:27:21
Other Links: manifest | tags
Context
2020-11-26
23:08
configure: Don't assume iOS if Darwin && ARM check-in: e9bde20671 user: js tags: trunk
02:27
runtime: Add 0 .eh_frame at the end for MorphOS check-in: 3b2c989b9f user: js tags: trunk
01:44
runtime: Register frames of Amiga lib on MorphOS check-in: bc1275562e user: js tags: trunk
Changes

Modified src/runtime/amiga-end.m from [0d112ca98e] to [c87f18bf9e].

17
18
19
20
21
22
23


24
25
26
27
28
29
30
31

#include "config.h"

#import "platform.h"

#ifdef OF_MORPHOS
__asm__ (


    ".section .ctors, \"aw\", @progbits\n"
    "	.long 0\n"
);
#else
__asm__ (
    ""
);
#endif







>
>
|
|






17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33

#include "config.h"

#import "platform.h"

#ifdef OF_MORPHOS
__asm__ (
    ".section .eh_frame, \"aw\"\n"
    "	.long 0\n"
    ".section .ctors, \"aw\"\n"
    "	.long 0"
);
#else
__asm__ (
    ""
);
#endif

Modified src/runtime/amiga-library.m from [c1378649dc] to [aa8e67d72d].

748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
	.rt_Revision = OBJFWRT_LIB_MINOR,
	.rt_Tags = NULL,
#endif
};

#ifdef OF_MORPHOS
__asm__ (
    ".section .eh_frame, \"aw\", @progbits\n"
    ".globl __EH_FRAME_BEGIN__\n"
    ".type __EH_FRAME_BEGIN__, @object\n"
    "__EH_FRAME_BEGIN__:\n"
    ".section .ctors, \"aw\", @progbits\n"
    ".globl __CTOR_LIST__\n"
    ".type __CTOR_LIST__, @object\n"
    "__CTOR_LIST__:\n"
    ".section .text"
);
#endif







|



|






748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
	.rt_Revision = OBJFWRT_LIB_MINOR,
	.rt_Tags = NULL,
#endif
};

#ifdef OF_MORPHOS
__asm__ (
    ".section .eh_frame, \"aw\"\n"
    ".globl __EH_FRAME_BEGIN__\n"
    ".type __EH_FRAME_BEGIN__, @object\n"
    "__EH_FRAME_BEGIN__:\n"
    ".section .ctors, \"aw\"\n"
    ".globl __CTOR_LIST__\n"
    ".type __CTOR_LIST__, @object\n"
    "__CTOR_LIST__:\n"
    ".section .text"
);
#endif