This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
PATCH: Remove definition of skip_whitespace from tc-mep.h
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sourceware dot org
- Date: Tue, 24 Jul 2007 13:38:03 +0100
- Subject: 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 ----