From: Roland McGrath Date: Wed, 8 Aug 2012 21:19:57 +0000 (-0700) Subject: ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition. X-Git-Tag: glibc-2.17~730 X-Git-Url: https://sourceware.org/git/?a=commitdiff_plain;h=92142c0cfd69f7171695ca68f88fe8407aa8b7e5;p=glibc.git ARM: fix build breakage from sysdeps/unix/sysv/linux/arm/dl-machine.h addition. --- diff --git a/ports/ChangeLog.arm b/ports/ChangeLog.arm index b84f9eb482..32e24bafd7 100644 --- a/ports/ChangeLog.arm +++ b/ports/ChangeLog.arm @@ -1,5 +1,8 @@ 2012-08-08 Roland McGrath + * sysdeps/unix/sysv/linux/arm/dl-machine.h: Move #include outside of + [!dl_machine_h]. + * sysdeps/unix/sysv/linux/arm/nptl/bits/atomic.h [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4] (__arch_compare_and_exchange_val_32_acq): Use uint32_t rather than diff --git a/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h b/ports/sysdeps/unix/sysv/linux/arm/dl-machine.h index 7c96cb754f..68e8be9e61 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 - #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