This is the mail archive of the binutils@sourceware.cygnus.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]

Patch to fix internal linker error


Hi Guys,

  I would like to apply the following patch.  It fixes an internal
  linker error when the arm-pe port is building.

  Any objections ?

Cheers
	Nick


1999-09-06  Nick Clifton  <nickc@cygnus.com>

	* ldexp.c (exp_fold_tree): Treat BLOCK like ALIGN_K.

Index: ldexp.c
===================================================================
RCS file: /cvs/binutils/binutils/ld/ldexp.c,v
retrieving revision 1.2
diff -p -w -r1.2 ldexp.c
*** ldexp.c	1999/07/11 20:08:59	1.2
--- ldexp.c	1999/09/06 10:44:02
*************** exp_fold_tree (tree, current_section, al
*** 525,530 ****
--- 525,531 ----
  	{
  	  switch (tree->type.node_code) 
  	    {
+ 	    case BLOCK:
  	    case ALIGN_K:
  	      if (allocation_done != lang_first_phase_enum)
  		result = new_rel_from_section (ALIGN_N (dot, result.value),

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