Changeset 83ae314 in rtems


Ignore:
Timestamp:
Feb 20, 2003, 9:57:44 PM (18 years ago)
Author:
Joel Sherrill <joel.sherrill@…>
Children:
ef42b5c
Parents:
ff4e9fe
Message:

2003-02-20 Till Straumann <strauman@…>

PR 349/bsps

  • startup/Makefile.am, startup/linkcmds startup/Makefile.am, startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c: Let the powerpc/shared (+derived) BSPs use pagetable support from libcpu.
Location:
c/src/lib/libbsp/powerpc/motorola_powerpc
Files:
3 edited

Legend:

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

    rff4e9fe r83ae314  
     12003-02-20      Till Straumann <strauman@slac.stanford.edu>
     2
     3        PR 349/bsps
     4        * startup/Makefile.am, startup/linkcmds startup/Makefile.am,
     5        startup/bspstart.c, startup/pgtbl_activate.c, startup/pgtbl_setup.c:
     6        Let the powerpc/shared (+derived) BSPs use pagetable support
     7        from libcpu.
     8
    192003-02-20      Till Straumann <strauman@slac.stanford.edu>
    210
  • c/src/lib/libbsp/powerpc/motorola_powerpc/startup/Makefile.am

    rff4e9fe r83ae314  
    77
    88C_FILES = bootcard.c main.c bspstart.c bsppost.c bsplibc.c sbrk.c bspclean.c \
    9     gnatinstallhandler.c
     9    gnatinstallhandler.c pgtbl_setup.c pgtbl_activate.c
    1010C_O_FILES = $(C_FILES:%.c=$(ARCH)/%.$(OBJEXT))
    1111
  • c/src/lib/libbsp/powerpc/motorola_powerpc/startup/linkcmds

    rff4e9fe r83ae314  
    88MEMORY {
    99        VECTORS : ORIGIN = 0x0 ,  LENGTH = 0x3000
    10         CODE : ORIGIN = 0x3000 , LENGTH = 0x200000
     10        CODE : ORIGIN = 0x3000 , LENGTH = 0x400000
    1111}
    1212SECTIONS
     
    7777  .fini           : { _fini = .; KEEP(*(.fini)) } > CODE
    7878
    79   _etext = .;
    80   PROVIDE (etext = .);
    81 
    8279  .rodata         : { *(.rodata*) *(.gnu.linkonce.r*) } > CODE
    8380  .rodata1        : { *(.rodata1) }     > CODE
     
    105102  .eh_frame       : { *.(eh_frame)              } >CODE
    106103
     104  /* NOTE: if the BSP uses page tables, the correctness of
     105   *       '_etext' (and __DATA_START__) is CRUCIAL - otherwise,
     106   *       an invalid mapping may result!!!
     107   */
     108  _etext = .;
     109  PROVIDE (etext = .);
     110
    107111  /* Adjust the address for the data segment.  We want to adjust up to
    108112     the same address within the page on the next page up.  It would
     
    120124     be referenced).  */
    121125  . = ALIGN(0x1000);
    122  .data    :
    123   {
     126 .data ALIGN(0x1000) :
     127  {
     128   /* NOTE: if the BSP uses page tables, the correctness of
     129    *       '__DATA_START__' (and _etext) is CRUCIAL - otherwise,
     130    *       an invalid mapping may result!!!
     131    */
     132        PROVIDE(__DATA_START__ = ABSOLUTE(.) );
    124133    *(.data)
    125134    *(.gnu.linkonce.d*)
Note: See TracChangeset for help on using the changeset viewer.