about summary refs log tree commit diff
path: root/string/test-string.h
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2017-08-21 17:07:36 -0700
committerH.J. Lu <hjl.tools@gmail.com>2017-08-22 05:02:20 -0700
commit3478fe3a92a8c85fa342a38ef3bf9bcc704bea94 (patch)
treeed1d4d55a46ec9cb8e5d0e1c6f4db262342505d7 /string/test-string.h
parentea99fcd03875caf59ceda354ec8ed813bb5a5f79 (diff)
downloadglibc-hjl/gmp.tar.gz
glibc-hjl/gmp.tar.xz
glibc-hjl/gmp.zip
rshift.c: Replace assert with DEBUG and abort hjl/gmp
assert in stdlib/rshift.c should be for debug purpose only and there is
no such check in any rshift assembly implementations nor in lshift.c.
This patch replaces assert with DEBUG and abort, similar to lshift.c
so that generic GMP codes from libc.a can be linked with libc.so in
atest-exp, atest-exp2 and atest-sincos, which depend on the GMP
implementation in glibc.

	* stdlib/rshift.c (mpn_rshift): Replace ssert with DEBUG and
	abort.
Diffstat (limited to 'string/test-string.h')
0 files changed, 0 insertions, 0 deletions