[PATCH 00/10] s390: linker cleanups and enhancements

Jens Remus jremus@linux.ibm.com
Thu Nov 13 13:21:51 GMT 2025


I have split my previous series "s390: linker fixes and cleanups" [1]
into three separate patch series, this one being the third one:

1. s390: linker fixes
2. s390: linker TLS test cleanups, fixes, and enhancements
3. s390: linker cleanups and enhancements

Patches 1 - 4 are align formatting and sync minor cleanups with
the intent to reduce the number of differences.

Patches 5 - 7 align minor code enhancements with the same intent.

Patch 8 aligns the order of relocations in conditions with the same
intent.

Patches 9 and 10 simplify the code (readability).  The latter also
reduces the number of differences.

I recognize that patches 1 - 4 and 8 do only align formatting, which
may be undesirable, as it makes browsing the Git history and backporting
patches harder.  I do see value in them, as they simplify keeping s390
32-bit and 64-bit in sync where appropriate.  The first patch series
is an example of the benefit of keeping the number of unimportant
differences low.

[1]: s390: linker fixes and cleanups,
     https://inbox.sourceware.org/binutils/20251107163458.2577547-1-jremus@linux.ibm.com

Regards,
Jens

Jens Remus (10):
  s390: Sync whitespace formatting between {elf32|elf64}-s390.c
  s390: Sync formatting between {elf32|elf64}-s390.c
  s390: Sync line continuation formatting between {elf32|elf64}-s390.c
  s390: Sync minor cleanups between {elf32|elf64}-s390.c
  s390: Sync local variable name between {elf32|elf64}-s390.c
  s390: Sync htab checks between {elf32|elf64}-s390.c
  s390: Sync relocation error message between {elf32|elf64}-s390.c
  s390: Sync relocation order between {elf32|elf64}-s390.c
  s390: Use _bfd_elf_append_rela helper
  s390: Use RELA_ENTRY_SIZE instead of sizeof (Elf{32|64}_External_Rela)

 bfd/elf32-s390.c | 179 +++++++++++++++++++++++------------------------
 bfd/elf64-s390.c | 171 ++++++++++++++++++++------------------------
 2 files changed, 166 insertions(+), 184 deletions(-)

-- 
2.48.1



More information about the Binutils mailing list