URL
https://opencores.org/ocsvn/openrisc_2011-10-31/openrisc_2011-10-31/trunk
Only display areas with differences |
Details |
Blame |
View Log
Rev 321 |
Rev 384 |
/* { dg-options "pic-addr.o pic-call.o nonpic-addr.o pic-receive-fn-addr.o nonpic-receive-fn-addr.o nonpic-nothing.o pic-nothing.o" } */
|
/* { dg-options "pic-addr.o pic-call.o nonpic-addr.o pic-receive-fn-addr.o nonpic-receive-fn-addr.o nonpic-nothing.o pic-nothing.o" } */
|
|
|
#include "mips-nonpic.h"
|
#include "mips-nonpic.h"
|
|
|
main ()
|
main ()
|
{
|
{
|
nonpic_nothing ();
|
nonpic_nothing ();
|
pic_call ();
|
pic_call ();
|
|
|
if (hit_nonpic_nothing != 2)
|
if (hit_nonpic_nothing != 2)
|
abort ();
|
abort ();
|
|
|
if (hit_pic_call != 1)
|
if (hit_pic_call != 1)
|
abort ();
|
abort ();
|
|
|
exit (0);
|
exit (0);
|
}
|
}
|
|
|
© copyright 1999-2024
OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.