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

PATCH: Remove definition of skip_whitespace from tc-mep.h


Hi Guys,

  I am applying the patch below to fix a problem building the mep-elf
  port.  The skip_whitespace macro defined in tc-mep.h is not needed
  and conflicts with a similar definition in read.c, so it had to be
  removed.

Cheers
  Nick

gas/ChangeLog
2007-07-24  Nick Clifton  <nickc@redhat.com>

	* config/tc-mep.h (skip_whitespace): Remove definition.

Index: tc-mep.h
===================================================================
RCS file: /cvs/src/src/gas/config/tc-mep.h,v
retrieving revision 1.2
diff -c -3 -p -r1.2 tc-mep.h
*** tc-mep.h	3 Jul 2007 11:01:04 -0000	1.2
--- tc-mep.h	24 Jul 2007 12:36:39 -0000
*************** extern void mep_prepare_relax_scan (frag
*** 88,95 ****
  #define md_prepare_relax_scan(FRAGP, ADDR, AIM, STATE, TYPE) \
  	mep_prepare_relax_scan (FRAGP, &AIM, STATE)
  
- #define skip_whitespace(str) while (*(str) == ' ') ++(str)
- 
  /* Support for core/vliw mode switching.  */
  #define CORE 0
  #define VLIW 1
--- 88,93 ----


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