[PATCH 0/4] fallout of various portability testing
Nick Alcock
nick.alcock@oracle.com
Wed Jul 22 09:39:22 GMT 2020
These patches are non-fixups that fell out of tests on bigendian Linux,
64-bit Cygwin, and 32- and 64-bit MinGW tests (accompanying the fixups I
just posted, but not applying to patches in the deduplicator series, or
things I think should be separate commits). A cross of x86_64-pc-cygwin64 ->
x86_64-pc-linux-gnu is building at the moment so I can try to actually test
the CTF deduplicator on 64-bit Windows, even if only in cross. That's
because unfortunately it seems that more linker work is needed before
non-ELF platforms (like Cygwin and mingw) will actually emit CTF sections:
right now the deduplicator runs and the linker never emits the section
afterwards.
I'll get to that, but for now just (temporarily) suppress CTF tests, even
with a suitable compiler, unless this is an ELF platform, on the grounds
that if PE is failing to emit the .ctf section, everything else I haven't
paid attention to yet is likely to as well.
Nick Alcock (4):
ld, testsuite: do not run CTF tests at all on non-ELF for now
libctf, binutils: fix big-endian libctf archive opening
libctf: fix isspace casts
libctf: fixes for systems on which sizeof (void *) > sizeof (long)
ld/testsuite/ld-ctf/ctf.exp | 5 +++++
libctf/ctf-archive.c | 2 +-
libctf/ctf-create.c | 16 ++++++++++------
libctf/ctf-hash.c | 2 +-
libctf/ctf-lookup.c | 6 +++---
libctf/ctf-types.c | 2 +-
6 files changed, 21 insertions(+), 12 deletions(-)
--
2.27.0.247.g3dff7de930
More information about the Binutils
mailing list