Commit 966b2e7a by Nick Clifton Committed by Jeff Law

	From Nick Clifton
        * execute/ieee/930529-1.c (main): Check to see if __thumb__ is
        defined, and test for ARM style doubles if so.
        * execute/comp-goto-1.c (main): Make main() return an int.

From-SVN: r21860
parent bca48f39
...@@ -123,7 +123,7 @@ insn_t program[2 + 1]; ...@@ -123,7 +123,7 @@ insn_t program[2 + 1];
void *malloc (); void *malloc ();
void int
main () main ()
{ {
environment_t env; environment_t env;
......
...@@ -15,7 +15,7 @@ main () ...@@ -15,7 +15,7 @@ main ()
if (d.c[7] == 0x92 && d.c[6] == 0x24 && d.c[5] == 0x49 && d.c[4] == 0x92 if (d.c[7] == 0x92 && d.c[6] == 0x24 && d.c[5] == 0x49 && d.c[4] == 0x92
&& d.c[3] == 0x24 && d.c[2] == 0x49 && d.c[1] == 0xc2 && d.c[0] == 0x3f) && d.c[3] == 0x24 && d.c[2] == 0x49 && d.c[1] == 0xc2 && d.c[0] == 0x3f)
exit (0); exit (0);
#ifdef __arm__ #if defined __arm__ || defined __thumb__
if (d.c[4] == 0x92 && d.c[5] == 0x24 && d.c[6] == 0x49 && d.c[7] == 0x92 if (d.c[4] == 0x92 && d.c[5] == 0x24 && d.c[6] == 0x49 && d.c[7] == 0x92
&& d.c[0] == 0x24 && d.c[1] == 0x49 && d.c[2] == 0xc2 && d.c[3] == 0x3f) && d.c[0] == 0x24 && d.c[1] == 0x49 && d.c[2] == 0xc2 && d.c[3] == 0x3f)
exit (0); exit (0);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment