[PATCH 1/2] IPA symver: allow multiple symvers for a definition

Martin Liska mliska@suse.cz
Mon Aug 24 11:21:10 GMT 2020


gcc/ChangeLog:

	* cgraphunit.c (process_symver_attribute): Allow multiple
	symver attributes for one symbol.
	* doc/extend.texi: Document the change.

gcc/testsuite/ChangeLog:

	* lib/target-supports-dg.exp: Add dg-require-symver.
	* lib/target-supports.exp: Likewise.
	* gcc.dg/ipa/symver1.c: New test.
---
 gcc/cgraphunit.c                         | 143 ++++++++++++-----------
 gcc/doc/extend.texi                      |  10 +-
 gcc/testsuite/gcc.dg/ipa/symver1.c       |  11 ++
 gcc/testsuite/lib/target-supports-dg.exp |  10 ++
 gcc/testsuite/lib/target-supports.exp    |  12 ++
 5 files changed, 110 insertions(+), 76 deletions(-)
 create mode 100644 gcc/testsuite/gcc.dg/ipa/symver1.c

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-IPA-symver-allow-multiple-symvers-for-a-definition.patch
Type: text/x-patch
Size: 7256 bytes
Desc: not available
URL: <https://gcc.gnu.org/pipermail/gcc-patches/attachments/20200824/9b2f4f7f/attachment-0001.bin>


More information about the Gcc-patches mailing list