diff options
author | David Howells <dhowells@redhat.com> | 2012-05-30 17:25:05 +0100 |
---|---|---|
committer | David Howells <dhowells@redhat.com> | 2012-05-30 17:25:05 +0100 |
commit | d17fb9c8eb0f84d32c2664147c92761612e556cb (patch) | |
tree | 1221086e906fc4ec1a3db9d0c451a4ffd109ebf4 /binutils-2.22.52.0.1-relro-on-by-default.patch | |
parent | 172ecb81144c4ae6a69ae1bcf5d35881fb3b114a (diff) | |
download | cross-binutils-d17fb9c8eb0f84d32c2664147c92761612e556cb.tar.gz cross-binutils-d17fb9c8eb0f84d32c2664147c92761612e556cb.tar.xz cross-binutils-d17fb9c8eb0f84d32c2664147c92761612e556cb.zip |
Updated to binutils-2.22.52.0.3.
Diffstat (limited to 'binutils-2.22.52.0.1-relro-on-by-default.patch')
-rw-r--r-- | binutils-2.22.52.0.1-relro-on-by-default.patch | 25 |
1 files changed, 12 insertions, 13 deletions
diff --git a/binutils-2.22.52.0.1-relro-on-by-default.patch b/binutils-2.22.52.0.1-relro-on-by-default.patch index 57ea12c..83ae415 100644 --- a/binutils-2.22.52.0.1-relro-on-by-default.patch +++ b/binutils-2.22.52.0.1-relro-on-by-default.patch @@ -1,16 +1,3 @@ -diff -cpr ../binutils-2.22.52.0.1.orig/ld/emultempl/elf32.em ld/emultempl/elf32.em -*** ../binutils-2.22.52.0.1.orig/ld/emultempl/elf32.em 2012-03-06 14:00:29.959957689 +0000 ---- ld/emultempl/elf32.em 2012-03-06 14:09:33.492940503 +0000 -*************** gld${EMULATION_NAME}_before_parse (void) -*** 106,111 **** ---- 106,112 ---- - config.dynamic_link = ${DYNAMIC_LINK-TRUE}; - config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`; - link_info.sharable_sections = `if test "$SHARABLE_SECTIONS" = "yes" ; then echo TRUE ; else echo FALSE ; fi`; -+ link_info.relro = TRUE; - } - - EOF diff -cpr ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp ld/testsuite/config/default.exp *** ../binutils-2.22.52.0.1.orig/ld/testsuite/config/default.exp 2012-03-06 14:00:31.141957656 +0000 --- ld/testsuite/config/default.exp 2012-03-06 14:09:33.492940503 +0000 @@ -91,3 +78,15 @@ diff -cpr ../binutils-2.22.52.0.1.orig/ld/testsuite/ld-bootstrap/bootstrap.exp l untested $testname continue } +*** ../binutils-2.22.52.0.2.orig/ld/emultempl/elf32.em 2012-04-30 16:12:52.642766221 +0100 +--- ld/emultempl/elf32.em 2012-04-30 16:13:13.869766905 +0100 +*************** gld${EMULATION_NAME}_before_parse (void) +*** 106,111 **** +--- 106,112 ---- + input_flags.dynamic = ${DYNAMIC_LINK-TRUE}; + config.has_shared = `if test -n "$GENERATE_SHLIB_SCRIPT" ; then echo TRUE ; else echo FALSE ; fi`; + link_info.sharable_sections = `if test "$SHARABLE_SECTIONS" = "yes" ; then echo TRUE ; else echo FALSE ; fi`; ++ link_info.relro = TRUE; + } + + EOF |