[patch] m88k build failure

Manfred Hollstein mh@novell.com
Tue Apr 12 18:51:00 GMT 2005


On Tue, 12 Apr 2005, 18:28:23 +0200, Paul Brook wrote:
> include/opcodes/m88k.h defines a macro named "mode". This causes a build 
> failure because libiberty uses a variable with that name.
> 
> The attached patch renames these macros. I searched the whole of the src 
> repository, and AFAICS they're not actually used anywhere.

They had been used in gdb a long time ago. IIRC, m88k-*-* isn't
supported by gdb anymore, so it should be safe to remove them now.

> Build --enable-targets=all
> Ok?

I'd say yes.

> Paul
> 
> 2005-04-12  Paul Brook  <paul@codesourcery.com>
> 
> 	* opcode/m88k.h: Rename psr macros to avoid conflicts.

Cheers.

l8er
manfred



More information about the Binutils mailing list