patch applied to peicode.h

Joern Rennecke amylaar@cygnus.co.uk
Tue Jun 13 06:44:00 GMT 2000


I have applied this patch to fix a build problem for the arm-epoc-pe
target.  Reviewed by Nick Clifton.

Tue Jun 13 01:28:57 2000  J"orn Rennecke <amylaar@cygnus.co.uk>

	* peicode.h (pe_ILF_object_p): Use TARGET_LITTLE_SYM instead of
	armpei_little_vec.

Index: peicode.h
===================================================================
RCS file: /cvs/src/src/bfd/peicode.h,v
retrieving revision 1.21
diff -p -r1.21 peicode.h
*** peicode.h	2000/04/13 01:08:04	1.21
--- peicode.h	2000/06/12 22:47:07
*************** pe_ILF_object_p (bfd * abfd)
*** 1166,1174 ****
      case IMAGE_FILE_MACHINE_THUMB:
  #ifdef THUMBPEMAGIC
        {
! 	extern bfd_target armpei_little_vec;
  	
! 	if (abfd->xvec == & armpei_little_vec)
  	  magic = THUMBPEMAGIC;
        }
  #endif      
--- 1166,1174 ----
      case IMAGE_FILE_MACHINE_THUMB:
  #ifdef THUMBPEMAGIC
        {
! 	extern bfd_target TARGET_LITTLE_SYM;
  	
! 	if (abfd->xvec == & TARGET_LITTLE_SYM)
  	  magic = THUMBPEMAGIC;
        }
  #endif      


More information about the Binutils mailing list