diff options
author | Eli Zaretskii <eliz@gnu.org> | 2020-07-26 16:06:02 -0700 |
---|---|---|
committer | Joel Brobecker <brobecker@adacore.com> | 2020-07-26 16:11:36 -0700 |
commit | 555adca2e3bcabdef58abf2f68291e47479bc09d (patch) | |
tree | 50d621d3660b38e43f1c30afb04310093d0ea4d6 /libctf/ChangeLog | |
parent | 05a6b8c28baad097147eb06329ce3be940682aa9 (diff) | |
download | binutils-555adca2e3bcabdef58abf2f68291e47479bc09d.zip binutils-555adca2e3bcabdef58abf2f68291e47479bc09d.tar.gz binutils-555adca2e3bcabdef58abf2f68291e47479bc09d.tar.bz2 |
libctf: compilation failure on MinGW due to missing errno values
This commit fixes a compilation failure in a couple of libctf files
due to the use of EOVERFLOW and ENOTSUP, which are not defined
when compiling on MinGW.
libctf/ChangeLog:
PR binutils/25155:
* ctf-create.c (EOVERFLOW): If not defined by system header,
redirect to ERANGE as a poor man's substitute.
* ctf-subr.c (ENOTSUP): If not defined, use ENOSYS instead.
(cherry picked from commit 50500ecfefd6acc4c7f6c2a95bc0ae1945103220)
Diffstat (limited to 'libctf/ChangeLog')
-rw-r--r-- | libctf/ChangeLog | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/libctf/ChangeLog b/libctf/ChangeLog index 6887c3f..bbd807d 100644 --- a/libctf/ChangeLog +++ b/libctf/ChangeLog @@ -1,3 +1,10 @@ +2020-07-26 Eli Zaretskii <eliz@gnu.org> + + PR binutils/25155: + * ctf-create.c (EOVERFLOW): If not defined by system header, + redirect to ERANGE as a poor man's substitute. + * ctf-subr.c (ENOTSUP): If not defined, use ENOSYS instead. + 2020-07-22 Nick Alcock <nick.alcock@oracle.com> * ctf-create.c (ctf_dtd_insert): Add uintptr_t casts. |