Changeset 95cb09e in rtems


Ignore:
Timestamp:
Apr 2, 2014, 4:39:20 PM (6 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Branches:
4.11, master
Children:
cae120e2
Parents:
c6f0a4b7
git-author:
Joel Sherrill <joel.sherrill@…> (04/02/14 16:39:20)
git-committer:
Joel Sherrill <joel.sherrill@…> (04/04/14 14:26:08)
Message:

sparc/shared/.../linkcmds.base: Correct C++ support

Add KEEP() for .eh_frame*, .ctor*, and .dtor*.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/sparc/shared/startup/linkcmds.base

    rc6f0a4b7 r95cb09e  
    6464    . = ALIGN (16);
    6565
    66     *(.eh_frame)
     66    KEEP(*(.eh_frame*))
    6767    . = ALIGN (16);
    6868
     
    8888       end of ctors marker and it must be last */
    8989    KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .ctors))
    90     KEEP (*(SORT(.ctors.*)))
    91     KEEP (*(.ctors))
     90    KEEP (*(SORT(.ctors*)))
    9291    KEEP (*crtbegin.o(.dtors))
    9392    KEEP (*crtbegin?.o(.dtors))
    9493    KEEP (*(EXCLUDE_FILE (*crtend.o *crtend?.o ) .dtors))
    95     KEEP (*(SORT(.dtors.*)))
    96     KEEP (*(.dtors))
     94    KEEP (*(SORT(.dtors*)))
    9795
    9896    _rodata_start = . ;
     
    103101    etext = ALIGN(0x10);
    104102    _etext = .;
    105     KEEP(*(.init))
    106     KEEP(*(.fini))
     103    KEEP(*(.init*))
     104    KEEP(*(.fini*))
    107105    *(.lit)
    108106    *(.shdata)
     
    160158    *(.data*)
    161159    *(.gnu.linkonce.d*)
     160    . = ALIGN(0x10);
    162161    *(.gcc_except_table*)
    163162    . = ALIGN(0x10);
Note: See TracChangeset for help on using the changeset viewer.