37e41c8801
add netbsd/arm EABI target. recognise dwarf2 unwinding in the common arm code. switch convoluted stddef.h logic from relying on include guards having certain names to only applying for netbsd, which should be the sole remaining user. (necessary for netbsd/arm, which uses different include guards for ansi.h) move linux/alpha code out of shared alpha+ELF header. make all netbsd targets include netbsd-stdint.h. Fixes PR pkg/52951. Bump PKGREVISION. bump gcc7-libs PKGREVISION above this one.
26 lines
953 B
Text
26 lines
953 B
Text
$NetBSD: patch-libgcc_config_arm_t-netbsd-eabi,v 1.1 2018/06/17 19:50:52 maya Exp $
|
|
|
|
netbsd/arm EABI support
|
|
|
|
--- libgcc/config/arm/t-netbsd-eabi.orig 2018-06-15 14:49:36.798627201 +0000
|
|
+++ libgcc/config/arm/t-netbsd-eabi
|
|
@@ -0,0 +1,19 @@
|
|
+# This list is from t-elf, but with lots removed.
|
|
+LIB1ASMFUNCS += _dvmd_tls _bb_init_func _call_via_rX _interwork_call_via_rX \
|
|
+ _clzsi2 _clzdi2 _ctzsi2
|
|
+
|
|
+# Derived from t-bpabi
|
|
+# Add the BPABI C functions.
|
|
+LIB2ADD += $(srcdir)/config/arm/unaligned-funcs.c
|
|
+
|
|
+LIB2ADDEH = $(srcdir)/config/arm/unwind-arm.c \
|
|
+ $(srcdir)/config/arm/libunwind.S \
|
|
+ $(srcdir)/config/arm/pr-support.c $(srcdir)/unwind-c.c
|
|
+
|
|
+# Add the BPABI names.
|
|
+SHLIB_MAPFILES += $(srcdir)/config/arm/libgcc-bpabi.ver
|
|
+
|
|
+# On ARM, specifying -fnon-call-exceptions will needlessly pull in
|
|
+# the unwinder in simple programs which use 64-bit division. Omitting
|
|
+# the option is safe.
|
|
+LIB2_DIVMOD_EXCEPTION_FLAGS := -fexceptions
|