View | Details | Raw Unified | Return to bug 201183 | Differences between
and this patch

Collapse All | Expand All

(-)b/include/private/gc_priv.h (-1 / +2 lines)
Lines 2485-2491 GC_INNER ptr_t GC_store_debug_info(ptr_t p, word sz, const char *str, Link Here
2485
#endif
2485
#endif
2486
2486
2487
#if defined(FREEBSD) && (defined(I386) || defined(X86_64) \
2487
#if defined(FREEBSD) && (defined(I386) || defined(X86_64) \
2488
                        || defined(powerpc) || defined(__powerpc__))
2488
                        || defined(powerpc) || defined(__powerpc__) \
2489
                        || defined(__aarch64__))
2489
# include <machine/trap.h>
2490
# include <machine/trap.h>
2490
# if !defined(PCR)
2491
# if !defined(PCR)
2491
#   define NEED_FIND_LIMIT
2492
#   define NEED_FIND_LIMIT
(-)b/include/private/gcconfig.h (-3 / +7 lines)
Lines 2069-2082 Link Here
2069
#     endif
2069
#     endif
2070
#   endif
2070
#   endif
2071
#   ifdef FREEBSD
2071
#   ifdef FREEBSD
2072
#     define ALIGNMENT 8
2073
#     define OS_TYPE "FREEBSD"
2072
#     define OS_TYPE "FREEBSD"
2073
#     ifndef GC_FREEBSD_THREADS
2074
#       define MPROTECT_VDB
2075
#     endif
2076
#     define FREEBSD_STACKBOTTOM
2074
#     ifdef __ELF__
2077
#     ifdef __ELF__
2075
#       define DYNAMIC_LOADING
2078
#       define DYNAMIC_LOADING
2076
#     endif
2079
#     endif
2077
#     define HEURISTIC2
2078
      extern char etext[];
2080
      extern char etext[];
2079
#     define SEARCH_FOR_DATA_START
2081
      ptr_t GC_FreeBSDGetDataStart(size_t, ptr_t);
2082
#     define DATASTART GC_FreeBSDGetDataStart(0x1000, (ptr_t)etext)
2083
#     define DATASTART_IS_FUNC
2080
#   endif
2084
#   endif
2081
#   ifdef NOSYS
2085
#   ifdef NOSYS
2082
      /* __data_start is usually defined in the target linker script.   */
2086
      /* __data_start is usually defined in the target linker script.   */
(-)b/os_dep.c (-2 / +2 lines)
Lines 1839-1845 void GC_register_data_segments(void) Link Here
1839
# endif
1839
# endif
1840
1840
1841
# if defined(FREEBSD) && !defined(PCR) && (defined(I386) || defined(X86_64) \
1841
# if defined(FREEBSD) && !defined(PCR) && (defined(I386) || defined(X86_64) \
1842
                                || defined(powerpc) || defined(__powerpc__))
1842
                                || defined(powerpc) || defined(__powerpc__) \
1843
                                || defined(__aarch64__))
1843
1844
1844
/* Its unclear whether this should be identical to the above, or        */
1845
/* Its unclear whether this should be identical to the above, or        */
1845
/* whether it should apply to non-X86 architectures.                    */
1846
/* whether it should apply to non-X86 architectures.                    */
1846
- 

Return to bug 201183