# undef UD2_PAGE
/*---------------------- amd64-linux ----------------------*/
-#else
-#if defined(VGP_amd64_linux)
+#elif defined(VGP_amd64_linux)
# define UD2_16 ud2 ; ud2 ; ud2 ; ud2 ;ud2 ; ud2 ; ud2 ; ud2
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------- ppc32-linux ----------------*/
-#else
-#if defined(VGP_ppc32_linux)
+#elif defined(VGP_ppc32_linux)
# define UD2_16 trap ; trap ; trap; trap
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------- ppc64-linux ----------------*/
-#else
-#if defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux)
+#elif defined(VGP_ppc64be_linux) || defined(VGP_ppc64le_linux)
# define UD2_16 trap ; trap ; trap; trap
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------- arm-linux ----------------*/
-#else
-#if defined(VGP_arm_linux)
+#elif defined(VGP_arm_linux)
# define UD2_4 .word 0xFFFFFFFF
# define UD2_16 UD2_4 ; UD2_4 ; UD2_4 ; UD2_4
# undef UD2_PAGE
/*---------------- arm64-linux ----------------*/
-#else
-#if defined(VGP_arm64_linux)
+#elif defined(VGP_arm64_linux)
# define UD2_4 .word 0xFFFFFFFF
# define UD2_16 UD2_4 ; UD2_4 ; UD2_4 ; UD2_4
# undef UD2_PAGE
/*---------------- x86-freebsd ----------------*/
-#else
-#if defined(VGP_x86_freebsd)
+#elif defined(VGP_x86_freebsd)
.global VG_(trampoline_stuff_start)
VG_(trampoline_stuff_start):
.global VG_(trampoline_stuff_end)
VG_(trampoline_stuff_end):
-#else
-#if defined(VGP_amd64_freebsd)
+#elif defined(VGP_amd64_freebsd)
# define UD2_16 ud2 ; ud2 ; ud2 ; ud2 ;ud2 ; ud2 ; ud2 ; ud2
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------- arm64-freebsd ----------------*/
-#else
-#if defined(VGP_arm64_freebsd)
+#elif defined(VGP_arm64_freebsd)
# define UD2_4 .word 0xFFFFFFFF
# define UD2_16 UD2_4 ; UD2_4 ; UD2_4 ; UD2_4
/*---------------- x86-darwin ----------------*/
-#else
-#if defined(VGP_x86_darwin)
+#elif defined(VGP_x86_darwin)
/* a leading page of unexecutable code */
.fill 2048, 2, 0x0b0f /* `ud2` */
/*---------------- amd64-darwin ----------------*/
-#else
-#if defined(VGP_amd64_darwin)
+#elif defined(VGP_amd64_darwin)
/* a leading page of unexecutable code */
.fill 2048, 2, 0x0b0f /* `ud2` */
/*---------------- s390x-linux ----------------*/
-#else
-#if defined(VGP_s390x_linux)
+#elif defined(VGP_s390x_linux)
/* a leading page of unexecutable code */
.fill 2048, 2, 0x0000
.fill 2048, 2, 0x0000
/*---------------------- mips32-linux ----------------------*/
-#else
-#if defined(VGP_mips32_linux)
+#elif defined(VGP_mips32_linux)
# define UD2_16 trap ; trap ; trap; trap
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------------- nanomips-linux --------------------*/
-#else
-#if defined(VGP_nanomips_linux)
+#elif defined(VGP_nanomips_linux)
.global VG_(trampoline_stuff_start)
VG_(trampoline_stuff_start):
/*---------------------- mips64-linux ----------------------*/
-#else
-#if defined(VGP_mips64_linux)
+#elif defined(VGP_mips64_linux)
# define UD2_16 trap ; trap ; trap; trap
# define UD2_64 UD2_16 ; UD2_16 ; UD2_16 ; UD2_16
# undef UD2_PAGE
/*---------------- riscv64-linux ----------------*/
-#else
-#if defined(VGP_riscv64_linux)
+#elif defined(VGP_riscv64_linux)
# define UD2_4 .word 0
# define UD2_16 UD2_4 ; UD2_4 ; UD2_4 ; UD2_4
# undef UD2_PAGE
/*---------------- x86-solaris ----------------*/
-#else
-#if defined(VGP_x86_solaris)
+#elif defined(VGP_x86_solaris)
.global VG_(trampoline_stuff_start)
VG_(trampoline_stuff_start):
VG_(trampoline_stuff_end):
/*---------------- amd64-solaris ----------------*/
-#else
-#if defined(VGP_amd64_solaris)
+#elif defined(VGP_amd64_solaris)
.global VG_(trampoline_stuff_start)
VG_(trampoline_stuff_start):
#else
# error Unknown platform
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
-#endif
#endif
/* Let the linker know we don't need an executable stack */