diff options
author | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-01-28 18:21:23 +0000 |
---|---|---|
committer | Joel Sherrill <joel.sherrill@OARcorp.com> | 2011-01-28 18:21:23 +0000 |
commit | 07f4e27d9b4da50bc78e54037fc07fed89c71f48 (patch) | |
tree | 3c99295dcf525a54e2c5d3027eac96f4191862d5 /gcc | |
parent | e801ee10d0a73ae1df6208b799a93c0492ec4581 (diff) |
2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com>
* do_one, networkconfig.h, rtems_gccgo_init.c: Now running Go tests on
PowerPC (2/3 passing) and i386 (in process).
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rwxr-xr-x | gcc/do_one | 6 | ||||
-rw-r--r-- | gcc/networkconfig.h | 35 | ||||
-rw-r--r-- | gcc/rtems_gccgo_init.c | 1 |
4 files changed, 33 insertions, 14 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 2b5dfed..4038a98 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,5 +1,10 @@ 2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com> + * do_one, networkconfig.h, rtems_gccgo_init.c: Now running Go tests on + PowerPC (2/3 passing) and i386 (in process). + +2011-01-28 Joel Sherrill <joel.sherrill@oarcorp.com> + * do_one, test_driver, testsuite/ada/acats/Makefile.rtems: Various improvements as part of testing gcc 4.6.0. @@ -749,7 +749,8 @@ else fi ##### Do the gccgo tests -if [ ${do_gccgo} = "yes" -a ${run_gccgotests} = "yes" -a \ +set -x +if [ $a ${run_gccgotests} = "yes" -a \ -d ${BASEDIR}/b-gccgo1-${cpu} -a ${go_fail} = "no" ] ; then echo "Running GCC Go Tests..." cd ${BASEDIR}/b-gccgo1-${cpu}/gcc || exit 1 @@ -781,7 +782,8 @@ else fi ##### Do the libgo tests -if [ ${run_libgotests} = "yes" ] ; then +if [ $a ${run_libgotests} = "yes" -a \ + -d ${BASEDIR}/b-gccgo1-${cpu} -a ${go_fail} = "no" ] ; then echo "Running libgo DejaGNU tests..." cd ${BASEDIR}/b-gccgo1-${cpu} || exit 1 time sh -x ${SCRIPTDIR}/gcc/rundeja ${bsp} libgo \ diff --git a/gcc/networkconfig.h b/gcc/networkconfig.h index 0333393..46ae205 100644 --- a/gcc/networkconfig.h +++ b/gcc/networkconfig.h @@ -22,21 +22,26 @@ #include <bsp.h> /* - * Loopback interface - */ -extern int rtems_bsdnet_loopattach(); - -/* * Default network interface */ static struct rtems_bsdnet_ifconfig netdriver_config = { - "lo0", /* name */ - rtems_bsdnet_loopattach, /* attach function */ - NULL, /* No more interfaces */ - "127.0.0.1", /* IP address */ - "255.0.0.0", /* IP net mask */ - NULL, /* Driver supplies hardware address */ - 0 /* Use default driver parameters */ + NULL, /* Loop back interface only */ + NULL, /* Loop back interface only */ + NULL, /* do not use bootp */ + 0, /* Default network task priority */ + 0, /* Default mbuf capacity */ + 0, /* Default mbuf cluster capacity */ + "rtems", /* Host name */ + "nodomain.com", /* Domain name */ + "127.0.0.1", /* Gateway */ + "127.0.0.1", /* Log host */ + {"127.0.0.1" }, /* Name server(s) */ + {"127.0.0.1" }, /* NTP server(s) */ + 0, /* sb_efficiency */ + 0, /* udp_tx_buf_size */ + 0, /* udp_rx_buf_size */ + 0, /* tcp_tx_buf_size */ + 0 /* tcp_rx_buf_size */ }; /* @@ -53,6 +58,12 @@ struct rtems_bsdnet_config rtems_bsdnet_config = { "127.0.0.1", /* Gateway */ "127.0.0.1", /* Log host */ {"127.0.0.1" }, /* Name server(s) */ + {"127.0.0.1" }, /* NTP server(s) */ + 0, /* sb_efficiency */ + 0, /* udp_tx_buf_size */ + 0, /* udp_rx_buf_size */ + 0, /* tcp_tx_buf_size */ + 0 /* tcp_rx_buf_size */ }; /* diff --git a/gcc/rtems_gccgo_init.c b/gcc/rtems_gccgo_init.c index 5c17f69..0c795a5 100644 --- a/gcc/rtems_gccgo_init.c +++ b/gcc/rtems_gccgo_init.c @@ -118,6 +118,7 @@ void *POSIX_Init( void _flush_cache() { } +#endif /* configuration information */ |