/*<COPYRIGHT>*/
/******************************************************************************
*                                                                             *
*   CUMMINS INC.                                                              *
*   COPYRIGHT 2011 CUMMINS INC.  ALL RIGHTS RESERVED                          *
*   This program may not be reproduced, in whole or in part in any form       *
*   or by any means whatsoever without the written permission of:             *
*       CUMMINS INC.                                                          *
*       P.O. Box 3005                                                         *
*       Columbus, IN 47202-3005                                               *
*                                                                             *
*   Revision History: Please use ClearCase to get the revision history.       *
*                                                                             *
******************************************************************************/
/*</COPYRIGHT>*/

MEMORY
{
   /* Program Memory */
   PAGE 0: FLASH:                  origin=0x300000            length=0x03FF80
   PAGE 0: RESET:                  origin=0x33FFF6            length=0x000002
   
   /* Data Memory */
   PAGE 1: STACK:                  origin=0x000000            length=0x000800	
   PAGE 1: RAM:                    origin=0x008000            length=0x008000
   
} 

SECTIONS
{	
   .stack:     {*(.stack)} > STACK PAGE = 1 START(_STACK_START_MARKER) END(_STACK_END_MARKER)
   .ebss:      {*(.ebss)}  > INTERNAL_RAM PAGE = 1
   .reset:     {*(.reset)} > RESET PAGE = 0
   
   .sectionA:  LOAD = INTERNAL_FLASH PAGE = 0, RUN = INTERNAL_RAM PAGE = 1
    		   {
                  . = ALIGN(4);
                  rts2800_fpu32.lib <sin.obj> (.text)  
                  . = ALIGN(4);              
               }
   
   .sectionB:	   LOAD = INTERNAL_FLASH PAGE = 0
   			   {
   					*(.cinit)
   					*(.text)
   			   }
      
}

