aarch64: Fix undefined behavior in _dl_procinfo
commit6c85cc2852367ea2db91ff6a1fc0f6fc0653788d
authorSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 9 Jun 2017 08:48:11 +0000 (9 14:18 +0530)
committerSiddhesh Poyarekar <siddhesh@sourceware.org>
Fri, 9 Jun 2017 08:48:12 +0000 (9 14:18 +0530)
tree5835d58f11fdd01019103721d3d1e906879dce9f
parentab70273bb7b0d4b20325560eba1fd3777d7e5f11
aarch64: Fix undefined behavior in _dl_procinfo

1 << 31 is undefined, so replace it with a cleaner check.  Also remove
magic numbers in comments.

* sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
mention of magic numbers in comments.
(_dl_procinfo): Fix undefined behavior
ChangeLog
sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h