// The following explains what the default Green Hills sections are for:
//
// picbase - base of the text sections, relocatable in -pic mode
// text - text section
// syscall - syscall section, for host I/O under Multi
// fixaddr/fixtype - for PIC/PID fixups
// rodata - read only data
// ROM.data - the ROM image of .data
// ROM.sdata - the ROM image of .sdata
// secinfo - section information section, used by the start-up code
// pidbase - base of the data sections, relocatable in -pid mode
// sdabase - base of the small data area section pointer
// sbss - small BSS (zeroed data) section
// sdata - small data section
// data - non-zeroed writeable data section
// bss - zeroed data section
// heap - the heap, grows upward
// stack - the stack, grows downward

DEFAULTS {
    heap_reserve   = 0x100000
    stack_reserve  = 0x100000
}

-sec
{

    .picbase	0x0 : 		
    .text	:			
    .syscall	:			
    .intercall	:			
    .interfunc  :
    .fixaddr	:
    .fixtype	:
    .rodata	:   
    .ROM.data	ROM(.data) :
    .ROM.sdata	ROM(.sdata) :
    .secinfo	:			
    .pidbase	0x10000000 :		
    .sdabase	:		
    .sbss	:		
    .sdata      :		
    .data	:		
    .bss	:		
    .ghcovfz CLEAR :		
    .ghcovcz CLEAR :		
    .ghcovdz CLEAR :		
    .heap align(16) pad(heap_reserve) :
    .stack align(16) pad(stack_reserve) :
}
 
