ObjFW  Diff

Differences From Artifact [82de8c2339]:

  • File src/runtime/private.h — part of check-in [49aee5736e] at 2020-01-25 20:04:54 on branch trunk — tlskey.m: Use hashtable from runtime on AmigaOS

    tlskey.m used OFMapTable only on AmigaOS. This became a problem when
    autorelease pools were moved into the runtime, as autorelease pools use
    TLS. The build then broke, as there suddenly was a dependency from the
    runtime on ObjFW.

    This now uses the hashtable from the runtime and also no longer uses
    OFList, thus fixing the build. As we always use the runtime on AmigaOS
    anyway, this is fine. (user: js, size: 11152) [annotate] [blame] [check-ins using] [more...]

To Artifact [44543549b6]:

  • File src/runtime/private.h — part of check-in [3580326d70] at 2020-09-29 21:31:25 on branch trunk — runtime: Remove lookup-asm-powerpc-macho.S

    The newest compilers for macOS/PowerPC, Apple GCC 4.0.1 and Apple GCC
    4.2.1, both fail to compile any code that contains fast enumeration when
    using -fgnu-runtime (both crash with a bus error). This means that using
    the ObjFW runtime on macOS/PowerPC is no longer possible since ObjFW
    started requiring ObjC 2.

    macOS/PowerPC with the Apple runtime is still fully supported. (user: js, size: 11129) [annotate] [blame] [check-ins using]


340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# if defined(OF_X86_64) || defined(OF_X86) || defined(OF_POWERPC) || \
    defined(OF_ARM64) || defined(OF_ARM) || \
    defined(OF_MIPS64_N64) || defined(OF_MIPS) || \
    defined(OF_SPARC64) || defined(OF_SPARC)
#  define OF_ASM_LOOKUP
# endif
#elif defined(OF_MACH_O)
# if defined(OF_X86_64) || defined(OF_POWERPC)
#  define OF_ASM_LOOKUP
# endif
#elif defined(OF_WINDOWS)
# if defined(OF_X86_64) || defined(OF_X86)
#  define OF_ASM_LOOKUP
# endif
#endif







|







340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
# if defined(OF_X86_64) || defined(OF_X86) || defined(OF_POWERPC) || \
    defined(OF_ARM64) || defined(OF_ARM) || \
    defined(OF_MIPS64_N64) || defined(OF_MIPS) || \
    defined(OF_SPARC64) || defined(OF_SPARC)
#  define OF_ASM_LOOKUP
# endif
#elif defined(OF_MACH_O)
# if defined(OF_X86_64)
#  define OF_ASM_LOOKUP
# endif
#elif defined(OF_WINDOWS)
# if defined(OF_X86_64) || defined(OF_X86)
#  define OF_ASM_LOOKUP
# endif
#endif