Hi,

This series contains a backport of kpatch changes needed to support
https://github.com/dynup/kpatch/pull/1203 so that it could be used in
RHEL 9.  The patches have been in master for 4 months now without
issues.

Bootstrapped and regtested on s390x-redhat-linux.

Ok for gcc-11?

Best regards,
Ilya

Ilya Leoshkevich (2):
  IBM Z: Define NO_PROFILE_COUNTERS
  IBM Z: Use @PLT symbols for local functions in 64-bit mode

 gcc/config/s390/predicates.md                 |   9 +-
 gcc/config/s390/s390.c                        | 115 +++++++++++-------
 gcc/config/s390/s390.h                        |   2 +
 gcc/config/s390/s390.md                       |  32 ++---
 gcc/testsuite/g++.dg/ext/visibility/noPLT.C   |   2 +-
 gcc/testsuite/g++.target/s390/mi-thunk.C      |  23 ++++
 .../gcc.target/s390/call-z10-pic-nodatarel.c  |  20 +++
 gcc/testsuite/gcc.target/s390/call-z10-pic.c  |  20 +++
 gcc/testsuite/gcc.target/s390/call-z10.c      |  20 +++
 .../gcc.target/s390/call-z9-pic-nodatarel.c   |  18 +++
 gcc/testsuite/gcc.target/s390/call-z9-pic.c   |  18 +++
 gcc/testsuite/gcc.target/s390/call-z9.c       |  20 +++
 gcc/testsuite/gcc.target/s390/call.h          |  40 ++++++
 .../gcc.target/s390/mfentry-m64-pic.c         |   9 ++
 .../gcc.target/s390/mnop-mcount-m31-mzarch.c  |   2 +-
 .../gcc.target/s390/mnop-mcount-m64.c         |   2 +-
 gcc/testsuite/gcc.target/s390/nodatarel-1.c   |  26 +---
 gcc/testsuite/gcc.target/s390/pr80080-4.c     |   2 +-
 gcc/testsuite/gcc.target/s390/risbg-ll-3.c    |   6 +-
 gcc/testsuite/gcc.target/s390/tls-pic.c       |  14 +++
 gcc/testsuite/gcc.target/s390/tls.c           |  10 ++
 gcc/testsuite/gcc.target/s390/tls.h           |  23 ++++
 22 files changed, 336 insertions(+), 97 deletions(-)
 create mode 100644 gcc/testsuite/g++.target/s390/mi-thunk.C
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z10-pic-nodatarel.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z10-pic.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z10.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z9-pic-nodatarel.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z9-pic.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call-z9.c
 create mode 100644 gcc/testsuite/gcc.target/s390/call.h
 create mode 100644 gcc/testsuite/gcc.target/s390/mfentry-m64-pic.c
 create mode 100644 gcc/testsuite/gcc.target/s390/tls-pic.c
 create mode 100644 gcc/testsuite/gcc.target/s390/tls.c
 create mode 100644 gcc/testsuite/gcc.target/s390/tls.h

-- 
2.31.1

Reply via email to