mbox series

[0/3] Update tests for protected symbol access

Message ID 20211007200813.1626777-1-hjl.tools@gmail.com
Headers show
Series Update tests for protected symbol access | expand

Message

H.J. Lu Oct. 7, 2021, 8:08 p.m. UTC
1. Check linker suppor for -z indirect-extern-access.
2. Check compiler support for -fno-direct-extern-access.  The GCC
patches are posted at

https://gcc.gnu.org/pipermail/gcc-patches/2021-September/580106.html
3. Update tests for protected data and function symbols

H.J. Lu (3):
  Check linker suppor for -z indirect-extern-access
  Check compiler support for -fno-direct-extern-access
  Update tests for protected data and function symbols

 configure                 |  59 +++++++++++++++++
 configure.ac              |  37 +++++++++++
 elf/Makefile              |  54 ++++++++++++++++
 elf/tst-protected1moda.c  |  10 +--
 elf/tst-protected1modb.c  |   4 +-
 elf/tst-protected2a.c     | 130 ++++++++++++++++++++++++++++++++++++++
 elf/tst-protected2apie.c  |   1 +
 elf/tst-protected2b.c     | 121 +++++++++++++++++++++++++++++++++++
 elf/tst-protected2bpie.c  |   1 +
 elf/tst-protected2mod.h   |  35 ++++++++++
 elf/tst-protected2moda.c  |  52 +++++++++++++++
 elf/tst-protected2moda2.c |  41 ++++++++++++
 elf/tst-protected2modb.c  |  45 +++++++++++++
 elf/tst-protected2modb2.c |  28 ++++++++
 14 files changed, 608 insertions(+), 10 deletions(-)
 create mode 100644 elf/tst-protected2a.c
 create mode 100644 elf/tst-protected2apie.c
 create mode 100644 elf/tst-protected2b.c
 create mode 100644 elf/tst-protected2bpie.c
 create mode 100644 elf/tst-protected2mod.h
 create mode 100644 elf/tst-protected2moda.c
 create mode 100644 elf/tst-protected2moda2.c
 create mode 100644 elf/tst-protected2modb.c
 create mode 100644 elf/tst-protected2modb2.c