patches/binutils/2.20.1a/190-use-new-ld-dtags.patch
author Thomas De Schampheleire <patrickdepinguin+buildroot@gmail.com>
Sat Jul 14 19:52:58 2012 +0200 (2012-07-14)
changeset 2998 7b1dda3ab075
parent 2088 4f21ba5f8e91
permissions -rw-r--r--
kconfig: fix compatibility with older flex versions

Older flex versions require there be no space between options and
their arguments. For example '-P zconf' is not correct and should
be '-Pzconf'. This is for example the case for flex-2.5.4 shipped
with CentOS 5.8.

Signed-off-by: Thomas De Schampheleire <thomas.de.schampheleire@gmail.com>
Message-Id: <9652ce148bddc1def484.1339241000@beantl019720>
yann@2088
     1
yann@2088
     2
yann@2088
     3
diff -durN binutils-2.20.1.orig/ld/ldmain.c binutils-2.20.1/ld/ldmain.c
yann@2088
     4
--- binutils-2.20.1.orig/ld/ldmain.c	2010-08-17 19:32:13.000000000 +0200
yann@2088
     5
+++ binutils-2.20.1/ld/ldmain.c	2010-08-17 19:32:15.000000000 +0200
yann@2088
     6
@@ -262,6 +262,7 @@
yann@1614
     7
 
yann@1614
     8
   link_info.allow_undefined_version = TRUE;
yann@1614
     9
   link_info.keep_memory = TRUE;
yann@1614
    10
+  link_info.new_dtags = TRUE;
yann@1614
    11
   link_info.combreloc = TRUE;
yann@1614
    12
   link_info.strip_discarded = TRUE;
yann@2088
    13
   link_info.emit_hash = TRUE;