bug-binutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug gold/18378] Implement GOLD backend support for IBM z Systems


From: koriakin at 0x04 dot net
Subject: [Bug gold/18378] Implement GOLD backend support for IBM z Systems
Date: Mon, 14 Sep 2015 02:16:36 +0000

https://sourceware.org/bugzilla/show_bug.cgi?id=18378

--- Comment #11 from Marcin Koƛcielnicki <koriakin at 0x04 dot net> ---
Here's my attempt. I get a full testsuite pass on qemu-system-s390x with 64-bit
gentoo.

Two bugs have been found along the way: #18959 (in gold, affecting all arches)
and #18960 (in glibc, affecting likely only s390).  The first patch in the
series is my attempt at #18959.

I had to disable 4 tests since they use symbol values that are not a multiple
of 2. Such values cannot be loaded by larl instruction that gcc uses to get
addresses of all symbols, and hence can never pass on s390.  This is the same
issue that causes #18960.

Aside of the usual target-specific code, I had to add support for 64-bit
archive maps (/SYM64/) and 64-bit SHT_HASH entries (s390 seems to be the only
architecture using these).

Although in theory everything should work for 32-bit systems too, I haven't
tested it yet (compiling stuff on qemu has been painful enough without having
to bootstrap a multilib system). Unfortunately I haven't heard back after
asking for a test machine.

Does that look OK?

-- 
You are receiving this mail because:
You are on the CC list for the bug.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]