Changeset f86ec42 in rtems


Ignore:
Timestamp:
02/17/98 23:35:54 (25 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, 5, master
Children:
33b304f
Parents:
818c361
Message:

Added .eh_frame, C++ constructor, and C++ destructor sections.

Location:
c/src/lib/libbsp
Files:
17 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/i386/force386/startup/linkcmds

    r818c361 rf86ec42  
    2525        _text_start = . ;
    2626        *(.text)
    27         _etext = ALIGN( 0x10 ) ;
     27        . = ALIGN (16);
     28
     29        *(.eh_fram)
     30        . = ALIGN (16);
     31
     32        /*
     33         * C++ constructors
     34         */
     35        __CTOR_LIST__ = .;
     36        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     37        *(.ctors)
     38        LONG(0)
     39        __CTOR_END__ = .;
     40        __DTOR_LIST__ = .;
     41        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     42        *(.dtors)
     43        LONG(0)
     44        __DTOR_END__ = .;
     45        _etext = ALIGN( 0x10 ) ;
    2846        }
    2947        .data ADDR( .text ) + SIZEOF( .text ):
  • c/src/lib/libbsp/i386/i386ex/startup/linkcmds

    r818c361 rf86ec42  
    8989        _text_start = . ;
    9090        *(.text ) ;
     91        . = ALIGN (16);
     92
     93        *(.eh_fram)
     94        . = ALIGN (16);
     95
     96        /*
     97         * C++ constructors
     98         */
     99        __CTOR_LIST__ = .;
     100        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     101        *(.ctors)
     102        LONG(0)
     103        __CTOR_END__ = .;
     104        __DTOR_LIST__ = .;
     105        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     106        *(.dtors)
     107        LONG(0)
     108        __DTOR_END__ = .;
    91109        _etext = ALIGN( 0x10 );
    92110        }
  • c/src/lib/libbsp/i386/pc386/startup/linkcmds

    r818c361 rf86ec42  
    4040    _text_start = . ;
    4141    *(.text)
     42    . = ALIGN (16);
     43
     44    *(.eh_fram)
     45    . = ALIGN (16);
     46
     47    /*
     48     * C++ constructors
     49     */
     50    __CTOR_LIST__ = .;
     51    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     52    *(.ctors)
     53    LONG(0)
     54    __CTOR_END__ = .;
     55    __DTOR_LIST__ = .;
     56    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     57    *(.dtors)
     58    LONG(0)
     59    __DTOR_END__ = .;
    4260    _etext = ALIGN( 0x10 ) ;
    4361  }
  • c/src/lib/libbsp/i960/cvme961/startup/linkcmds

    r818c361 rf86ec42  
    2626            _text_start = . ;
    2727            *(.text)
     28        . = ALIGN (16);
     29
     30        *(.eh_fram)
     31        . = ALIGN (16);
     32
     33        /*
     34         * C++ constructors
     35         */
     36        __CTOR_LIST__ = .;
     37        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     38        *(.ctors)
     39        LONG(0)
     40        __CTOR_END__ = .;
     41        __DTOR_LIST__ = .;
     42        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     43        *(.dtors)
     44        LONG(0)
     45        __DTOR_END__ = .;
    2846            etext = ALIGN( 0x10 ) ;
    2947/*            _etext = .; -- conflicts */
  • c/src/lib/libbsp/m68k/dmv152/startup/linkcmds

    r818c361 rf86ec42  
    2626        _text_start = . ;
    2727        *(.text)
     28        . = ALIGN (16);
     29
     30        *(.eh_fram)
     31        . = ALIGN (16);
     32
     33        /*
     34         * C++ constructors
     35         */
     36        __CTOR_LIST__ = .;
     37        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     38        *(.ctors)
     39        LONG(0)
     40        __CTOR_END__ = .;
     41        __DTOR_LIST__ = .;
     42        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     43        *(.dtors)
     44        LONG(0)
     45        __DTOR_END__ = .;
    2846        etext = ALIGN( 0x10 ) ;
    2947        _etext = .;
  • c/src/lib/libbsp/m68k/efi332/startup/linkcmds

    r818c361 rf86ec42  
    5050    _text_start = .;
    5151    *(.text)
     52    . = ALIGN (16);
     53    *(.eh_fram)
     54    . = ALIGN (16);
     55
    5256    etext = ALIGN(0x10);
    5357    _etext = .;
  • c/src/lib/libbsp/m68k/efi68k/startup/linkcmds

    r818c361 rf86ec42  
    5858    _text_start = .;
    5959    *(.text)
     60    . = ALIGN (16);
     61    *(.eh_fram)
     62    . = ALIGN (16);
     63
    6064    etext = ALIGN(0x10);
    6165    _etext = .;
  • c/src/lib/libbsp/m68k/gen68302/startup/linkcmds

    r818c361 rf86ec42  
    2828        text_start = . ;
    2929        *(.text)
     30        . = ALIGN (16);
     31
     32        *(.eh_fram)
     33        . = ALIGN (16);
     34
     35        /*
     36         * C++ constructors
     37         */
     38        __CTOR_LIST__ = .;
     39        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     40        *(.ctors)
     41        LONG(0)
     42        __CTOR_END__ = .;
     43        __DTOR_LIST__ = .;
     44        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     45        *(.dtors)
     46        LONG(0)
     47        __DTOR_END__ = .;
    3048        etext = ALIGN( 0x10 ) ;
    3149        }
  • c/src/lib/libbsp/m68k/gen68360/startup/linkcmds

    r818c361 rf86ec42  
    7373                . = ALIGN (16);
    7474
     75                *(.eh_fram)
     76                . = ALIGN (16);
     77
    7578                /*
    7679                 * C++ constructors
  • c/src/lib/libbsp/m68k/idp/startup/linkcmds

    r818c361 rf86ec42  
    2424        _text_start = . ;
    2525        *(.text)
     26        . = ALIGN (16);
     27
     28        *(.eh_fram)
     29        . = ALIGN (16);
     30
     31        /*
     32         * C++ constructors
     33         */
     34        __CTOR_LIST__ = .;
     35        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     36        *(.ctors)
     37        LONG(0)
     38        __CTOR_END__ = .;
     39        __DTOR_LIST__ = .;
     40        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     41        *(.dtors)
     42        LONG(0)
     43        __DTOR_END__ = .;
    2644        etext = ALIGN( 0x10 ) ;
    2745        _etext = .;
  • c/src/lib/libbsp/m68k/mvme136/startup/linkcmds

    r818c361 rf86ec42  
    2626            _text_start = . ;
    2727            *(.text)
     28            . = ALIGN (16);
     29
     30            *(.eh_fram)
     31            . = ALIGN (16);
     32
     33            /*
     34             * C++ constructors
     35             */
     36            __CTOR_LIST__ = .;
     37            LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     38            *(.ctors)
     39            LONG(0)
     40            __CTOR_END__ = .;
     41            __DTOR_LIST__ = .;
     42            LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     43            *(.dtors)
     44            LONG(0)
     45            __DTOR_END__ = .;
    2846            etext = ALIGN( 0x10 ) ;
    2947            _etext = .;
  • c/src/lib/libbsp/m68k/mvme147/startup/linkcmds

    r818c361 rf86ec42  
    3030            _text_start = . ;
    3131            *(.text)
     32            . = ALIGN (16);
     33
     34            *(.eh_fram)
     35            . = ALIGN (16);
     36
     37            /*
     38             * C++ constructors
     39             */
     40            __CTOR_LIST__ = .;
     41            LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     42            *(.ctors)
     43            LONG(0)
     44            __CTOR_END__ = .;
     45            __DTOR_LIST__ = .;
     46            LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     47            *(.dtors)
     48            LONG(0)
     49            __DTOR_END__ = .;
    3250            etext = ALIGN( 0x10 ) ;
    3351            _etext = .;
  • c/src/lib/libbsp/m68k/mvme147s/startup/linkcmds

    r818c361 rf86ec42  
    3030            _text_start = . ;
    3131            *(.text)
     32            . = ALIGN (16);
     33
     34            *(.eh_fram)
     35            . = ALIGN (16);
     36
     37            /*
     38             * C++ constructors
     39             */
     40            __CTOR_LIST__ = .;
     41            LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     42            *(.ctors)
     43            LONG(0)
     44            __CTOR_END__ = .;
     45            __DTOR_LIST__ = .;
     46            LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     47            *(.dtors)
     48            LONG(0)
     49            __DTOR_END__ = .;
    3250            etext = ALIGN( 0x10 ) ;
    3351            _etext = .;
  • c/src/lib/libbsp/m68k/mvme162/startup/linkcmds

    r818c361 rf86ec42  
    3232        text_start = . ;
    3333        *(.text)
     34        . = ALIGN (16);
     35
     36        *(.eh_fram)
     37        . = ALIGN (16);
     38
     39        /*
     40         * C++ constructors
     41         */
     42        __CTOR_LIST__ = .;
     43        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     44        *(.ctors)
     45        LONG(0)
     46        __CTOR_END__ = .;
     47        __DTOR_LIST__ = .;
     48        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     49        *(.dtors)
     50        LONG(0)
     51        __DTOR_END__ = .;
    3452        etext = ALIGN( 0x10 ) ;
    3553        }
  • c/src/lib/libbsp/m68k/ods68302/startup/linkcmds

    r818c361 rf86ec42  
    1212    text_start = .;
    1313    *(.text)
     14    . = ALIGN (16);
     15
     16    *(.eh_fram)
     17    . = ALIGN (16);
     18
    1419    etext = .;
    1520    . = ALIGN(4);
  • c/src/lib/libbsp/no_cpu/no_bsp/startup/linkcmds

    r818c361 rf86ec42  
    2626        _text_start = . ;
    2727        *(.text)
     28        . = ALIGN (16);
     29
     30        *(.eh_fram)
     31        . = ALIGN (16);
     32
     33        /*
     34         * C++ constructors
     35         */
     36        __CTOR_LIST__ = .;
     37        LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     38        *(.ctors)
     39        LONG(0)
     40        __CTOR_END__ = .;
     41        __DTOR_LIST__ = .;
     42        LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     43        *(.dtors)
     44        LONG(0)
     45        __DTOR_END__ = .;
    2846        _etext = ALIGN( 0x10 ) ;
    2947        }
  • c/src/lib/libbsp/sparc/erc32/startup/linkcmds

    r818c361 rf86ec42  
    8181    _text_start = .;
    8282    *(.text)
     83    . = ALIGN (16);
     84
     85    *(.eh_fram)
     86    . = ALIGN (16);
     87
     88    /*
     89     * C++ constructors
     90     */
     91    __CTOR_LIST__ = .;
     92    LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     93    *(.ctors)
     94    LONG(0)
     95    __CTOR_END__ = .;
     96    __DTOR_LIST__ = .;
     97    LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     98    *(.dtors)
     99    LONG(0)
     100    __DTOR_END__ = .;
    83101    etext = ALIGN(0x10);
    84102    _etext = .;
Note: See TracChangeset for help on using the changeset viewer.