Differences From Artifact [141357802d]:
- File
src/runtime/linklib/linklib.m
— part of check-in
[c12ca9484e]
at
2020-03-08 13:49:49
on branch trunk
— runtime/linklib: __attribute__((used)) for [cd]tor
Otherwise, amiga-gcc strips it when optimizations are enabled, resulting
in a linker error. (user: js, size: 14210) [annotate] [blame] [check-ins using] [more...]
To Artifact [67c7f14c6b]:
- File
src/runtime/linklib/linklib.m
— part of check-in
[514944f1ea]
at
2020-06-07 16:34:48
on branch amiga-library
— Pass __sF around instead of std* individually
This avoids needing to #undef std{in,out,err} and then providing a new
symbol. (user: js, size: 14200) [annotate] [blame] [check-ins using]
︙ | ︙ | |||
104 105 106 107 108 109 110 | if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB, OBJFWRT_LIB_MINOR)) == NULL) { fputs("Failed to open " OBJFWRT_AMIGA_LIB "!\n", stderr); abort(); } | | | 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 | if ((ObjFWRTBase = OpenLibrary(OBJFWRT_AMIGA_LIB, OBJFWRT_LIB_MINOR)) == NULL) { fputs("Failed to open " OBJFWRT_AMIGA_LIB "!\n", stderr); abort(); } if (!glue_objc_init(1, &libc, __sF)) { fputs("Failed to initialize " OBJFWRT_AMIGA_LIB "!\n", stderr); abort(); } initialized = true; } |
︙ | ︙ |