diff options
author | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 12:11:10 +0000 |
---|---|---|
committer | Ralf Corsepius <ralf.corsepius@rtems.org> | 2011-12-13 12:11:10 +0000 |
commit | b3dbca32f20049315ff0304d41ffe4d2daba8fb9 (patch) | |
tree | d564963b8bd787e9efd6abcd232308d4935d7120 | |
parent | fa011f35d5dae8e4469ff703d650b0fd71ce2165 (diff) |
2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org>
* math/init.c, mathf/init.c, mathl/init.c: Move configuration section.
* math/domath.c, mathf/domathf.c, mathl/domathl.c: Regenerate.
* math/domath.in: Generate domath* prototype.
-rw-r--r-- | testsuites/libtests/ChangeLog | 8 | ||||
-rw-r--r-- | testsuites/libtests/math/domath.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/math/domath.in | 4 | ||||
-rw-r--r-- | testsuites/libtests/math/init.c | 27 | ||||
-rw-r--r-- | testsuites/libtests/mathf/domathf.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/mathf/init.c | 27 | ||||
-rw-r--r-- | testsuites/libtests/mathl/domathl.c | 4 | ||||
-rw-r--r-- | testsuites/libtests/mathl/init.c | 28 |
8 files changed, 58 insertions, 48 deletions
diff --git a/testsuites/libtests/ChangeLog b/testsuites/libtests/ChangeLog index 91848d9506..9bac8584b7 100644 --- a/testsuites/libtests/ChangeLog +++ b/testsuites/libtests/ChangeLog @@ -1,9 +1,15 @@ 2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org> + * math/init.c, mathf/init.c, mathl/init.c: Move configuration section. + * math/domath.c, mathf/domathf.c, mathl/domathl.c: Regenerate. + * math/domath.in: Generate domath* prototype. + +2011-12-13 Ralf Corsépius <ralf.corsepius@rtems.org> + * complex/init.c: Move configuration section. * complex/docomplex.c, complex/docomplexf.c, complex/docomplexl.c: Regenerate. - * complex/docomplex.in: Generate prototype docomplex* prototype. + * complex/docomplex.in: Generate docomplex* prototype. 2011-12-09 Ralf Corsépius <ralf.corsepius@rtems.org> diff --git a/testsuites/libtests/math/domath.c b/testsuites/libtests/math/domath.c index 69f1459767..cc145142f3 100644 --- a/testsuites/libtests/math/domath.c +++ b/testsuites/libtests/math/domath.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 by + * Copyright (c) 2010, 2011 by * Ralf Corsepius, Ulm/Germany. All rights reserved. * * Permission to use, copy, modify, and distribute this software @@ -25,6 +25,8 @@ #define M_PI_4 0.78539816339744830962 #endif +extern void domath (void); + void domath (void) { diff --git a/testsuites/libtests/math/domath.in b/testsuites/libtests/math/domath.in index 7a46dfa618..92bafff276 100644 --- a/testsuites/libtests/math/domath.in +++ b/testsuites/libtests/math/domath.in @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 by + * Copyright (c) 2010, 2011 by * Ralf Corsepius, Ulm/Germany. All rights reserved. * * Permission to use, copy, modify, and distribute this software @@ -25,6 +25,8 @@ #define M_PI_4 0.78539816339744830962 #endif +extern void domath@FSUFFIX@ (void); + void domath@FSUFFIX@ (void) { diff --git a/testsuites/libtests/math/init.c b/testsuites/libtests/math/init.c index c490e6128e..e1ce9c50c1 100644 --- a/testsuites/libtests/math/init.c +++ b/testsuites/libtests/math/init.c @@ -34,6 +34,19 @@ extern void domath(void); #if __rtems__ +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> + rtems_task Init( rtems_task_argument ignored ) @@ -49,17 +62,3 @@ int main( void ) exit( 0 ); } -#if __rtems__ -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 1 -#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT -#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#define CONFIGURE_INIT -#include <rtems/confdefs.h> -#endif diff --git a/testsuites/libtests/mathf/domathf.c b/testsuites/libtests/mathf/domathf.c index 24cb8e0623..b5db14d63a 100644 --- a/testsuites/libtests/mathf/domathf.c +++ b/testsuites/libtests/mathf/domathf.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 by + * Copyright (c) 2010, 2011 by * Ralf Corsepius, Ulm/Germany. All rights reserved. * * Permission to use, copy, modify, and distribute this software @@ -25,6 +25,8 @@ #define M_PI_4 0.78539816339744830962 #endif +extern void domathf (void); + void domathf (void) { diff --git a/testsuites/libtests/mathf/init.c b/testsuites/libtests/mathf/init.c index 60801af557..41d8071bde 100644 --- a/testsuites/libtests/mathf/init.c +++ b/testsuites/libtests/mathf/init.c @@ -34,6 +34,19 @@ extern void domathf(void); #if __rtems__ +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> + rtems_task Init( rtems_task_argument ignored ) @@ -49,17 +62,3 @@ int main( void ) exit( 0 ); } -#if __rtems__ -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 1 -#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT -#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#define CONFIGURE_INIT -#include <rtems/confdefs.h> -#endif diff --git a/testsuites/libtests/mathl/domathl.c b/testsuites/libtests/mathl/domathl.c index 74b58e65fd..3ff381d712 100644 --- a/testsuites/libtests/mathl/domathl.c +++ b/testsuites/libtests/mathl/domathl.c @@ -1,5 +1,5 @@ /* - * Copyright (c) 2010 by + * Copyright (c) 2010, 2011 by * Ralf Corsepius, Ulm/Germany. All rights reserved. * * Permission to use, copy, modify, and distribute this software @@ -25,6 +25,8 @@ #define M_PI_4 0.78539816339744830962 #endif +extern void domathl (void); + void domathl (void) { diff --git a/testsuites/libtests/mathl/init.c b/testsuites/libtests/mathl/init.c index 831aa97361..cb35aa4e55 100644 --- a/testsuites/libtests/mathl/init.c +++ b/testsuites/libtests/mathl/init.c @@ -34,6 +34,19 @@ extern void domathl(void); #if __rtems__ +/* NOTICE: the clock driver is explicitly disabled */ +#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER +#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER + +#define CONFIGURE_MAXIMUM_TASKS 1 +#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT +#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM + +#define CONFIGURE_RTEMS_INIT_TASKS_TABLE + +#define CONFIGURE_INIT +#include <rtems/confdefs.h> + rtems_task Init( rtems_task_argument ignored ) @@ -48,18 +61,3 @@ int main( void ) fprintf( stdout, "*** END OF LONG DOUBLE MATH TEST ***\n" ); exit( 0 ); } - -#if __rtems__ -/* NOTICE: the clock driver is explicitly disabled */ -#define CONFIGURE_APPLICATION_DOES_NOT_NEED_CLOCK_DRIVER -#define CONFIGURE_APPLICATION_NEEDS_CONSOLE_DRIVER - -#define CONFIGURE_MAXIMUM_TASKS 1 -#define CONFIGURE_INIT_TASK_ATTRIBUTES RTEMS_FLOATING_POINT -#define CONFIGURE_USE_DEVFS_AS_BASE_FILESYSTEM - -#define CONFIGURE_RTEMS_INIT_TASKS_TABLE - -#define CONFIGURE_INIT -#include <rtems/confdefs.h> -#endif |