Changeset f35abd4 in rtems


Ignore:
Timestamp:
May 4, 1998, 12:40:09 PM (22 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
55951bc
Parents:
f69d686
Message:

Corrected and added sections to link cleanly under powerpc-rtems (ELF).

Location:
c/src/lib/libbsp/powerpc
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/papyrus/startup/linkcmds

    rf69d686 rf35abd4  
    2323   __DYNAMIC = 0;    */
    2424
    25 /* What are these for? */
    26 
    27 __EXCEPT_START__ = 0;
    28 __EXCEPT_END__ = 0;
    29 __SDATA2_START__ = 0;
    30 __SDATA2_END__ = 0;
    31 __SBSS2_START__ = 0;
    32 __SBSS2_END__ = 0;
    33 __FIXUP_START__ = 0;
    34 __FIXUP_END__ = 0;
    35 __GOT2_START__ = 0;
    36 __GOT2_END__ = 0;
    37 __SDATA_START__ = 0;
    38 __SDATA_END__ = 0;
    39 
    40 
    4125SECTIONS
    4226{
     
    5741     etext = ALIGN(0x10);
    5842     _etext = .;
     43
    5944     __CTOR_LIST__ = .;
    6045     LONG((__CTOR_END__ - __CTOR_LIST__) / 4 - 2)
     
    6247     LONG(0)
    6348     __CTOR_END__ = .;
     49
    6450     __DTOR_LIST__ = .;
    6551     LONG((__DTOR_END__ - __DTOR_LIST__) / 4 - 2)
     
    6753     LONG(0)
    6854     __DTOR_END__ = .;
     55
    6956     *(.lit)
    7057     *(.shdata)
     
    7966    *(.data)
    8067    *(.data1)
     68    PROVIDE (__SDATA_START__ = .);
     69    *(.sdata)
    8170  } > RAM
    8271 
     72  PROVIDE (__EXCEPT_START__ = .);
     73  .gcc_except_table   : { *(.gcc_except_table) } >RAM
     74  PROVIDE (__EXCEPT_END__ = .);
    8375  __GOT_START__ = .;
    8476  .got :
     
    8880  } > RAM
    8981  __GOT_END__ = .;
     82
     83  .got1           : { *(.got1)          } >RAM
     84  PROVIDE (__GOT2_START__ = .);
     85  PROVIDE (_GOT2_START_ = .);
     86  .got2           :  { *(.got2)         } >RAM
     87  PROVIDE (__GOT2_END__ = .);
     88  PROVIDE (_GOT2_END_ = .);
     89
     90  PROVIDE (__FIXUP_START__ = .);
     91  PROVIDE (_FIXUP_START_ = .);
     92  .fixup          : { *(.fixup)         } >RAM
     93  PROVIDE (_FIXUP_END_ = .);
     94  PROVIDE (__FIXUP_END__ = .);
    9095 
     96  PROVIDE (__SDATA2_START__ = .);
     97  .sdata2         : { *(.sdata2)        } >RAM
     98  .sbss2          : { *(.sbss2)         } >RAM
     99  PROVIDE (__SBSS2_END__ = .);
     100
     101  .sbss2          : { *(.sbss2)         } >RAM
     102  PROVIDE (__SBSS2_END__ = .);
     103
    91104  __SBSS_START__ = .;
    92105  .bss :
  • c/src/lib/libbsp/powerpc/psim/startup/linkcmds

    rf69d686 rf35abd4  
    109109  .got2           :  { *(.got2)         } >RAM
    110110  PROVIDE (__GOT2_END__ = .);
     111  PROVIDE (_GOT2_END_ = .);
    111112
    112113  PROVIDE (__CTOR_LIST__ = .);
     
    123124  PROVIDE (_FIXUP_END_ = .);
    124125  PROVIDE (__FIXUP_END__ = .);
    125   PROVIDE (_GOT2_END_ = .);
    126126
    127127  PROVIDE (__GOT_START__ = .);
Note: See TracChangeset for help on using the changeset viewer.