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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-stable/] [newlib-1.18.0/] [libgloss/] [m32r/] [eva.ld] - Blame information for rev 816

Go to most recent revision | Details | Compare with Previous | View Log

Line No. Rev Author Line
1 207 jeremybenn
OUTPUT_FORMAT("elf32-m32r", "elf32-m32r",
2
              "elf32-m32r")
3
OUTPUT_ARCH(m32r)
4
ENTRY(_start)
5
/* Do we need any of these for elf?
6
   __DYNAMIC = 0;    */
7
 
8
INPUT(-lgloss)
9
 
10
SECTIONS
11
{
12
  /* Read-only sections, merged into text segment: */
13
  . = 0x208000;
14
  .interp        : { *(.interp)         }
15
  .hash          : { *(.hash)           }
16
  .dynsym        : { *(.dynsym)         }
17
  .dynstr        : { *(.dynstr)         }
18
  .rel.text      : { *(.rel.text)       }
19
  .rela.text     : { *(.rela.text)      }
20
  .rel.data      : { *(.rel.data)       }
21
  .rela.data     : { *(.rela.data)      }
22
  .rel.rodata    : { *(.rel.rodata)     }
23
  .rela.rodata   : { *(.rela.rodata)    }
24
  .rel.got       : { *(.rel.got)        }
25
  .rela.got      : { *(.rela.got)       }
26
  .rel.ctors     : { *(.rel.ctors)      }
27
  .rela.ctors    : { *(.rela.ctors)     }
28
  .rel.dtors     : { *(.rel.dtors)      }
29
  .rela.dtors    : { *(.rela.dtors)     }
30
  .rel.init      : { *(.rel.init)       }
31
  .rela.init     : { *(.rela.init)      }
32
  .rel.fini      : { *(.rel.fini)       }
33
  .rela.fini     : { *(.rela.fini)      }
34
  .rel.bss       : { *(.rel.bss)        }
35
  .rela.bss      : { *(.rela.bss)       }
36
  .rel.plt       : { *(.rel.plt)        }
37
  .rela.plt      : { *(.rela.plt)       }
38
  .init          : { *(.init)           } =0
39
  .plt           : { *(.plt)            }
40
  .text          :
41
  {
42
    *(.text)
43
    /* .gnu.warning sections are handled specially by elf32.em.  */
44
    *(.gnu.warning)
45
    *(.gnu.linkonce.t*)
46
  } =0
47
  _etext = .;
48
  PROVIDE (etext = .);
49
  .fini          : { *(.fini)           } =0
50
  .rodata        : { *(.rodata) *(.gnu.linkonce.r*) }
51
  .rodata1       : { *(.rodata1)        }
52
  /* Adjust the address for the data segment.  We want to adjust up to
53
     the same address within the page on the next page up.  */
54
  . = ALIGN(32) + (ALIGN(8) & (32 - 1));
55
  .data          :
56
  {
57
    *(.data)
58
    *(.gnu.linkonce.d*)
59
    CONSTRUCTORS
60
  }
61
  .data1         : { *(.data1)          }
62
  .ctors         : { *(.ctors)          }
63
  .dtors         : { *(.dtors)          }
64
  .got           : { *(.got.plt) *(.got)}
65
  .dynamic       : { *(.dynamic)        }
66
  /* We want the small data sections together, so single-instruction offsets
67
     can access them all, and initialized data all before uninitialized, so
68
     we can shorten the on-disk segment size.  */
69
  .sdata         : { *(.sdata)          }
70
  _edata  =  .;
71
  PROVIDE (edata = .);
72
  __bss_start = .;
73
  .sbss          : { *(.sbss) *(.scommon) }
74
  .bss           : { *(.dynbss) *(.bss) *(COMMON) }
75
  _end = . ;
76
  PROVIDE (end = .);
77
  /* Stabs debugging sections.  */
78
  .stab 0        : { *(.stab)           }
79
  .stabstr 0     : { *(.stabstr)        }
80
  .stab.excl 0   : { *(.stab.excl)      }
81
  .stab.exclstr 0 : { *(.stab.exclstr)  }
82
  .stab.index 0  : { *(.stab.index)     }
83
  .stab.indexstr 0 : { *(.stab.indexstr) }
84
  .comment 0     : { *(.comment)        }
85
  /* DWARF debug sections.
86
     Symbols in the .debug DWARF section are relative to the beginning of the
87
     section so we begin .debug at 0.  It's not clear yet what needs to happen
88
     for the others.   */
89
  .debug          0 : { *(.debug)         }
90
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
91
  .debug_aranges  0 : { *(.debug_aranges) }
92
  .debug_pubnames 0 : { *(.debug_pubnames) }
93
  .debug_sfnames  0 : { *(.debug_sfnames) }
94
  .line           0 : { *(.line)          }
95
  .stack   0x5ffffc : { _stack = .; *(.stack) }
96
  /* These must appear regardless of  .  */
97
}

powered by: WebSVN 2.1.0

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