[PATCH] XCore target: add support to build MultiSource/Applications/SIBsim4
robert lytton
robert at xmos.com
Thu Feb 13 11:41:21 PST 2014
xcore does not support POSIX signals
http://llvm-reviews.chandlerc.com/D2782
Files:
MultiSource/Applications/SIBsim4/sim4.init.c
Index: MultiSource/Applications/SIBsim4/sim4.init.c
===================================================================
--- MultiSource/Applications/SIBsim4/sim4.init.c
+++ MultiSource/Applications/SIBsim4/sim4.init.c
@@ -116,12 +116,14 @@
mtrace();
#endif
argv0 = argv[0];
+#ifndef __XS1B__
if (setlocale(LC_ALL, "POSIX") == NULL)
fprintf(stderr, "%s: Warning: could not set locale to POSIX\n", argv[0]);
signal(SIGSEGV, bug_handler);
#ifndef __MINGW32__
signal(SIGBUS, bug_handler);
#endif
+#endif
/* Default options. */
options.C = DEFAULT_C;
options.cutoff = DIST_CUTOFF;
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2782.1.patch
Type: text/x-patch
Size: 613 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20140213/0199084c/attachment.bin>
More information about the llvm-commits
mailing list