[PATCH 0/2] Introducing support for cross compiling/linking for the z/OS platform

David Lanzenörfer leviathan@libresilicon.com
Sun Jan 26 11:43:00 GMT 2020


From: David Lanzendörfer <leviathan@libresilicon.com>

Dear mailing list

I've been refurbishing the work from Ambitus, an attempt by the Linux Foundation to
support cross compiling for the z/OS mainframe platform with GCC.

The following two patches are needed to create executable headers which allows to
execute binaries on the z/OS platform.

Patchsets for GCC itself will follow soon on the GCC developer mailing list,
since I'm still cleaning up and debugging those.

Linking however already works without any issues, so I already submit those.

David Lanzendörfer (2):
  z/OS Support: Catching segfaults
  z/OS support: Introducing z/OS support

 bfd/bfd-in2.h               |    1 +
 bfd/config.bfd              |    5 +
 bfd/configure               |    1 +
 bfd/configure.ac            |    1 +
 bfd/linker.c                |    2 +-
 bfd/po-bfd.h                |   93 ++
 bfd/po64-s390.c             | 1697 +++++++++++++++++++++++++++++++++++
 bfd/targets.c               |    1 +
 config.sub                  |    6 +-
 gas/configure.tgt           |    1 +
 include/po/common.h         |  167 ++++
 include/po/external.h       |  324 +++++++
 include/po/internal.h       |  187 ++++
 ld/Makefile.am              |    7 +-
 ld/Makefile.in              |    8 +-
 ld/configure.tgt            |    3 +
 ld/emulparams/po64_s390.sh  |  109 +++
 ld/ldlang.c                 |    4 +
 ld/scripttempl/po64_s390.sc |   12 +
 19 files changed, 2625 insertions(+), 4 deletions(-)
 create mode 100644 bfd/po-bfd.h
 create mode 100644 bfd/po64-s390.c
 create mode 100644 include/po/common.h
 create mode 100644 include/po/external.h
 create mode 100644 include/po/internal.h
 create mode 100644 ld/emulparams/po64_s390.sh
 create mode 100644 ld/scripttempl/po64_s390.sc

-- 
2.25.0



More information about the Binutils mailing list