aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2019-04-07 20:41:49 +0930
committerAlan Modra <amodra@gmail.com>2019-04-07 20:49:49 +0930
commit07ffcfecac22d21774a110db0f65f0387c8f1102 (patch)
tree120cc0b18f95144c1b03367a36ba6753db81e777 /include
parent5f60cccf9db8b5f4aa4303f8e4ccc246f723fbe5 (diff)
downloadgdb-07ffcfecac22d21774a110db0f65f0387c8f1102.zip
gdb-07ffcfecac22d21774a110db0f65f0387c8f1102.tar.gz
gdb-07ffcfecac22d21774a110db0f65f0387c8f1102.tar.bz2
Merge libiberty from gcc
Diffstat (limited to 'include')
-rw-r--r--include/ChangeLog8
-rw-r--r--include/longlong.h6
2 files changed, 12 insertions, 2 deletions
diff --git a/include/ChangeLog b/include/ChangeLog
index 0a6759f..e61a4bd 100644
--- a/include/ChangeLog
+++ b/include/ChangeLog
@@ -1,3 +1,11 @@
+2019-04-07 Alan Modra <amodra@gmail.com>
+
+ Merge from gcc.
+ 2019-04-03 Vineet Gupta <vgupta@synopsys.com>
+ PR89877
+ * longlong.h [__arc__] (add_ssaaaa): Add cc clobber.
+ (sub_ddmmss): Likewise.
+
2019-04-06 H.J. Lu <hongjiu.lu@intel.com>
* bfdlink.h (bfd_link_info): Remove x86-specific linker options.
diff --git a/include/longlong.h b/include/longlong.h
index 3dd8dc3..1f0ce42 100644
--- a/include/longlong.h
+++ b/include/longlong.h
@@ -199,7 +199,8 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype);
: "%r" ((USItype) (ah)), \
"rICal" ((USItype) (bh)), \
"%r" ((USItype) (al)), \
- "rICal" ((USItype) (bl)))
+ "rICal" ((USItype) (bl)) \
+ : "cc")
#define sub_ddmmss(sh, sl, ah, al, bh, bl) \
__asm__ ("sub.f %1, %4, %5\n\tsbc %0, %2, %3" \
: "=r" ((USItype) (sh)), \
@@ -207,7 +208,8 @@ extern UDItype __udiv_qrnnd (UDItype *, UDItype, UDItype, UDItype);
: "r" ((USItype) (ah)), \
"rICal" ((USItype) (bh)), \
"r" ((USItype) (al)), \
- "rICal" ((USItype) (bl)))
+ "rICal" ((USItype) (bl)) \
+ : "cc")
#define __umulsidi3(u,v) ((UDItype)(USItype)u*(USItype)v)
#ifdef __ARC_NORM__