aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;