| Last change
                  on this file was
                  138,
                  checked in by rosiere, 15 years ago | 
        
          | 
1) add counters_t type for interface2) fix in check load in load_store_unit
 3) add parameters (but not yet implemented)
 4) change environment and add script (distcc_env.sh ...)
 5) add warning if an unser change rename flag with l.mtspr instruction
 6) ...
 
 | 
        
          | 
              
                  Property svn:keywords set to
                  Id | 
        | File size:
            1.4 KB | 
      
      
        
  | Line |  | 
|---|
| 1 | ENTRY(_start) | 
|---|
| 2 | OUTPUT_ARCH(or32) | 
|---|
| 3 | /* | 
|---|
| 4 | __DYNAMIC  =  0; | 
|---|
| 5 | */ | 
|---|
| 6 |  | 
|---|
| 7 | /* | 
|---|
| 8 | * Memory Mapping : cf ${MORPHEO_TOPLEVEL}/IPs/systemC/shared/mapping_memory.h | 
|---|
| 9 | */ | 
|---|
| 10 |  | 
|---|
| 11 | MEMORY | 
|---|
| 12 | { | 
|---|
| 13 | iram     : ORIGIN = 0x00000000, LENGTH = 0x01000000 | 
|---|
| 14 | dram     : ORIGIN = 0x10000000, LENGTH = 0x05000000 | 
|---|
| 15 | dram_unc : ORIGIN = 0x80000000, LENGTH = 0x01000000 | 
|---|
| 16 | } | 
|---|
| 17 |  | 
|---|
| 18 | /* | 
|---|
| 19 | * Allocate the stack to be at the top of memory, since the stack | 
|---|
| 20 | * grows down. | 
|---|
| 21 | */ | 
|---|
| 22 | PROVIDE (_stack       = 0x45000000 - 4); | 
|---|
| 23 | PROVIDE (_stack_alloc = 0x00500000    ); | 
|---|
| 24 | PROVIDE (_tty         = 0xa0000000    ); | 
|---|
| 25 | PROVIDE (_ramlock     = 0xb0000000    ); | 
|---|
| 26 | PROVIDE (_sim2os      = 0xc0000000    ); | 
|---|
| 27 |  | 
|---|
| 28 | SECTIONS | 
|---|
| 29 | { | 
|---|
| 30 | /* | 
|---|
| 31 | * Code | 
|---|
| 32 | */ | 
|---|
| 33 |  | 
|---|
| 34 | .text : | 
|---|
| 35 | { | 
|---|
| 36 | *(.text) | 
|---|
| 37 | } > iram | 
|---|
| 38 |  | 
|---|
| 39 | /* | 
|---|
| 40 | * Data | 
|---|
| 41 | */ | 
|---|
| 42 |  | 
|---|
| 43 | .rodata : | 
|---|
| 44 | { | 
|---|
| 45 | *(.rodata); | 
|---|
| 46 | *(.rodata.*); | 
|---|
| 47 | } > dram | 
|---|
| 48 |  | 
|---|
| 49 | .data : | 
|---|
| 50 | { | 
|---|
| 51 | sdata   =  .; | 
|---|
| 52 | _sdata  =  .; | 
|---|
| 53 | *(.data) | 
|---|
| 54 | edata   =  .; | 
|---|
| 55 | _edata  =  .; | 
|---|
| 56 | } > dram | 
|---|
| 57 | .bss SIZEOF(.data) + ADDR(.data) : | 
|---|
| 58 | { | 
|---|
| 59 | sbss         = . ; | 
|---|
| 60 | _sbss        = . ; | 
|---|
| 61 | __bss_start  = ALIGN(0x8); | 
|---|
| 62 | ___bss_start = ALIGN(0x8); | 
|---|
| 63 | *(.bss) | 
|---|
| 64 | *(COMMON) | 
|---|
| 65 | end          = ALIGN(0x8); | 
|---|
| 66 | _end         = ALIGN(0x8); | 
|---|
| 67 | __end        = ALIGN(0x8); | 
|---|
| 68 | ebss         = .; | 
|---|
| 69 | _ebss        = .; | 
|---|
| 70 | } | 
|---|
| 71 | /* | 
|---|
| 72 | .stab  0 (NOLOAD) : | 
|---|
| 73 | { | 
|---|
| 74 | [ .stab ] | 
|---|
| 75 | } | 
|---|
| 76 |  | 
|---|
| 77 | .stabstr  0 (NOLOAD) : | 
|---|
| 78 | { | 
|---|
| 79 | [ .stabstr ] | 
|---|
| 80 | } | 
|---|
| 81 | */ | 
|---|
| 82 |  | 
|---|
| 83 |  | 
|---|
| 84 | /* | 
|---|
| 85 | * Suppression de la section comment | 
|---|
| 86 | */ | 
|---|
| 87 |  | 
|---|
| 88 | /DISCARD/ : | 
|---|
| 89 | { | 
|---|
| 90 | *(.comment) | 
|---|
| 91 | *(.gnu.*) | 
|---|
| 92 | *(.stab*) | 
|---|
| 93 | } | 
|---|
| 94 | } | 
|---|
| 95 |  | 
|---|
       
      
      Note: See 
TracBrowser
        for help on using the repository browser.