ObjFW  Check-in [39b17e432c]

Overview
Comment:Adjust to Amiga GCC changes
Downloads: Tarball | ZIP archive | SQL archive
Timelines: family | ancestors | descendants | both | trunk
Files: files | file ages | folders
SHA3-256: 39b17e432cfdef820c04ece04ebdd378267724346208a461d6bf43476bc8b16b
User & Date: js on 2022-11-14 21:15:21
Other Links: manifest | tags
Context
2022-11-15
20:17
Restore GitHub Actions for Nintendo (3)DS check-in: da3f193b81 user: js tags: trunk
2022-11-14
21:15
Adjust to Amiga GCC changes check-in: 39b17e432c user: js tags: trunk
20:35
Remove GitHub Actions for Nintendo 3(DS) check-in: 74c35b8762 user: js tags: trunk
Changes

Modified src/runtime/amiga-end.m from [0cdcd50b7f] to [103c98442e].

13
14
15
16
17
18
19
20

21
22
23
24
25
26
27

28





29

30
31
13
14
15
16
17
18
19

20
21
22
23
24
25
26

27
28
29
30
31
32
33

34
35
36







-
+






-
+

+
+
+
+
+
-
+


 * file.
 */

#include "config.h"

#include "platform.h"

#ifdef OF_MORPHOS
#if defined(OF_MORPHOS)
__asm__ (
    ".section .eh_frame, \"aw\"\n"
    "	.long 0\n"
    ".section .ctors, \"aw\"\n"
    "	.long 0"
);
#else
#elif defined(OF_AMIGAOS_M68K)
__asm__ (
    ".section .list___EH_FRAME_BEGINS__, \"aw\"\n"
    "    .long 0\n"
    ".section .dlist___EH_FRAME_OBJECTS__, \"aw\"\n"
    "    .long 0\n"
    ".section .list___CTOR_LIST__, \"aw\"\n"
    ""
    "    .long 0"
);
#endif

Modified src/runtime/amiga-library.m from [db6b5f4a82] to [46cba57866].

569
570
571
572
573
574
575
576

577
578
579
580
581
582
583
584
585
586
587
















588
569
570
571
572
573
574
575

576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604







-
+











+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+

	.rt_Init = &init_table,
#ifdef OF_MORPHOS
	.rt_Revision = OBJFWRT_LIB_MINOR,
	.rt_Tags = NULL,
#endif
};

#ifdef OF_MORPHOS
#if defined(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"
);
#elif defined(OF_AMIGAOS_M68K)
__asm__ (
    ".section .list___EH_FRAME_BEGINS__, \"aw\"\n"
    ".globl __EH_FRAME_BEGIN__\n"
    ".type __EH_FRAME_BEGIN__, @object\n"
    "__EH_FRAME_BEGINS__:\n"
    ".section .dlist___EH_FRAME_OBJECTS__, \"aw\"\n"
    ".globl __EH_FRAME_OBJECTS__\n"
    ".type __EH_FRAME_OBJECTS__, @object\n"
    "__EH_FRAME_OBJECTS__:\n"
    ".section .list___CTOR_LIST__, \"aw\"\n"
    ".globl ___CTOR_LIST__\n"
    ".type ___CTOR_LIST__, @object\n"
    "___CTOR_LIST__:\n"
    ".section .text"
);
#endif