This is the mail archive of the
libc-ports@sources.redhat.com
mailing list for the libc-ports project.
[COMMITTED PATCH] ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition
- From: Roland McGrath <roland at hack dot frob dot com>
- To: libc-ports at sourceware dot org
- Date: Wed, 8 Aug 2012 14:27:05 -0700 (PDT)
- Subject: [COMMITTED PATCH] ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition
My change to split CLEAR_CACHE out of sysdeps/arm/dl-machine.h actually
broke the build. Sorry about that. Apparently nobody else has been
testing the ARM build lately either.
Committed as obvious.
Thanks,
Roland
ports/ChangeLog.arm
* sysdeps/unix/sysv/linux/arm/dl-machine.h: Move #include outside of
[!dl_machine_h].
diff --git a/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h b/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h
index 7c96cb7..68e8be9 100644
--- a/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h
+++ b/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h
@@ -22,7 +22,9 @@
#define CLEAR_CACHE(BEG,END) \
INTERNAL_SYSCALL_ARM (cacheflush, , 3, (BEG), (END), 0)
-/* The rest is just machine-specific. */
-#include <sysdeps/arm/dl-machine.h>
-
#endif
+
+/* The rest is just machine-specific.
+ This #include is outside the #ifndef because the parts of
+ dl-machine.h used only by dynamic-link.h are outside the guard. */
+#include <sysdeps/arm/dl-machine.h>