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:02 -0700
- Subject: [PATCH] Include as.h at start of gas/config/tc-arm.c
Hi,
Solaris-hosted BFD for ARM doesn't compile. The problem is that sysdep.h
(which includes config.h) is included in elf32-arm.c after the system
headers - it needs to be included before them.
gas/ChangeLog
2009-05-07 Andrew Jenner <andrew@codesourcery.com>
bfd/
* elf32-arm.c: Move sysdep.h to start of file.
Thanks,
Andrew
--
Andrew Jenner
CodeSourcery
andrew@codesourcery.com
(650) 331-3385 x728
Index: elf32-arm.c
===================================================================
--- elf32-arm.c (revision 243452)
+++ elf32-arm.c (revision 243453)
@@ -19,9 +19,9 @@
Foundation, Inc., 51 Franklin Street - Fifth Floor, Boston,
MA 02110-1301, USA. */
+#include "sysdep.h"
#include <limits.h>
-#include "sysdep.h"
#include "bfd.h"
#include "libiberty.h"
#include "libbfd.h"