Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/netbsd-7]: src/external/gpl3/binutils/dist/gas/config Pull up following ...
details: https://anonhg.NetBSD.org/src/rev/7600ee1005f1
branches: netbsd-7
changeset: 798657:7600ee1005f1
user: martin <martin%NetBSD.org@localhost>
date: Wed Dec 03 13:57:53 2014 +0000
description:
Pull up following revision(s) (requested by joerg in ticket #289):
external/gpl3/binutils/dist/gas/config/tc-arm.c: revision 1.7
Avoid undefined behaviour (merged from upstream commit
d840c081f8082e8b9e63fead5306643975a97bb3).
diffstat:
external/gpl3/binutils/dist/gas/config/tc-arm.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 34752dbe40c8 -r 7600ee1005f1 external/gpl3/binutils/dist/gas/config/tc-arm.c
--- a/external/gpl3/binutils/dist/gas/config/tc-arm.c Mon Dec 01 21:18:23 2014 +0000
+++ b/external/gpl3/binutils/dist/gas/config/tc-arm.c Wed Dec 03 13:57:53 2014 +0000
@@ -6936,7 +6936,7 @@
/* Functions for operand encoding. ARM, then Thumb. */
-#define rotate_left(v, n) (v << n | v >> (32 - n))
+#define rotate_left(v, n) (v << (n & 31) | v >> ((32 - n) & 31))
/* If VAL can be encoded in the immediate field of an ARM instruction,
return the encoded form. Otherwise, return FAIL. */
Home |
Main Index |
Thread Index |
Old Index