bug-binutils
[Top][All Lists]
Advanced

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

[Bug gold/20114] Partial relro support for s390x gold


From: maamountk at hotmail dot com
Subject: [Bug gold/20114] Partial relro support for s390x gold
Date: Mon, 29 Apr 2019 20:06:54 +0000

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

--- Comment #6 from maamountki <maamountk at hotmail dot com> ---
(In reply to Andreas Krebbel from comment #5)
> One difference to the ld implementation is that you appear to always use the
> new got layout. ld uses the new layout only for partial relro to keep impact
> on existing stuff as small as possible.

Unfortunately gold does not provide the flexibility that ld offer, You can see
the same behavior on the other platforms.

> Have you checked that all this works with linker scripts as well. I mean
> linker scripts which have got and got.plt swapped? Will gold do the right
> thing for these variants with regard to the 3 magic entries,
> _GLOBAL_OFFSET_TABLE_, and DT_PLTGOT?

Yes I do and it does not.
.got and .got.plt must be set properly in linker srcript to get it work
otherwise a segmentation fault will be produced. I can see the same behavior on
different platform "x86_64".

-- 
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]