OpenCores
URL https://opencores.org/ocsvn/openrisc/openrisc/trunk

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [scripttempl/] [avr.sc] - Diff between revs 156 and 816

Go to most recent revision | Only display areas with differences | Details | Blame | View Log

Rev 156 Rev 816
cat <
cat <
OUTPUT_FORMAT("${OUTPUT_FORMAT}","${OUTPUT_FORMAT}","${OUTPUT_FORMAT}")
OUTPUT_FORMAT("${OUTPUT_FORMAT}","${OUTPUT_FORMAT}","${OUTPUT_FORMAT}")
OUTPUT_ARCH(${ARCH})
OUTPUT_ARCH(${ARCH})
MEMORY
MEMORY
{
{
  text   (rx)   : ORIGIN = 0, LENGTH = $TEXT_LENGTH
  text   (rx)   : ORIGIN = 0, LENGTH = $TEXT_LENGTH
  data   (rw!x) : ORIGIN = 0x800060, LENGTH = $DATA_LENGTH
  data   (rw!x) : ORIGIN = 0x800060, LENGTH = $DATA_LENGTH
  eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
  eeprom (rw!x) : ORIGIN = 0x810000, LENGTH = 64K
}
}
SECTIONS
SECTIONS
{
{
  /* Read-only sections, merged into text segment: */
  /* Read-only sections, merged into text segment: */
  ${TEXT_DYNAMIC+${DYNAMIC}}
  ${TEXT_DYNAMIC+${DYNAMIC}}
  .hash        ${RELOCATING-0} : { *(.hash)             }
  .hash        ${RELOCATING-0} : { *(.hash)             }
  .dynsym      ${RELOCATING-0} : { *(.dynsym)           }
  .dynsym      ${RELOCATING-0} : { *(.dynsym)           }
  .dynstr      ${RELOCATING-0} : { *(.dynstr)           }
  .dynstr      ${RELOCATING-0} : { *(.dynstr)           }
  .gnu.version ${RELOCATING-0} : { *(.gnu.version)      }
  .gnu.version ${RELOCATING-0} : { *(.gnu.version)      }
  .gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d)  }
  .gnu.version_d ${RELOCATING-0} : { *(.gnu.version_d)  }
  .gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r)  }
  .gnu.version_r ${RELOCATING-0} : { *(.gnu.version_r)  }
  .rel.init    ${RELOCATING-0} : { *(.rel.init)         }
  .rel.init    ${RELOCATING-0} : { *(.rel.init)         }
  .rela.init   ${RELOCATING-0} : { *(.rela.init)        }
  .rela.init   ${RELOCATING-0} : { *(.rela.init)        }
  .rel.text    ${RELOCATING-0} :
  .rel.text    ${RELOCATING-0} :
    {
    {
      *(.rel.text)
      *(.rel.text)
      ${RELOCATING+*(.rel.text.*)}
      ${RELOCATING+*(.rel.text.*)}
      ${RELOCATING+*(.rel.gnu.linkonce.t*)}
      ${RELOCATING+*(.rel.gnu.linkonce.t*)}
    }
    }
  .rela.text   ${RELOCATING-0} :
  .rela.text   ${RELOCATING-0} :
    {
    {
      *(.rela.text)
      *(.rela.text)
      ${RELOCATING+*(.rela.text.*)}
      ${RELOCATING+*(.rela.text.*)}
      ${RELOCATING+*(.rela.gnu.linkonce.t*)}
      ${RELOCATING+*(.rela.gnu.linkonce.t*)}
    }
    }
  .rel.fini    ${RELOCATING-0} : { *(.rel.fini)         }
  .rel.fini    ${RELOCATING-0} : { *(.rel.fini)         }
  .rela.fini   ${RELOCATING-0} : { *(.rela.fini)        }
  .rela.fini   ${RELOCATING-0} : { *(.rela.fini)        }
  .rel.rodata  ${RELOCATING-0} :
  .rel.rodata  ${RELOCATING-0} :
    {
    {
      *(.rel.rodata)
      *(.rel.rodata)
      ${RELOCATING+*(.rel.rodata.*)}
      ${RELOCATING+*(.rel.rodata.*)}
      ${RELOCATING+*(.rel.gnu.linkonce.r*)}
      ${RELOCATING+*(.rel.gnu.linkonce.r*)}
    }
    }
  .rela.rodata ${RELOCATING-0} :
  .rela.rodata ${RELOCATING-0} :
    {
    {
      *(.rela.rodata)
      *(.rela.rodata)
      ${RELOCATING+*(.rela.rodata.*)}
      ${RELOCATING+*(.rela.rodata.*)}
      ${RELOCATING+*(.rela.gnu.linkonce.r*)}
      ${RELOCATING+*(.rela.gnu.linkonce.r*)}
    }
    }
  .rel.data    ${RELOCATING-0} :
  .rel.data    ${RELOCATING-0} :
    {
    {
      *(.rel.data)
      *(.rel.data)
      ${RELOCATING+*(.rel.data.*)}
      ${RELOCATING+*(.rel.data.*)}
      ${RELOCATING+*(.rel.gnu.linkonce.d*)}
      ${RELOCATING+*(.rel.gnu.linkonce.d*)}
    }
    }
  .rela.data   ${RELOCATING-0} :
  .rela.data   ${RELOCATING-0} :
    {
    {
      *(.rela.data)
      *(.rela.data)
      ${RELOCATING+*(.rela.data.*)}
      ${RELOCATING+*(.rela.data.*)}
      ${RELOCATING+*(.rela.gnu.linkonce.d*)}
      ${RELOCATING+*(.rela.gnu.linkonce.d*)}
    }
    }
  .rel.ctors   ${RELOCATING-0} : { *(.rel.ctors)        }
  .rel.ctors   ${RELOCATING-0} : { *(.rel.ctors)        }
  .rela.ctors  ${RELOCATING-0} : { *(.rela.ctors)       }
  .rela.ctors  ${RELOCATING-0} : { *(.rela.ctors)       }
  .rel.dtors   ${RELOCATING-0} : { *(.rel.dtors)        }
  .rel.dtors   ${RELOCATING-0} : { *(.rel.dtors)        }
  .rela.dtors  ${RELOCATING-0} : { *(.rela.dtors)       }
  .rela.dtors  ${RELOCATING-0} : { *(.rela.dtors)       }
  .rel.got     ${RELOCATING-0} : { *(.rel.got)          }
  .rel.got     ${RELOCATING-0} : { *(.rel.got)          }
  .rela.got    ${RELOCATING-0} : { *(.rela.got)         }
  .rela.got    ${RELOCATING-0} : { *(.rela.got)         }
  .rel.bss     ${RELOCATING-0} : { *(.rel.bss)          }
  .rel.bss     ${RELOCATING-0} : { *(.rel.bss)          }
  .rela.bss    ${RELOCATING-0} : { *(.rela.bss)         }
  .rela.bss    ${RELOCATING-0} : { *(.rela.bss)         }
  .rel.plt     ${RELOCATING-0} : { *(.rel.plt)          }
  .rel.plt     ${RELOCATING-0} : { *(.rel.plt)          }
  .rela.plt    ${RELOCATING-0} : { *(.rela.plt)         }
  .rela.plt    ${RELOCATING-0} : { *(.rela.plt)         }
  /* Internal text space or external memory.  */
  /* Internal text space or external memory.  */
  .text :
  .text :
  {
  {
    *(.vectors)
    *(.vectors)
    KEEP(*(.vectors))
    KEEP(*(.vectors))
    /* For data that needs to reside in the lower 64k of progmem.  */
    /* For data that needs to reside in the lower 64k of progmem.  */
    *(.progmem.gcc*)
    *(.progmem.gcc*)
    *(.progmem*)
    *(.progmem*)
    ${RELOCATING+. = ALIGN(2);}
    ${RELOCATING+. = ALIGN(2);}
    ${CONSTRUCTING+ __trampolines_start = . ; }
    ${CONSTRUCTING+ __trampolines_start = . ; }
    /* The jump trampolines for the 16-bit limited relocs will reside here.  */
    /* The jump trampolines for the 16-bit limited relocs will reside here.  */
    *(.trampolines)
    *(.trampolines)
    *(.trampolines*)
    *(.trampolines*)
    ${CONSTRUCTING+ __trampolines_end = . ; }
    ${CONSTRUCTING+ __trampolines_end = . ; }
    /* For future tablejump instruction arrays for 3 byte pc devices.
    /* For future tablejump instruction arrays for 3 byte pc devices.
       We don't relax jump/call instructions within these sections.  */
       We don't relax jump/call instructions within these sections.  */
    *(.jumptables)
    *(.jumptables)
    *(.jumptables*)
    *(.jumptables*)
    /* For code that needs to reside in the lower 128k progmem.  */
    /* For code that needs to reside in the lower 128k progmem.  */
    *(.lowtext)
    *(.lowtext)
    *(.lowtext*)
    *(.lowtext*)
    ${CONSTRUCTING+ __ctors_start = . ; }
    ${CONSTRUCTING+ __ctors_start = . ; }
    ${CONSTRUCTING+ *(.ctors) }
    ${CONSTRUCTING+ *(.ctors) }
    ${CONSTRUCTING+ __ctors_end = . ; }
    ${CONSTRUCTING+ __ctors_end = . ; }
    ${CONSTRUCTING+ __dtors_start = . ; }
    ${CONSTRUCTING+ __dtors_start = . ; }
    ${CONSTRUCTING+ *(.dtors) }
    ${CONSTRUCTING+ *(.dtors) }
    ${CONSTRUCTING+ __dtors_end = . ; }
    ${CONSTRUCTING+ __dtors_end = . ; }
    KEEP(SORT(*)(.ctors))
    KEEP(SORT(*)(.ctors))
    KEEP(SORT(*)(.dtors))
    KEEP(SORT(*)(.dtors))
    /* From this point on, we don't bother about wether the insns are
    /* From this point on, we don't bother about wether the insns are
       below or above the 16 bits boundary.  */
       below or above the 16 bits boundary.  */
    *(.init0)  /* Start here after reset.  */
    *(.init0)  /* Start here after reset.  */
    KEEP (*(.init0))
    KEEP (*(.init0))
    *(.init1)
    *(.init1)
    KEEP (*(.init1))
    KEEP (*(.init1))
    *(.init2)  /* Clear __zero_reg__, set up stack pointer.  */
    *(.init2)  /* Clear __zero_reg__, set up stack pointer.  */
    KEEP (*(.init2))
    KEEP (*(.init2))
    *(.init3)
    *(.init3)
    KEEP (*(.init3))
    KEEP (*(.init3))
    *(.init4)  /* Initialize data and BSS.  */
    *(.init4)  /* Initialize data and BSS.  */
    KEEP (*(.init4))
    KEEP (*(.init4))
    *(.init5)
    *(.init5)
    KEEP (*(.init5))
    KEEP (*(.init5))
    *(.init6)  /* C++ constructors.  */
    *(.init6)  /* C++ constructors.  */
    KEEP (*(.init6))
    KEEP (*(.init6))
    *(.init7)
    *(.init7)
    KEEP (*(.init7))
    KEEP (*(.init7))
    *(.init8)
    *(.init8)
    KEEP (*(.init8))
    KEEP (*(.init8))
    *(.init9)  /* Call main().  */
    *(.init9)  /* Call main().  */
    KEEP (*(.init9))
    KEEP (*(.init9))
    *(.text)
    *(.text)
    ${RELOCATING+. = ALIGN(2);}
    ${RELOCATING+. = ALIGN(2);}
    *(.text.*)
    *(.text.*)
    ${RELOCATING+. = ALIGN(2);}
    ${RELOCATING+. = ALIGN(2);}
    *(.fini9)  /* _exit() starts here.  */
    *(.fini9)  /* _exit() starts here.  */
    KEEP (*(.fini9))
    KEEP (*(.fini9))
    *(.fini8)
    *(.fini8)
    KEEP (*(.fini8))
    KEEP (*(.fini8))
    *(.fini7)
    *(.fini7)
    KEEP (*(.fini7))
    KEEP (*(.fini7))
    *(.fini6)  /* C++ destructors.  */
    *(.fini6)  /* C++ destructors.  */
    KEEP (*(.fini6))
    KEEP (*(.fini6))
    *(.fini5)
    *(.fini5)
    KEEP (*(.fini5))
    KEEP (*(.fini5))
    *(.fini4)
    *(.fini4)
    KEEP (*(.fini4))
    KEEP (*(.fini4))
    *(.fini3)
    *(.fini3)
    KEEP (*(.fini3))
    KEEP (*(.fini3))
    *(.fini2)
    *(.fini2)
    KEEP (*(.fini2))
    KEEP (*(.fini2))
    *(.fini1)
    *(.fini1)
    KEEP (*(.fini1))
    KEEP (*(.fini1))
    *(.fini0)  /* Infinite loop after program termination.  */
    *(.fini0)  /* Infinite loop after program termination.  */
    KEEP (*(.fini0))
    KEEP (*(.fini0))
    ${RELOCATING+ _etext = . ; }
    ${RELOCATING+ _etext = . ; }
  } ${RELOCATING+ > text}
  } ${RELOCATING+ > text}
  .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
  .data ${RELOCATING-0} : ${RELOCATING+AT (ADDR (.text) + SIZEOF (.text))}
  {
  {
    ${RELOCATING+ PROVIDE (__data_start = .) ; }
    ${RELOCATING+ PROVIDE (__data_start = .) ; }
    *(.data)
    *(.data)
    *(.data*)
    *(.data*)
    *(.rodata)  /* We need to include .rodata here if gcc is used */
    *(.rodata)  /* We need to include .rodata here if gcc is used */
    *(.rodata*) /* with -fdata-sections.  */
    *(.rodata*) /* with -fdata-sections.  */
    *(.gnu.linkonce.d*)
    *(.gnu.linkonce.d*)
    ${RELOCATING+. = ALIGN(2);}
    ${RELOCATING+. = ALIGN(2);}
    ${RELOCATING+ _edata = . ; }
    ${RELOCATING+ _edata = . ; }
    ${RELOCATING+ PROVIDE (__data_end = .) ; }
    ${RELOCATING+ PROVIDE (__data_end = .) ; }
  } ${RELOCATING+ > data}
  } ${RELOCATING+ > data}
  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
  .bss ${RELOCATING+ SIZEOF(.data) + ADDR(.data)} :
  {
  {
    ${RELOCATING+ PROVIDE (__bss_start = .) ; }
    ${RELOCATING+ PROVIDE (__bss_start = .) ; }
    *(.bss)
    *(.bss)
    *(.bss*)
    *(.bss*)
    *(COMMON)
    *(COMMON)
    ${RELOCATING+ PROVIDE (__bss_end = .) ; }
    ${RELOCATING+ PROVIDE (__bss_end = .) ; }
  } ${RELOCATING+ > data}
  } ${RELOCATING+ > data}
  ${RELOCATING+ __data_load_start = LOADADDR(.data); }
  ${RELOCATING+ __data_load_start = LOADADDR(.data); }
  ${RELOCATING+ __data_load_end = __data_load_start + SIZEOF(.data); }
  ${RELOCATING+ __data_load_end = __data_load_start + SIZEOF(.data); }
  /* Global data not cleared after reset.  */
  /* Global data not cleared after reset.  */
  .noinit ${RELOCATING+ SIZEOF(.bss) + ADDR(.bss)} :
  .noinit ${RELOCATING+ SIZEOF(.bss) + ADDR(.bss)} :
  {
  {
    ${RELOCATING+ PROVIDE (__noinit_start = .) ; }
    ${RELOCATING+ PROVIDE (__noinit_start = .) ; }
    *(.noinit*)
    *(.noinit*)
    ${RELOCATING+ PROVIDE (__noinit_end = .) ; }
    ${RELOCATING+ PROVIDE (__noinit_end = .) ; }
    ${RELOCATING+ _end = . ;  }
    ${RELOCATING+ _end = . ;  }
    ${RELOCATING+ PROVIDE (__heap_start = .) ; }
    ${RELOCATING+ PROVIDE (__heap_start = .) ; }
  } ${RELOCATING+ > data}
  } ${RELOCATING+ > data}
  .eeprom ${RELOCATING-0}:
  .eeprom ${RELOCATING-0}:
  {
  {
    *(.eeprom*)
    *(.eeprom*)
    ${RELOCATING+ __eeprom_end = . ; }
    ${RELOCATING+ __eeprom_end = . ; }
  } ${RELOCATING+ > eeprom}
  } ${RELOCATING+ > eeprom}
  /* Stabs debugging sections.  */
  /* Stabs debugging sections.  */
  .stab 0 : { *(.stab) }
  .stab 0 : { *(.stab) }
  .stabstr 0 : { *(.stabstr) }
  .stabstr 0 : { *(.stabstr) }
  .stab.excl 0 : { *(.stab.excl) }
  .stab.excl 0 : { *(.stab.excl) }
  .stab.exclstr 0 : { *(.stab.exclstr) }
  .stab.exclstr 0 : { *(.stab.exclstr) }
  .stab.index 0 : { *(.stab.index) }
  .stab.index 0 : { *(.stab.index) }
  .stab.indexstr 0 : { *(.stab.indexstr) }
  .stab.indexstr 0 : { *(.stab.indexstr) }
  .comment 0 : { *(.comment) }
  .comment 0 : { *(.comment) }
  /* DWARF debug sections.
  /* DWARF debug sections.
     Symbols in the DWARF debugging sections are relative to the beginning
     Symbols in the DWARF debugging sections are relative to the beginning
     of the section so we begin them at 0.  */
     of the section so we begin them at 0.  */
  /* DWARF 1 */
  /* DWARF 1 */
  .debug          0 : { *(.debug) }
  .debug          0 : { *(.debug) }
  .line           0 : { *(.line) }
  .line           0 : { *(.line) }
  /* GNU DWARF 1 extensions */
  /* GNU DWARF 1 extensions */
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  .debug_sfnames  0 : { *(.debug_sfnames) }
  /* DWARF 1.1 and DWARF 2 */
  /* DWARF 1.1 and DWARF 2 */
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_aranges  0 : { *(.debug_aranges) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  .debug_pubnames 0 : { *(.debug_pubnames) }
  /* DWARF 2 */
  /* DWARF 2 */
  .debug_info     0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
  .debug_info     0 : { *(.debug_info) *(.gnu.linkonce.wi.*) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_abbrev   0 : { *(.debug_abbrev) }
  .debug_line     0 : { *(.debug_line) }
  .debug_line     0 : { *(.debug_line) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_frame    0 : { *(.debug_frame) }
  .debug_str      0 : { *(.debug_str) }
  .debug_str      0 : { *(.debug_str) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_loc      0 : { *(.debug_loc) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
  .debug_macinfo  0 : { *(.debug_macinfo) }
}
}
EOF
EOF
 
 

powered by: WebSVN 2.1.0

© copyright 1999-2024 OpenCores.org, equivalent to Oliscience, all rights reserved. OpenCores®, registered trademark.