bug-binutils
[Top][All Lists]
Advanced

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

[Bug ld/20283] Make -z relro the default if possible


From: hjl.tools at gmail dot com
Subject: [Bug ld/20283] Make -z relro the default if possible
Date: Tue, 21 Jun 2016 17:00:18 +0000

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

--- Comment #3 from H.J. Lu <hjl.tools at gmail dot com> ---
(In reply to H.J. Lu from comment #0)
> Since "-z relro" makes more pages read-only after relocation, I'd
> like to make it the default if possible. The following ELF targets
> don't support "-z relro":
> 
> check.arc-linux-uclibc:FAIL: strip -z relro -shared (relro1)
> check.arc-linux-uclibc:FAIL: objcopy -z relro -shared (relro1)
> check.arc-linux-uclibc:FAIL: objcopy -z relro (tdata1)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tdata1)
> check.arc-linux-uclibc:FAIL: objcopy -z relro (tdata2)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tdata2)
> check.arc-linux-uclibc:FAIL: objcopy -z relro (tdata3)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tdata3)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tbss1)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tbss2)
> check.arc-linux-uclibc:FAIL: objcopy -shared -z relro (tbss3)

arc-linux-uclibc is fixed by

commit c0913ebfafa2c3b94e08856c3304037fa9f0906e
Author: Claudiu Zissulescu <address@hidden>
Date:   Thu May 19 14:44:01 2016 +0200

    [ARC] Emulation and default script template changes.

    2016-05-19  Cupertino Miranda  <address@hidden>

        * emulparams/arcelf.sh: Changed.
        * emulparams/arclinux.sh: Likewise.
        * scripttempl/arclinux.sc: Moved to a more standard implementation
        similar to elf.sc.

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