aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@gcc.gnu.org>2019-08-19 20:49:42 +0000
committerIan Lance Taylor <ian@gcc.gnu.org>2019-08-19 20:49:42 +0000
commitb74c00bd10bc789bc2fc4d56b02e25bb431611f2 (patch)
tree1945ba0d73dd9ecc9361beaaa2fa056653e3bce8 /libgcc
parent7731e84e7ec203bea2bf07a273354b78ff853ba0 (diff)
parent4f6bdb08bab64b973e465fb45deb751561e3b969 (diff)
downloadgcc-b74c00bd10bc789bc2fc4d56b02e25bb431611f2.zip
gcc-b74c00bd10bc789bc2fc4d56b02e25bb431611f2.tar.gz
gcc-b74c00bd10bc789bc2fc4d56b02e25bb431611f2.tar.bz2
Merge from trunk revision 274678.
From-SVN: r274681
Diffstat (limited to 'libgcc')
-rw-r--r--libgcc/ChangeLog13
-rw-r--r--libgcc/config.host3
-rw-r--r--libgcc/config/arm/cmse.c1
-rw-r--r--libgcc/config/pa/t-netbsd9
4 files changed, 26 insertions, 0 deletions
diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog
index 7997ad8..33b6fa8 100644
--- a/libgcc/ChangeLog
+++ b/libgcc/ChangeLog
@@ -1,3 +1,16 @@
+2019-07-31 Matt Thomas <matt@3am-software.com>
+ Nick Hudson <nick@nthcliff.demon.co.uk>
+ Matthew Green <mrg@eterna.com.au>
+ Maya Rashish <coypu@sdf.org>
+
+ * config.host (hppa*-*-netbsd*): New case.
+ * config/pa/t-netbsd: New file.
+
+2019-07-31 Joel Hutton <Joel.Hutton@arm.com>
+
+ * config/arm/cmse.c (cmse_check_address_range): Add
+ warn_unused_result attribute.
+
2019-07-22 Martin Liska <mliska@suse.cz>
* config/pa/stublib.c: Remove stub symbol __gnu_lto_v1.
diff --git a/libgcc/config.host b/libgcc/config.host
index f5ca779..503ebb6 100644
--- a/libgcc/config.host
+++ b/libgcc/config.host
@@ -634,6 +634,9 @@ hppa[12]*-*-hpux11*)
hppa*-*-openbsd*)
tmake_file="$tmake_file pa/t-openbsd"
;;
+hppa*-*-netbsd*)
+ tmake_file="$tmake_file pa/t-netbsd"
+ ;;
i[34567]86-*-darwin*)
tmake_file="$tmake_file i386/t-crtpc t-crtfm i386/t-msabi"
tm_file="$tm_file i386/darwin-lib.h"
diff --git a/libgcc/config/arm/cmse.c b/libgcc/config/arm/cmse.c
index 34a46fd..0c5a3ea 100644
--- a/libgcc/config/arm/cmse.c
+++ b/libgcc/config/arm/cmse.c
@@ -30,6 +30,7 @@
address range. See ACLE changes for ARMv8-M. */
void *
+__attribute__ ((warn_unused_result))
cmse_check_address_range (void *p, size_t size, int flags)
{
cmse_address_info_t permb, perme;
diff --git a/libgcc/config/pa/t-netbsd b/libgcc/config/pa/t-netbsd
new file mode 100644
index 0000000..8b99068
--- /dev/null
+++ b/libgcc/config/pa/t-netbsd
@@ -0,0 +1,9 @@
+#Plug millicode routines into libgcc.a We want these on both native and
+#cross compiles. We use the "64-bit" routines because the "32-bit" code
+#is broken for certain corner cases.
+LIB1ASMSRC = pa/milli64.S
+LIB1ASMFUNCS = _divI _divU _remI _remU _div_const _mulI _dyncall
+
+HOST_LIBGCC2_CFLAGS += -DELF=1 -DLINUX=1
+
+LIB2ADD = $(srcdir)/config/pa/fptr.c