diff --git a/binutils-2.20.51.0.10-ldlex-add-caret-pling.patch b/binutils-2.20.51.0.10-ldlex-add-caret-pling.patch new file mode 100644 index 0000000..e6d49b3 --- /dev/null +++ b/binutils-2.20.51.0.10-ldlex-add-caret-pling.patch @@ -0,0 +1,19 @@ +*** ../binutils-2.20.51.0.10.orig/ld/ldlex.l 2010-08-20 15:28:06.000000000 +0100 +--- ld/ldlex.l 2010-08-20 15:35:27.000000000 +0100 +*************** CMDFILENAMECHAR1 [_a-zA-Z0-9\/\.\\_\+\$ +*** 99,105 **** + FILENAMECHAR1 [_a-zA-Z\/\.\\\$\_\~] + SYMBOLCHARN [_a-zA-Z\/\.\\\$\_\~0-9] + FILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~] +! WILDCHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~\?\*] + WHITE [ \t\n\r]+ + + NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~] +--- 99,105 ---- + FILENAMECHAR1 [_a-zA-Z\/\.\\\$\_\~] + SYMBOLCHARN [_a-zA-Z\/\.\\\$\_\~0-9] + FILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~] +! WILDCHAR [_a-zA-Z0-9\/\.\-\_\+\=\$\:\[\]\\\,\~\?\*\^\!] + WHITE [ \t\n\r]+ + + NOCFILENAMECHAR [_a-zA-Z0-9\/\.\-\_\+\$\:\[\]\\\~] diff --git a/binutils.spec b/binutils.spec index 905b4e6..5d075fe 100644 --- a/binutils.spec +++ b/binutils.spec @@ -17,7 +17,7 @@ Summary: A GNU collection of binary utilities Name: %{?cross}binutils%{?_with_debug:-debug} Version: 2.20.51.0.10 -Release: 2%{?dist} +Release: 3%{?dist} License: GPLv3+ Group: Development/Tools URL: http://sources.redhat.com/binutils @@ -33,6 +33,7 @@ Patch07: binutils-2.20.51.0.2-build-id.patch Patch08: binutils-2.20.51.0.10-copy-osabi.patch Patch09: binutils-2.20.51.0.10-update-gold.patch Patch10: binutils-2.20.51.0.10-sec-merge-emit.patch +Patch11: binutils-2.20.51.0.10-ldlex-add-caret-pling.patch %define gold_arches %ix86 x86_64 @@ -133,6 +134,7 @@ using libelf instead of BFD. %patch08 -p0 -b .copy-osabi~ %patch09 -p0 -b .update-gold~ %patch10 -p0 -b .sec-merge-emit~ +%patch11 -p0 -b .ldlex~ # We cannot run autotools as there is an exact requirement of autoconf-2.59. @@ -415,6 +417,9 @@ exit 0 %endif # %{isnative} %changelog +* Fri Aug 20 2010 Nick Clifton - 2.20.51.0.10-3 +- Allow ^ and ! characters in linker script wildcard patterns. (BZ 621742) + * Fri Aug 20 2010 Nick Clifton - 2.20.51.0.10-2 - Fix seg fault in sec_merge_emit(). (BZ 623687)