This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]