aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2012-05-18 02:05:23 +0000
committerAlan Modra <amodra@gmail.com>2012-05-18 02:05:23 +0000
commit397b19d7ce9beced6ee0a9ed2b71535df2c653e5 (patch)
tree2f844ccecd71eb7d901d83915c2c0e0f878aee9d
parent5eb3690ee9d6bf3a5d60d2853bc6c1be8c251f06 (diff)
downloadgdb-397b19d7ce9beced6ee0a9ed2b71535df2c653e5.zip
gdb-397b19d7ce9beced6ee0a9ed2b71535df2c653e5.tar.gz
gdb-397b19d7ce9beced6ee0a9ed2b71535df2c653e5.tar.bz2
* ld-elf/init-mixed.c: Include config.h first.
-rw-r--r--ld/testsuite/ChangeLog4
-rw-r--r--ld/testsuite/ld-elf/init-mixed.c3
2 files changed, 5 insertions, 2 deletions
diff --git a/ld/testsuite/ChangeLog b/ld/testsuite/ChangeLog
index 0095783..24e8a9d 100644
--- a/ld/testsuite/ChangeLog
+++ b/ld/testsuite/ChangeLog
@@ -1,3 +1,7 @@
+2012-05-18 Alan Modra <amodra@gmail.com>
+
+ * ld-elf/init-mixed.c: Include config.h first.
+
2012-05-17 H.J. Lu <hongjiu.lu@intel.com>
* ld-arm/emit-relocs1-vxworks.d: Expect addend as signed.
diff --git a/ld/testsuite/ld-elf/init-mixed.c b/ld/testsuite/ld-elf/init-mixed.c
index 770a4b5..f401ded 100644
--- a/ld/testsuite/ld-elf/init-mixed.c
+++ b/ld/testsuite/ld-elf/init-mixed.c
@@ -1,8 +1,7 @@
+#include "config.h"
#include <stdio.h>
#include <stdlib.h>
-#include "config.h"
-
#ifdef HAVE_INITFINI_ARRAY
static int count;