Changeset 49f02ff in rtems


Ignore:
Timestamp:
Mar 18, 2003, 8:43:07 PM (17 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
8114f30
Parents:
7e9c793b
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

    r7e9c793b r49f02ff  
     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

    r7e9c793b r49f02ff  
    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.