[PATCH 0/2] symver: extend functionality

Martin Liska mliska@suse.cz
Tue Aug 25 09:41:09 GMT 2020


Hey.

Since the bintuils release 2.35, we can now support new .symver syntax added in:
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;h=6914be53bd662eefd979d0c82d2e20e108c4ee66

Patch survives bootstrap and regression tests.
Thoughts?
Martin

Martin Liska (2):
  IPA symver: allow multiple symvers for a definition
  IPA symver: support visibility and static symbols.

 gcc/cgraphunit.c                         | 134 +++++++++++------------
 gcc/config/elfos.h                       |  20 ++--
 gcc/doc/extend.texi                      |  13 +--
 gcc/symtab.c                             |  16 ---
 gcc/testsuite/gcc.dg/ipa/symver1.c       |  11 ++
 gcc/testsuite/gcc.dg/ipa/symver2.c       |   9 ++
 gcc/testsuite/gcc.dg/ipa/symver3.c       |  13 +++
 gcc/testsuite/lib/target-supports-dg.exp |  10 ++
 gcc/testsuite/lib/target-supports.exp    |  12 ++
 gcc/varasm.c                             |  12 +-
 gcc/varpool.c                            |   3 +-
 11 files changed, 144 insertions(+), 109 deletions(-)
 create mode 100644 gcc/testsuite/gcc.dg/ipa/symver1.c
 create mode 100644 gcc/testsuite/gcc.dg/ipa/symver2.c
 create mode 100644 gcc/testsuite/gcc.dg/ipa/symver3.c

-- 
2.28.0



More information about the Gcc-patches mailing list