Changeset bef4fddd in rtems


Ignore:
Timestamp:
Mar 18, 2003, 8:42:51 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
434b8ea1
Parents:
73e3614
Message:

2003-03-18 Till Straumann <strauman@…>

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.
Location:
cpukit/libnetworking
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • cpukit/libnetworking/ChangeLog

    r73e3614 rbef4fddd  
     12003-03-18      Till Straumann <strauman@slac.stanford.edu>
     2
     3        PR 356/bsps
     4        * sys/linker_set.h: This patch makes RTEMS/PowerPC eabi compliant.
     5        Declare all linker-script defined addresses as
     6        variables of unknown size and not as short objects
     7        like 'int', 'void*' etc.  Since only addresses are used and never those
     8        variable's values, the type used in a declaration is not important.
     9
    1102003-03-06      Ralf Corsepius <corsepiu@faw.uni-ulm.de>
    211
  • cpukit/libnetworking/sys/linker_set.h

    r73e3614 rbef4fddd  
    6464 */
    6565#define SET_DECLARE(set, ptype)                                         \
    66         extern ptype *__CONCAT(__start_set_,set);                       \
    67         extern ptype *__CONCAT(__stop_set_,set)
     66        extern ptype *__CONCAT(__start_set_,set)[];                     \
     67        extern ptype *__CONCAT(__stop_set_,set)[]
    6868
    6969#define SET_BEGIN(set)                                                  \
    70         (&__CONCAT(__start_set_,set))
     70        (__CONCAT(__start_set_,set))
    7171#define SET_LIMIT(set)                                                  \
    72         (&__CONCAT(__stop_set_,set))
     72        (__CONCAT(__stop_set_,set))
    7373
    7474/*
Note: See TracChangeset for help on using the changeset viewer.