This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH v2 0/4] More portability fixes
- From: Nick Alcock <nick dot alcock at oracle dot com>
- To: binutils at sourceware dot org
- Cc: jose dot marchesi at oracle dot com, John dot W dot Marshall at glasgow dot ac dot uk, sebastian dot huber at embedded-brains dot de, nickc at redhat dot com
- Date: Tue, 4 Jun 2019 16:23:48 +0100
- Subject: [PATCH v2 0/4] More portability fixes
This also fixes a use-after-free (well, free-before-initialization)
and a bug that leads to an accidentally different file format on
platforms where int is not 32 bits wide.
The last two patches are new or changed in this version. (Unchanged
patches are not denoted v2.)
Nick Alcock (4):
libctf: fix the type of ctf_enum.cte_value
libctf: fix use-after-free in function dumping
libctf: look for BSD versus GNU qsort_r signatures
libctf: work on platforms without O_CLOEXEC.
include/ChangeLog | 4 +
include/ctf.h | 2 +-
libctf/ChangeLog | 29 ++++
libctf/Makefile.am | 4 +-
libctf/Makefile.in | 29 ++--
libctf/config.h.in | 16 ++-
libctf/configure | 198 ++++++++++++++++++++--------
libctf/configure.ac | 60 ++++++++-
libctf/ctf-archive.c | 9 +-
libctf/ctf-create.c | 2 +-
libctf/ctf-decls.h | 43 +++++-
libctf/ctf-dump.c | 2 +-
libctf/{qsort_r.c => ctf-qsort_r.c} | 2 +-
13 files changed, 313 insertions(+), 87 deletions(-)
rename libctf/{qsort_r.c => ctf-qsort_r.c} (99%)
--
2.21.0.237.gd0cfaa883d