bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20113] Partial relro support for s390x ld


From: maamountk at hotmail dot com
Subject: [Bug ld/20113] Partial relro support for s390x ld
Date: Sat, 08 Dec 2018 06:50:02 +0000

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

maamountki <maamountk at hotmail dot com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #11363|0                           |1
        is obsolete|                            |

--- Comment #7 from maamountki <maamountk at hotmail dot com> ---
Created attachment 11438
  --> https://sourceware.org/bugzilla/attachment.cgi?id=11438&action=edit
partial relro support for ld

The assignment is in place by now, I attached the context diffs patch.
Info about the the patch:
According to document here
https://sourceware.org/git/gitweb.cgi?p=binutils-gdb.git;a=blob;f=bfd/elf32-s390.c;h=56008a13eb2aaf17927e6706126d0351f239b335;hb=0860693812fff944ab0602e72b762a4a2078da5b#l467
the first 3 words of GOT (.got.plt if exist or .got otherwise) are reserved we
can safely put them in the relro area in the partial relro case so the size of
these entries can be set to the SEPARATE_GOTPLT argument.
Since the linker default relro option is partial, most of the ld s390 tests
will fail, this patch fixed them too.
note: I just notice the full relro option of ld is working properly so this
patch actually just add partial one, Sorry for claiming that first.

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