diff options
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 |