1.1 --- a/patches/binutils/2.20/170-warn-textrel.patch Tue Oct 27 20:06:46 2009 +0100
1.2 +++ b/patches/binutils/2.20/170-warn-textrel.patch Sat Jan 22 22:35:43 2011 +0100
1.3 @@ -10,8 +10,8 @@
1.4 * ld/testsuite/lib/ld-lib.exp (default_ld_simple_link): Scrub TEXTREL
1.5 warnings from ld output.
1.6
1.7 ---- bfd/elflink.c
1.8 -+++ bfd/elflink.c
1.9 +--- binutils/bfd/elflink.c
1.10 ++++ binutils/bfd/elflink.c
1.11 @@ -8652,14 +8652,12 @@
1.12 goto error_return;
1.13
1.14 @@ -38,14 +38,14 @@
1.15 break;
1.16 }
1.17 }
1.18 ---- ld/ldmain.c
1.19 -+++ ld/ldmain.c
1.20 +--- binutils/ld/ldmain.c
1.21 ++++ binutils/ld/ldmain.c
1.22 @@ -282,2 +282,3 @@ main (int argc, char **argv)
1.23 link_info.spare_dynamic_tags = 5;
1.24 + link_info.warn_shared_textrel = TRUE;
1.25 link_info.sharable_sections = FALSE;
1.26 ---- ld/testsuite/lib/ld-lib.exp
1.27 -+++ ld/testsuite/lib/ld-lib.exp
1.28 +--- binutils/ld/testsuite/lib/ld-lib.exp
1.29 ++++ binutils/ld/testsuite/lib/ld-lib.exp
1.30 @@ -181,6 +181,10 @@ proc default_ld_simple_link { ld target
1.31 # symbol, since the default linker script might use ENTRY.
1.32 regsub -all "(^|\n)(\[^\n\]*: warning: cannot find entry symbol\[^\n\]*\n?)" $exec_output "\\1" exec_output