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

--- Comment #2 from NGG <ngg at tresorit dot com> ---
Created attachment 10802
  --> https://sourceware.org/bugzilla/attachment.cgi?id=10802&action=edit
sample binary created with lld

This sample was generated with clang and lld (version 5.0.1) like this:

clang -fuse-ld=lld -Wl,-z,relro -o sample sample.c

Both "strip sample" and "objcopy sample sample.copied" remove the PT_GNU_RELRO
segment.

sample.c:

#include <stdlib.h>

int main(void)
{
        malloc(1);
        return 0;
}

-- 
You are receiving this mail because:
You are on the CC list for the bug.
_______________________________________________
bug-binutils mailing list
bug-binutils@gnu.org
https://lists.gnu.org/mailman/listinfo/bug-binutils

Reply via email to