Files
clang-p2996/lld/test/ELF/Inputs
Ulrich Weigand fe3406e349 [lld] Add target support for SystemZ (s390x) (#75643)
This patch adds full support for linking SystemZ (ELF s390x) object
files. Support should be generally complete:
- All relocation types are supported.
- Full shared library support (DYNAMIC, GOT, PLT, ifunc).
- Relaxation of TLS and GOT relocations where appropriate.
- Platform-specific test cases.

In addition to new platform code and the obvious changes, there were a
few additional changes to common code:

- Add three new RelExpr members (R_GOTPLT_OFF, R_GOTPLT_PC, and
R_PLT_GOTREL) needed to support certain s390x relocations. I chose not
to use a platform-specific name since nothing in the definition of these
relocs is actually platform-specific; it is well possible that other
platforms will need the same.

- A couple of tweaks to TLS relocation handling, as the particular
semantics of the s390x versions differ slightly. See comments in the
code.

This was tested by building and testing >1500 Fedora packages, with only
a handful of failures; as these also have issues when building with LLD
on other architectures, they seem unrelated.

Co-authored-by: Tulio Magno Quites Machado Filho <tuliom@redhat.com>
2024-02-13 11:29:21 +01:00
..
2015-11-17 05:36:42 +00:00
2015-11-17 05:36:42 +00:00
2015-11-17 05:36:42 +00:00
2015-11-17 05:36:42 +00:00
2015-11-17 05:36:42 +00:00
2017-09-28 17:15:02 +00:00
2016-06-28 21:48:33 +00:00
2017-11-28 20:17:58 +00:00
2017-11-23 23:40:33 +00:00
2018-01-16 18:53:09 +00:00
2016-02-25 18:43:51 +00:00
2016-03-31 12:09:36 +00:00
2018-03-23 00:35:27 +00:00
2016-03-11 14:34:44 +00:00
2015-11-17 05:36:42 +00:00
2016-04-08 20:49:31 +00:00
2016-04-08 20:49:31 +00:00
2017-11-28 23:06:09 +00:00