This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

[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"

Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]