Differences From Artifact [846f7565d8]:
- File
src/runtime/Makefile
— part of check-in
[482698c5be]
at
2018-05-06 21:39:06
on branch trunk
— runtime: Make Amiga library work with -fbaserel
This currently uses __saveds on all exported functions for simplicity.
As an optimization, __saveds can be removed from some functions later
after careful verification that no code path starting from that function
accesses any data. (user: js, size: 1780) [annotate] [blame] [check-ins using]
To Artifact [a15409d34a]:
- File src/runtime/Makefile — part of check-in [2376865a0f] at 2018-05-11 17:59:49 on branch trunk — runtime: Support to open Amiga lib multiple times (user: js, size: 1774) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
57 58 59 60 61 62 63 | AMIGA_LIB_CFLAGS += -DOBJC_COMPILING_AMIGA_LIBRARY LD = ${OBJC} FRAMEWORK_LIBS = ${LIBS} # For 68000, GCC emits calls to helper functions that expect a4 to be set. # Remove this once the library is using -fbaserel. AMIGA_LIB_CFLAGS += -mcpu=68020 -fbaserel | | | 57 58 59 60 61 62 63 64 | AMIGA_LIB_CFLAGS += -DOBJC_COMPILING_AMIGA_LIBRARY LD = ${OBJC} FRAMEWORK_LIBS = ${LIBS} # For 68000, GCC emits calls to helper functions that expect a4 to be set. # Remove this once the library is using -fbaserel. AMIGA_LIB_CFLAGS += -mcpu=68020 -fbaserel AMIGA_LIB_LDFLAGS += -mcpu=68020 -fbaserel -resident |