mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-11-29 10:17:38 +01:00
(a): If not compiling with GCC, explain that there is no hope of exercising this
test. (Logical change 1.68)
This commit is contained in:
parent
753601f8b0
commit
797322b3b4
1 changed files with 5 additions and 0 deletions
|
@ -94,6 +94,7 @@ a (void)
|
||||||
{
|
{
|
||||||
long stack;
|
long stack;
|
||||||
|
|
||||||
|
#ifdef __GNUC__
|
||||||
if (verbose)
|
if (verbose)
|
||||||
printf ("a: sp=%p bsp=%p\n", &stack, __builtin_ia64_bsp ());
|
printf ("a: sp=%p bsp=%p\n", &stack, __builtin_ia64_bsp ());
|
||||||
b (&&handler);
|
b (&&handler);
|
||||||
|
@ -112,6 +113,10 @@ a (void)
|
||||||
__builtin_ia64_bsp() gets predicated. */
|
__builtin_ia64_bsp() gets predicated. */
|
||||||
getpid ();
|
getpid ();
|
||||||
}
|
}
|
||||||
|
#else
|
||||||
|
if (verbose)
|
||||||
|
printf ("a: this test only works with GNU C compiler.\n");
|
||||||
|
#endif
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue