components/binutils/patches/gas.write.c.patch
branchs11-update
changeset 2493 9911278899a3
parent 701 d5c86da1ed69
--- a/components/binutils/patches/gas.write.c.patch	Thu Feb 14 09:24:47 2013 -0800
+++ b/components/binutils/patches/gas.write.c.patch	Thu Feb 14 18:44:43 2013 -0800
@@ -1,6 +1,6 @@
---- binutils-2.21.1.orig/gas/write.c	Wed Mar 16 01:36:12 2011
-+++ binutils-2.21.1/gas/write.c	Mon Feb 13 23:58:24 2012
-@@ -782,6 +782,22 @@
+--- binutils-2.23.1/gas/write.c	2011-11-21 01:29:29.000000000 -0800
++++ binutils-2.23.1/gas/write.c	2012-08-28 10:51:49.991653399 -0700
+@@ -808,6 +808,22 @@
  	    sym = newsym;
  	  }
  
@@ -9,11 +9,11 @@
 +	  {
 +	    symbolS *sub_sym = fixp->fx_subsy;
 +	    while (symbol_equated_reloc_p (sub_sym)
-+		   || S_IS_WEAKREFR (sub_sym))
++		    || S_IS_WEAKREFR (sub_sym))
 +	      {
 +		symbolS *newsym = symbol_get_value_expression (sub_sym)->X_add_symbol;
 +		if (sub_sym == newsym)
-+		  break;
++		    break;
 +		fixp->fx_offset -= symbol_get_value_expression (sub_sym)->X_add_number;
 +		fixp->fx_subsy = newsym;
 +		sub_sym = newsym;