This is the mail archive of the
binutils@sourceware.org
mailing list for the binutils project.
[PATCH] Include as.h at start of gas/config/tc-arm.c
- From: Andrew Jenner <andrew at codesourcery dot com>
- To: binutils at sourceware dot org
- Date: Thu, 07 May 2009 11:29:01 -0700
- Subject: [PATCH] Include as.h at start of gas/config/tc-arm.c
Hi,
Solaris-hosted gas for ARM doesn't compile. The problem is that as.h
(which includes config.h) is included in tc-arm.c after the system
headers - it needs to be included before them.
gas/ChangeLog
2009-05-07 Andrew Jenner <andrew@codesourcery.com>
gas/
* config/tc-arm.c: Move as.h to start of file.
Thanks,
Andrew
--
Andrew Jenner
CodeSourcery
andrew@codesourcery.com
(650) 331-3385 x728
Index: gas/config/tc-arm.c
===================================================================
--- gas/config/tc-arm.c (revision 242564)
+++ gas/config/tc-arm.c (revision 242565)
@@ -25,10 +25,10 @@
Software Foundation, 51 Franklin Street - Fifth Floor, Boston, MA
02110-1301, USA. */
+#include "as.h"
#include <limits.h>
#include <stdarg.h>
#define NO_RELOC 0
-#include "as.h"
#include "safe-ctype.h"
#include "subsegs.h"
#include "obstack.h"