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

Subversion Repositories openrisc

[/] [openrisc/] [trunk/] [gnu-old/] [binutils-2.18.50/] [ld/] [testsuite/] [ld-elfvsb/] [elf-offset.ld] - Blame information for rev 816

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 38 julius
SECTIONS
2
{
3
  /* Read-only sections, merged into text segment: */
4
  . = 0x100000;
5
  .hash          : { *(.hash)           }
6
  .dynsym        : { *(.dynsym)         }
7
  .dynstr        : { *(.dynstr)         }
8
  .gnu.version   : { *(.gnu.version)    }
9
  .gnu.version_d   : { *(.gnu.version_d)        }
10
  .gnu.version_r   : { *(.gnu.version_r)        }
11
  .rel.text      :
12
    {
13
      *(.rel.text)
14
      *(.rel.text.*)
15
      *(.rel.gnu.linkonce.t*)
16
    }
17
  .rela.text     :
18
    {
19
      *(.rela.text)
20
      *(.rela.text.*)
21
      *(.rela.gnu.linkonce.t*)
22
    }
23
  .rel.data      :
24
    {
25
      *(.rel.data)
26
      *(.rel.data.*)
27
      *(.rel.gnu.linkonce.d*)
28
    }
29
  .rela.data     :
30
    {
31
      *(.rela.data)
32
      *(.rela.data.*)
33
      *(.rela.gnu.linkonce.d*)
34
    }
35
  .rel.rodata    :
36
    {
37
      *(.rel.rodata)
38
      *(.rel.rodata.*)
39
      *(.rel.gnu.linkonce.r*)
40
    }
41
  .rela.rodata   :
42
    {
43
      *(.rela.rodata)
44
      *(.rela.rodata.*)
45
      *(.rela.gnu.linkonce.r*)
46
    }
47
  .rel.got       : { *(.rel.got)                }
48
  .rela.got      : { *(.rela.got)               }
49
  .rel.toc       : { *(.rel.toc)                }
50
  .rela.toc      : { *(.rela.toc)               }
51
  .rel.ctors     : { *(.rel.ctors)      }
52
  .rela.ctors    : { *(.rela.ctors)     }
53
  .rel.dtors     : { *(.rel.dtors)      }
54
  .rela.dtors    : { *(.rela.dtors)     }
55
  .rel.init      : { *(.rel.init)       }
56
  .rela.init     : { *(.rela.init)      }
57
  .rel.fini      : { *(.rel.fini)       }
58
  .rela.fini     : { *(.rela.fini)      }
59
  .rel.bss       : { *(.rel.bss)                }
60
  .rela.bss      : { *(.rela.bss)               }
61
  .rel.plt       : { *(.rel.plt)                }
62
  .rela.plt      : { *(.rela.plt)               }
63
  .rel.eh_frame  : { *(.rel.eh_frame)           }
64
  .rela.eh_frame : { *(.rela.eh_frame)          }
65
  .init          : { KEEP (*(.init))    }
66
  .plt      : { *(.plt) }
67
  .text      :
68
  {
69
    *(.text)
70
    *(.text.*)
71
    *(.stub)
72
    /* .gnu.warning sections are handled specially by elf32.em.  */
73
    *(.gnu.warning)
74
    *(.gnu.linkonce.t*)
75
  }
76
  _etext = .;
77
  PROVIDE (etext = .);
78
  .fini      : { KEEP (*(.fini))                } =0x9090
79
  .rodata    :
80
  {
81
    *(.rodata)
82
    *(.rodata.*)
83
    *(.gnu.linkonce.r*)
84
  }
85
  .rodata1   : { *(.rodata1) }
86
  /* Adjust the address for the data segment.  We want to adjust up to
87
     the same address within the page on the next page up.  */
88
  . = ALIGN(0x1000) + (. & (0x1000 - 1));
89
  .data    :
90
  {
91
    *(.data)
92
    *(.data.*)
93
    *(.gnu.linkonce.d*)
94
    SORT(CONSTRUCTORS)
95
  }
96
  .data1   : { *(.data1) }
97
  .ctors         :
98
  {
99
    /* gcc uses crtbegin.o to find the start of the constructors, so
100
       we make sure it is first.  Because this is a wildcard, it
101
       doesn't matter if the user does not actually link against
102
       crtbegin.o; the linker won't look for a file to match a
103
       wildcard.  The wildcard also means that it doesn't matter which
104
       directory crtbegin.o is in.  */
105
    KEEP (*crtbegin.o(.ctors))
106
    KEEP (*(SORT(.ctors.*)))
107
    KEEP (*(.ctors))
108
  }
109
  .dtors         :
110
  {
111
    KEEP (*crtbegin.o(.dtors))
112
    KEEP (*(SORT(.dtors.*)))
113
    KEEP (*(.dtors))
114
  }
115
  .got           : { *(.got.plt) *(.got) }
116
  .toc           : { *(.toc) }
117
  .dynamic       : { *(.dynamic) }
118
  /* We want the small data sections together, so single-instruction offsets
119
     can access them all, and initialized data all before uninitialized, so
120
     we can shorten the on-disk segment size.  */
121
  .sdata     : { *(.sdata) *(.sdata.*) }
122
  _edata  =  .;
123
  PROVIDE (edata = .);
124
  __bss_start = .;
125
  .sbss      : { *(.sbss) *(.scommon) }
126
  .bss       :
127
  {
128
   *(.dynbss)
129
   *(.bss)
130
   *(COMMON)
131
   /* Align here to ensure that the .bss section occupies space up to
132
      _end.  Align after .bss to ensure correct alignment even if the
133
      .bss section disappears because there are no input sections.  */
134
   . = ALIGN(32 / 8);
135
  }
136
  . = ALIGN(32 / 8);
137
  _end = . ;
138
  PROVIDE (end = .);
139
  /* Stabs debugging sections.  */
140
  .stab 0 : { *(.stab) }
141
  .stabstr 0 : { *(.stabstr) }
142
  .stab.excl 0 : { *(.stab.excl) }
143
  .stab.exclstr 0 : { *(.stab.exclstr) }
144
  .stab.index 0 : { *(.stab.index) }
145
  .stab.indexstr 0 : { *(.stab.indexstr) }
146
  .comment 0 : { *(.comment) }
147
  /* DWARF debug sections.
148
     Symbols in the DWARF debugging sections are relative to the beginning
149
     of the section so we begin them at 0.  */
150
  /* DWARF 1 */
151
  .debug          0 : { *(.debug) }
152
  .line           0 : { *(.line) }
153
  /* GNU DWARF 1 extensions */
154
  .debug_srcinfo  0 : { *(.debug_srcinfo) }
155
  .debug_sfnames  0 : { *(.debug_sfnames) }
156
  /* DWARF 1.1 and DWARF 2 */
157
  .debug_aranges  0 : { *(.debug_aranges) }
158
  .debug_pubnames 0 : { *(.debug_pubnames) }
159
  /* DWARF 2 */
160
  .debug_info     0 : { *(.debug_info) }
161
  .debug_abbrev   0 : { *(.debug_abbrev) }
162
  .debug_line     0 : { *(.debug_line) }
163
  .debug_frame    0 : { *(.debug_frame) }
164
  .debug_str      0 : { *(.debug_str) }
165
  .debug_loc      0 : { *(.debug_loc) }
166
  .debug_macinfo  0 : { *(.debug_macinfo) }
167
  /* SGI/MIPS DWARF 2 extensions */
168
  .debug_weaknames 0 : { *(.debug_weaknames) }
169
  .debug_funcnames 0 : { *(.debug_funcnames) }
170
  .debug_typenames 0 : { *(.debug_typenames) }
171
  .debug_varnames  0 : { *(.debug_varnames) }
172
  /* These must appear regardless of  .  */
173
}

powered by: WebSVN 2.1.0

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