This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
-Werror fix for m68kcoff.em
- From: Nick Clifton <nickc at redhat dot com>
- To: binutils at sources dot redhat dot com
- Date: Thu, 07 Apr 2005 15:06:28 +0100
- Subject: -Werror fix for m68kcoff.em
Hi Guys,
I am checking in the patch below to fix a compile time warning found
in the m68kcoff.em file, discovered whilst building with
--enable-targets=all.
Cheers
Nick
ld/ChangeLog
2005-04-07 Nick Clifton <nickc@redhat.com>
* emultempl/m68kcoff.em: Include ldexp.h and ldlang.h so that
ldfile.h can use the lang_input_statement type.
Index: ld/emultempl/m68kcoff.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/m68kcoff.em,v
retrieving revision 1.10
diff -c -3 -p -r1.10 m68kcoff.em
*** ld/emultempl/m68kcoff.em 3 Jan 2004 11:09:07 -0000 1.10
--- ld/emultempl/m68kcoff.em 7 Apr 2005 14:05:49 -0000
*************** Foundation, Inc., 59 Temple Place - Suit
*** 33,38 ****
--- 33,40 ----
#include "ld.h"
#include "ldmain.h"
+ #include "ldexp.h"
+ #include "ldlang.h"
#include "ldfile.h"
#include "ldemul.h"
#include "ldmisc.h"