Announcement

Collapse
No announcement yet.

*.ld file udpates for SDK V1.2.0R1 with G++ 4.4-94

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

  • *.ld file udpates for SDK V1.2.0R1 with G++ 4.4-94

    Similar to the changes I posted for the XPort-Pro SDK the .ld files for the Matchport-AR (kenny.ld) and the Matchport B/G (chef.ld) need some minor changes. In addition to making the change I posted in the other thread (.eh_frame) you need to make the following changes to both files:

    Code:
    . = ORIGIN(dram_memory);
        .vectors_ram                      : ALIGN(4)  { . += vectors_reserve; } > dram_memory
        .bss                              : ALIGN(4)  {*( .bss )} > dram_memory
    /*  Commented out and replaced from Xport_Pro LD file to fix .vectors error */
    /*  Originals:
    *    .vectors                          : ALIGN(4)  {} > dram_memory
    */
    /*	New Replacements: */
        .vectors                          : ALIGN(4)  {*( .vectors )} > dram_memory
    /*End changes  */
    
        .text                             : ALIGN(4)  {*( .text ) } > dram_memory
        .syscall                          : ALIGN(4)  {} > dram_memory
    /*  Commented out and replaced from Xport_Pro LD file to fix .ro error */
    /*  Originals:
    *    .rodata                           : ALIGN(4)  {} > dram_memory
    *    .rodata.str1.1                    : ALIGN(4)  {} > dram_memory 
    */
    /*	New Replacements: */
        .rodata                           : ALIGN(4)  {*( .rodata ) } > dram_memory
        .rodata.str1.1                    : ALIGN(4)  {*( .rodata.str1.1 )} > dram_memory
    /*End changes  */
    
        .data                             : ALIGN(4)  {*( .data )} > dram_memory
        .stack                            : ALIGN(4)  {. += stack_reserve;} > dram_memory
        .secinfo                          :           {} > dram_memory
        .fixaddr                          :           {} > dram_memory
        .fixtype                          :           {} > dram_memory
        .heap                             : ALIGN(16) {} > dram_memory
        .bss_internal                     : ALIGN(4)  {} > internal_sram
    J
Working...
X