Changeset 6c053cb in rtems


Ignore:
Timestamp:
Jul 10, 2007, 9:02:30 PM (12 years ago)
Author:
Thomas Doerfler <Thomas.Doerfler@…>
Branches:
4.10, 4.11, 4.8, 4.9, master
Children:
884e4bc
Parents:
29e86b62
Message:

fixed some c++ problems

Location:
c/src/lib/libbsp/powerpc/gen5200
Files:
6 edited

Legend:

Unmodified
Added
Removed
  • c/src/lib/libbsp/powerpc/gen5200/ChangeLog

    r29e86b62 r6c053cb  
    112007-07-10      Thomas Doerfler <Thomas.Doerfler@embedded-brains.de>
    22
    3         * bsp_specs, startup/linkcmds: add c++ support again
     3        * bsp_specs, startup/linkcmds, startup/linkcmds.pm520:
     4        add c++ support again
    45        * preinstall.am: some fixes
    56
  • c/src/lib/libbsp/powerpc/gen5200/Makefile.am

    r29e86b62 r6c053cb  
    2929        $(CPPASCOMPILE) -o $@ -c $<
    3030project_lib_DATA = start.$(OBJEXT)
     31
     32EXTRA_DIST += ../../powerpc/shared/start/rtems_crti.S
     33rtems_crti.$(OBJEXT): ../../powerpc/shared/start/rtems_crti.S
     34        $(CPPASCOMPILE) -o $@ -c $<
     35project_lib_DATA += rtems_crti.$(OBJEXT)
    3136
    3237dist_project_lib_DATA += startup/linkcmds
     
    114119    ../../shared/bsppost.c startup/bspstart.c ../../shared/bootcard.c \
    115120    ../../shared/sbrk.c ../shared/uboot_dump_bdinfo.c \
    116     ../../shared/gnatinstallhandler.c startup/cpuinit.c start/start.S
     121    ../../shared/gnatinstallhandler.c startup/cpuinit.c
    117122startup_rel_CPPFLAGS = $(AM_CPPFLAGS)
    118123startup_rel_LDFLAGS = $(RTEMS_RELLDFLAGS)
  • c/src/lib/libbsp/powerpc/gen5200/bsp_specs

    r29e86b62 r6c053cb  
    44
    55*startfile:
    6 %{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s  crtbegin.o%s}}
     6%{!qrtems: %(old_startfile)} %{!nostdlib: %{qrtems:  ecrti%O%s rtems_crti%O%s  crtbegin.o%s  \
     7%{!qrtems_debug: start.o%s} \
     8%{qrtems_debug: start_g.o%s}}}
    79
    810*endfile:
  • c/src/lib/libbsp/powerpc/gen5200/preinstall.am

    r29e86b62 r6c053cb  
    7878TMPINSTALL_FILES += $(PROJECT_LIB)/start.$(OBJEXT)
    7979
     80$(PROJECT_LIB)/rtems_crti.$(OBJEXT): rtems_crti.$(OBJEXT) $(PROJECT_LIB)/$(dirstamp)
     81        $(INSTALL_DATA) $< $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     82TMPINSTALL_FILES += $(PROJECT_LIB)/rtems_crti.$(OBJEXT)
     83
    8084$(PROJECT_LIB)/linkcmds: startup/linkcmds $(PROJECT_LIB)/$(dirstamp)
    8185        $(INSTALL_DATA) $< $(PROJECT_LIB)/linkcmds
  • c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds

    r29e86b62 r6c053cb  
    167167    } > ram
    168168
    169   .jcr : { KEEP (*(.jcr)) } >RAM
     169  .jcr : { KEEP (*(.jcr)) } >ram
    170170
    171171    .rel.dyn : {
  • c/src/lib/libbsp/powerpc/gen5200/startup/linkcmds.pm520

    r29e86b62 r6c053cb  
    6060    *(.text*)
    6161
    62 
    6362    *(.rodata*)
    6463    *(.rodata1)
     
    137136    _erodata = .;
    138137
    139 
     138    PROVIDE (__EXCEPT_START__ = .);
     139    *(.gcc_except_table)
     140    PROVIDE (__EXCEPT_END__ = .);
     141    __GOT_START__ = .;
     142    s.got = .;
     143    *(.got.plt)
     144    *(.got)
     145    *(.got1)
     146    PROVIDE (__GOT2_START__ = .);
     147    PROVIDE (_GOT2_START_ = .);
     148    *(.got2)
     149    PROVIDE (__GOT2_END__ = .);
     150    PROVIDE (_GOT2_END_ = .);
     151   
     152    PROVIDE (__FIXUP_START__ = .);
     153    PROVIDE (_FIXUP_START_ = .);
     154    *(.fixup)
     155    PROVIDE (_FIXUP_END_ = .);
     156    PROVIDE (__FIXUP_END__ = .);
     157   
    140158    /* Various possible names for the end of the .text section */
    141159    etext = ALIGN(0x10);
     
    148166    } > ram
    149167
    150        
    151     PROVIDE (__EXCEPT_START__ = .);
    152     .gcc_except_table   : { *(.gcc_except_table) } >ram
    153     PROVIDE (__EXCEPT_END__ = .);
    154     __GOT_START__ = .;
    155     .got :
    156     {
    157       s.got = .;
    158       *(.got.plt) *(.got)
    159     } > ram
    160     __GOT_END__ = .;
    161        
    162     .got1                 : { *(.got1)          } >ram
    163     PROVIDE (__GOT2_START__ = .);
    164     PROVIDE (_GOT2_START_ = .);
    165     .got2                 :  { *(.got2)         } >ram
    166     PROVIDE (__GOT2_END__ = .);
    167     PROVIDE (_GOT2_END_ = .);
    168    
    169     PROVIDE (__FIXUP_START__ = .);
    170     PROVIDE (_FIXUP_START_ = .);
    171     .fixup        : { *(.fixup)         } >ram
    172     PROVIDE (_FIXUP_END_ = .);
    173     PROVIDE (__FIXUP_END__ = .);
    174  
     168  .jcr : { KEEP (*(.jcr)) } >ram
     169
    175170    .rel.dyn : {
    176171      *(.rel.init)
     
    212207
    213208    PROVIDE (__SDATA2_START__ = .);
    214     .sdata2       : { *(.sdata2) *(.gnu.linkonce.s2.*)  } >ram
    215     .sbss2        : { *(.sbss2) *(.gnu.linkonce.sb2.*)  } >ram
     209  .sdata2         : { *(.sdata2) *(.gnu.linkonce.s2.*)  } >ram
     210  .sbss2          : { *(.sbss2) *(.gnu.linkonce.sb2.*)  } >ram
    216211    PROVIDE (__SBSS2_END__ = .);
    217212       
     
    219214    PROVIDE (__SBSS2_END__ = .);
    220215       
    221     __SBSS_START__ = .;
    222     .bss :
    223     {
    224       bss.start = .;
    225       *(.bss .bss* .gnu.linkonce.b*)
    226       *(.sbss*) *(COMMON)
    227       . = ALIGN(4);
    228       bss.end = .;
    229     } > ram
    230     __SBSS_END__ = .;
    231 
    232 
    233 
    234 
    235 
    236216    /* R/W Data */
    237217    .data ( . ) :
     
    242222
    243223      *(.data)
    244       *(.data.rel.*)
    245224      *(.data1)
    246225      *(.data.* .gnu.linkonce.d.*)
     
    251230    } > ram
    252231
    253     data.size = data.end - data.start;
    254     bss.size = bss.end - bss.start;
    255     text.size = text.end - text.start;
     232    __SBSS_START__ = .;
     233    .bss :
     234    {
     235      bss.start = .;
     236      *(.bss .bss* .gnu.linkonce.b*)
     237      *(.sbss*) *(COMMON)
     238      . = ALIGN(4);
     239      bss.end = .;
     240    } > ram
     241    __SBSS_END__ = .;
    256242
    257243    PROVIDE(_bss_start   = ADDR(.bss));
     
    276262    intrStack = .;
    277263    PROVIDE(intrStackPtr = intrStack);
     264
    278265
    279266
Note: See TracChangeset for help on using the changeset viewer.