diff options
author | jimb <jimb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-15 19:02:13 +0000 |
---|---|---|
committer | jimb <jimb@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-05-15 19:02:13 +0000 |
commit | ffa082ba1f9a224e50b9b36acbf9c8b4d401c38c (patch) | |
tree | d12d899096b8ea3aba0270edec52389c46f4100e /gcc | |
parent | f8e17552bd257649753f1759cdfff935728eb6c6 (diff) | |
download | ppe42-gcc-ffa082ba1f9a224e50b9b36acbf9c8b4d401c38c.tar.gz ppe42-gcc-ffa082ba1f9a224e50b9b36acbf9c8b4d401c38c.zip |
libiberty/ChangeLog:
2003-05-14 Jim Blandy <jimb@redhat.com>
* hex.c (_hex_value): Make this unsigned.
(hex_value): Update documentation for new return type. hex_value
now expands to an unsigned int expression, to avoid unexpected
sign extension when we store it in a bfd_vma, which is larger than
int on some platforms.
* functions.texi: Regenerated.
include/ChangeLog:
2003-05-14 Jim Blandy <jimb@redhat.com>
* libiberty.h (hex_value): Make the value an unsigned int, to
avoid unexpected sign-extension when cast to unsigned types larger
than int --- like bfd_vma, on some platforms.
(_hex_value): Update declaration.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66840 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc')
0 files changed, 0 insertions, 0 deletions