patch-2.4.23 linux-2.4.23/arch/ia64/scripts/make_gas_hint_test.c

Next file: linux-2.4.23/arch/ia64/sn/fakeprom/fpmem.c
Previous file: linux-2.4.23/arch/ia64/mm/tlb.c
Back to the patch index
Back to the overall index

diff -urN linux-2.4.22/arch/ia64/scripts/make_gas_hint_test.c linux-2.4.23/arch/ia64/scripts/make_gas_hint_test.c
@@ -0,0 +1,15 @@
+// The code generates a test case which is used
+// to detect whether Binutil supports hint
+// instruction correctly or not.
+#include <string.h>
+#include <stdio.h>
+
+int main()
+{
+	char str[32766];
+	memset(str,'\n',32765);
+	str[32765]=0;
+	printf("%s(p7) hint @pause\n",str);
+
+	return 0;
+}

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)