mirror of
https://gitlab.rtems.org/rtems/rtos/rtems.git
synced 2025-12-05 15:15:44 +00:00
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
PR 356/bsps * sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant. Declare all linker-script defined addresses as variables of unknown size and not as short objects like 'int', 'void*' etc. Since only addresses are used and never those variable's values, the type used in a declaration is not important.
This commit is contained in:
@@ -1,3 +1,12 @@
|
||||
2003-03-18 Till Straumann <strauman@slac.stanford.edu>
|
||||
|
||||
PR 356/bsps
|
||||
* sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
|
||||
Declare all linker-script defined addresses as
|
||||
variables of unknown size and not as short objects
|
||||
like 'int', 'void*' etc. Since only addresses are used and never those
|
||||
variable's values, the type used in a declaration is not important.
|
||||
|
||||
2003-03-06 Ralf Corsepius <corsepiu@faw.uni-ulm.de>
|
||||
|
||||
* configure.ac: Remove AC_CONFIG_AUX_DIR.
|
||||
|
||||
@@ -63,13 +63,13 @@
|
||||
* Initialize before referring to a give linker set
|
||||
*/
|
||||
#define SET_DECLARE(set, ptype) \
|
||||
extern ptype *__CONCAT(__start_set_,set); \
|
||||
extern ptype *__CONCAT(__stop_set_,set)
|
||||
extern ptype *__CONCAT(__start_set_,set)[]; \
|
||||
extern ptype *__CONCAT(__stop_set_,set)[]
|
||||
|
||||
#define SET_BEGIN(set) \
|
||||
(&__CONCAT(__start_set_,set))
|
||||
(__CONCAT(__start_set_,set))
|
||||
#define SET_LIMIT(set) \
|
||||
(&__CONCAT(__stop_set_,set))
|
||||
(__CONCAT(__stop_set_,set))
|
||||
|
||||
/*
|
||||
* Iterate over all the elements of a set.
|
||||
|
||||
Reference in New Issue
Block a user