PATCH: PR 992: regression: ld selective1 and selective2 fails, cris-elf

Alan Modra amodra@bigpond.net.au
Thu Jun 9 02:58:00 GMT 2005
On Thu, Jun 09, 2005 at 11:28:12AM +0930, Alan Modra wrote:
> 	(fold_unary <ALIGN_K>): Ensure alignment is absolute.

Oops.  This was a last-minute change that didn't have the benefit of
being checked by multiple testsuite runs..  Reverting.

	* ldexp.c (fold_unary <ALIGN_K>): Revert last change.

Index: ld/ldexp.c
===================================================================
RCS file: /cvs/src/src/ld/ldexp.c,v
retrieving revision 1.52
diff -u -p -r1.52 ldexp.c
--- ld/ldexp.c	9 Jun 2005 02:05:46 -0000	1.52
+++ ld/ldexp.c	9 Jun 2005 02:57:25 -0000
@@ -207,10 +207,7 @@ fold_unary (etree_type *tree)
 	{
 	case ALIGN_K:
 	  if (expld.phase != lang_first_phase_enum)
-	    {
-	      make_abs ();
-	      new_rel_from_abs (align_n (expld.dot, expld.result.value));
-	    }
+	    new_rel_from_abs (align_n (expld.dot, expld.result.value));
 	  else
 	    expld.result.valid_p = FALSE;
 	  break;


-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list