summaryrefslogtreecommitdiff
path: root/lang/gcc46/patches/patch-gcc_config_arm_t-netbsd
blob: 94d1b4003b9088a9f2e0b4f2f8aec513caca407b (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
$NetBSD: patch-gcc_config_arm_t-netbsd,v 1.1 2013/04/02 22:31:40 jmcneill Exp $

--- gcc/config/arm/t-netbsd.orig	2009-04-21 19:03:23.000000000 +0000
+++ gcc/config/arm/t-netbsd
@@ -23,6 +23,14 @@ TARGET_LIBGCC2_CFLAGS = -fomit-frame-poi
 LIBGCC2_DEBUG_CFLAGS = -g0
 LIB2FUNCS_EXTRA = $(srcdir)/config/floatunsidf.c $(srcdir)/config/floatunsisf.c
 
+# This list is from t-arm-elf, but with some things removed.
+LIB1ASMFUNCS += _udivsi3 _divsi3 _umodsi3 _modsi3 _dvmd_tls _bb_init_func \
+	_call_via_rX _interwork_call_via_rX \
+	_arm_fixunsdfsi _arm_fixunssfsi \
+	_arm_floatdidf _arm_floatdisf _arm_floatundidf _arm_floatundisf \
+	_lshrdi3 _ashrdi3 _ashldi3 \
+	_clzsi2 _clzdi2
+
 # Build a shared libgcc library.
 SHLIB_EXT = .so
 SHLIB_NAME = @shlib_base_name@.so