patches/binutils/2.20/220-use-relro.patch
author Arnaud Lacombe <lacombar@gmail.com>
Thu Aug 05 17:59:50 2010 +0200 (2010-08-05)
changeset 2068 581a2778ca6f
permissions -rw-r--r--
libc/glibc: let glibc 3.3.6 link correctly

From http://sourceware.org/git/?p=glibc.git;a=commit;f=elf/Makefile;h=7c8a67320e26b8c11108bf0a3410d3aef9cf3486

Author: Ulrich Drepper <drepper@redhat.com>:
Commit log:
* elf/Makefile (ld.so): Adjust the sed script to insert _begin in to
newer linker scripts.

Signed-off-by: Arnaud Lacombe <lacombar@gmail.com>
     1 --- binutils/ld/ldmain.c
     2 +++ binutils/ld/ldmain.c
     3 @@ -293,2 +293,3 @@ main (int argc, char **argv)
     4    link_info.combreloc = TRUE;
     5 +  link_info.relro = TRUE;
     6    link_info.strip_discarded = TRUE;