[PATCH] [dlang/phobos] S/390: Fix PR91628

Robin Dapp rdapp@linux.ibm.com
Wed Nov 27 09:58:00 GMT 2019


Hi,

in order to not use a glibc-internal symbol anymore, this patch adds
separate .S files for s390x and s390 that allow to obtain the tls offset.

I bootstrapped on s390x -m64 and -m31 and test on s390x, s390 seeing no
new regressions.

Regards
 Robin

--

libphobos/ChangeLog:

2019-11-27  Robin Dapp  <rdapp@linux.ibm.com>

	* configure: Regenerate.
	* libdruntime/Makefile.am: Add s390x and s390.
	* libdruntime/Makefile.in: Regenerate.
	* libdruntime/config/s390/get_tls_offset.S: New file.
	* libdruntime/config/systemz/get_tls_offset.S: New file.
	* libdruntime/gcc/sections/elf_shared.d: Use ibmz_get_tls_offset.
	* m4/druntime/cpu.m4: Add s390x and s390.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: dots.diff
Type: text/x-patch
Size: 15746 bytes
Desc: not available
URL: <http://gcc.gnu.org/pipermail/gcc-patches/attachments/20191127/39bb95d0/attachment.bin>


More information about the Gcc-patches mailing list