[0/3] libctf: small fixes

Message ID 20210625161243.4747-1-nick.alcock@oracle.com
Headers show
Series
  • libctf: small fixes
Related show

Message

Alan Modra via Binutils June 25, 2021, 4:12 p.m.
This patch series is small stuff confined to libctf/ and not needing
review: problems with the relink at install time picking up the wrong
libbfd (PR libctf/27360), problems with backward-compatibility code to
handle symtypetab sections emitted by obsolete pre-upstreaming
CTF-capable GCCs; and some warnings causing spurious test failures on
some platforms.

No review needed unless people really want to.

Nick Alcock (3):
  libctf: link against libiberty before linking in libbfd or
    libctf-nobfd
  libctf: fix handling of CTF symtypetab sections emitted by older GCC
  libctf, testsuite: fix various warnings in tests

 libctf/Makefile.am                                         | 6 +++++-
 libctf/Makefile.in                                         | 7 ++++++-
 libctf/ctf-open.c                                          | 7 ++++---
 libctf/testsuite/libctf-lookup/conflicting-type-syms.c     | 3 ---
 libctf/testsuite/libctf-lookup/enum-symbol.c               | 3 ---
 .../libctf-regression/nonstatic-var-section-ld-r.c         | 4 ++--
 .../testsuite/libctf-regression/nonstatic-var-section-ld.c | 4 ++--
 .../libctf-regression/nonstatic-var-section-ld.lk          | 2 +-
 libctf/testsuite/libctf-regression/pptrtab.c               | 1 -
 .../testsuite/libctf-regression/type-add-unnamed-struct.c  | 2 --
 libctf/testsuite/libctf-writable/pptrtab.c                 | 2 +-
 .../libctf-writable/reserialize-strtab-corruption.c        | 1 -
 .../libctf-writable/symtypetab-nonlinker-writeout.c        | 6 ++++--
 13 files changed, 25 insertions(+), 23 deletions(-)

-- 
2.32.0.255.gd9b1d14a2a