�
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
This commit is contained in:
parent
bca48f391e
commit
966b2e7a3d
@ -123,7 +123,7 @@ insn_t program[2 + 1];
|
||||
|
||||
void *malloc ();
|
||||
|
||||
void
|
||||
int
|
||||
main ()
|
||||
{
|
||||
environment_t env;
|
||||
|
@ -15,7 +15,7 @@ main ()
|
||||
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)
|
||||
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
|
||||
&& d.c[0] == 0x24 && d.c[1] == 0x49 && d.c[2] == 0xc2 && d.c[3] == 0x3f)
|
||||
exit (0);
|
||||
|
Loading…
Reference in New Issue
Block a user