diff options
author | Frederic Roussel <fr.frasc@gmail.com> | 2009-11-11 22:44:53 (GMT) |
---|---|---|
committer | Frederic Roussel" <fr.frasc@gmail.com> | 2009-11-11 22:44:53 (GMT) |
commit | 6c882486475e1253c5143134207edd816f44afbb (patch) | |
tree | 2efa2947bd8e3adbb9ac5395b1302274854dafa0 /patches/binutils/2.20/170-warn-textrel.patch | |
parent | 6af0ca415345ae40815a23dcac1077f27f2b2a95 (diff) |
patches/binutils/2.20: make patches appliable
Fix filenames in patch files for binutils-2.20.
Some patch files were only usable with patch argument '-p0'.
Fix the diff context to match 2.20 release.
Signed-off-by: Frederic Roussel <fr.frasc@gmail.com>
Diffstat (limited to 'patches/binutils/2.20/170-warn-textrel.patch')
-rw-r--r-- | patches/binutils/2.20/170-warn-textrel.patch | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/patches/binutils/2.20/170-warn-textrel.patch b/patches/binutils/2.20/170-warn-textrel.patch index d8560fe..0d7596a 100644 --- a/patches/binutils/2.20/170-warn-textrel.patch +++ b/patches/binutils/2.20/170-warn-textrel.patch @@ -10,8 +10,8 @@ the very fact that they're needed at all. * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL warnings from ld output. ---- bfd/elflink.c -+++ bfd/elflink.c +--- binutils/bfd/elflink.c ++++ binutils/bfd/elflink.c @@ -8652,14 +8652,12 @@ goto error_return; @@ -38,14 +38,14 @@ the very fact that they're needed at all. break; } } ---- ld/ldmain.c -+++ ld/ldmain.c +--- binutils/ld/ldmain.c ++++ binutils/ld/ldmain.c @@ -282,2 +282,3 @@ main (int argc, char **argv) link_info.spare_dynamic_tags = 5; + link_info.warn_shared_textrel = TRUE; link_info.sharable_sections = FALSE; ---- ld/testsuite/lib/ld-lib.exp -+++ ld/testsuite/lib/ld-lib.exp +--- binutils/ld/testsuite/lib/ld-lib.exp ++++ binutils/ld/testsuite/lib/ld-lib.exp @@ -181,6 +181,10 @@ proc default_ld_simple_link { ld target # symbol, since the default linker script might use ENTRY. regsub -all "(^|\n)(\[^\n\]*: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output |