source: rtems/c/src/lib/libbsp/powerpc/ppcn_60x/startup/linkcmds @ 0c04c377

4.104.114.84.95
Last change on this file since 0c04c377 was 0c04c377, checked in by Joel Sherrill <joel.sherrill@…>, on 02/18/99 at 16:48:14

./clock/Makefile.in,v
./clock/clock.c,v
./console/Makefile.in,v
./console/config.c,v
./console/console.c,v
./console/console.h,v
./console/debugio.c,v
./console/i8042.c,v
./console/i8042_p.h,v
./console/i8042vga.c,v
./console/i8042vga.h,v
./console/ns16550.c,v
./console/ns16550.h,v
./console/ns16550_p.h,v
./console/ns16550cfg.c,v
./console/ns16550cfg.h,v
./console/vga.c,v
./console/vga_p.h,v
./console/z85c30.c,v
./console/z85c30.h,v
./console/z85c30_p.h,v
./console/z85c30cfg.c,v
./console/z85c30cfg.h,v
./include/Makefile.in,v
./include/bsp.h,v
./include/chain.h,v
./include/coverhd.h,v
./include/extisrdrv.h,v
./include/nvram.h,v
./include/pci.h,v
./include/tod.h,v
./network/Makefile.in,v
./network/amd79c970.c,v
./network/amd79c970.h,v
./nvram/Makefile.in,v
./nvram/ds1385.h,v
./nvram/mk48t18.h,v
./nvram/nvram.c,v
./nvram/prepnvr.h,v
./nvram/stk11c68.h,v
./pci/Makefile.in,v
./pci/pci.c,v
./start/Makefile.in,v
./start/start.s,v
./startup/Makefile.in,v
./startup/bspclean.c,v
./startup/bspstart.c,v
./startup/bsptrap.s,v
./startup/device-tree,v
./startup/genpvec.c,v
./startup/linkcmds,v
./startup/rtems-ctor.cc,v
./startup/sbrk.c,v
./startup/setvec.c,v
./startup/spurious.c,v
./startup/swap.c,v
./timer/Makefile.in,v
./timer/timer.c,v
./tod/Makefile.in,v
./tod/cmos.h,v
./tod/tod.c,v
./universe/Makefile.in,v
./universe/universe.c,v
./vectors/Makefile.in,v
./vectors/README,v
./vectors/align_h.s,v
./vectors/vectors.s,v
./wrapup/Makefile.in,v
./Makefile.in,v
./README,v
./STATUS,v
./bsp_specs,v

  • Property mode set to 100644
File size: 5.3 KB
Line 
1OUTPUT_FORMAT("elf32-powerpc", "elf32-powerpc",
2              "elf32-powerpc")
3
4OUTPUT_ARCH(powerpc)
5ENTRY(_start)
6
7/*
8 *  Number of Decrementer countdowns per millisecond
9 *
10 *  Calculated by:  (66.67 Mhz * 1000) / 4 cycles per click
11 */
12
13SECTIONS
14{
15  .vectors 0x00100 :
16  {
17    *(.vectors)
18  }
19
20  /* Read-only sections, merged into text segment: */
21  /* SDS ROM worked at 0x30000                     */
22  . = 0x30000;
23  .interp   : { *(.interp) }
24  .hash           : { *(.hash)          }
25  .dynsym         : { *(.dynsym)                }
26  .dynstr         : { *(.dynstr)                }
27  .rela.text      : { *(.rela.text)     }
28  .rela.data      : { *(.rela.data)     }
29  .rela.rodata    : { *(.rela.rodata)   }
30  .rela.got       : { *(.rela.got)      }
31  .rela.got1      : { *(.rela.got1)     }
32  .rela.got2      : { *(.rela.got2)     }
33  .rela.ctors     : { *(.rela.ctors)    }
34  .rela.dtors     : { *(.rela.dtors)    }
35  .rela.init      : { *(.rela.init)     }
36  .rela.fini      : { *(.rela.fini)     }
37  .rela.bss       : { *(.rela.bss)      }
38  .rela.plt       : { *(.rela.plt)      }
39  .rela.sdata     : { *(.rela.sdata2)   }
40  .rela.sbss      : { *(.rela.sbss2)    }
41  .rela.sdata2    : { *(.rela.sdata2)   }
42  .rela.sbss2     : { *(.rela.sbss2)    }
43  .plt   : { *(.plt) }
44  .text      :
45  {
46    *(.text)
47    *(.descriptors)
48    /* .gnu.warning sections are handled specially by elf32.em.  */
49    *(.gnu.warning)
50  } =0
51  .init           : { *(.init)          } =0
52  .fini           : { *(.fini)          } =0
53  .rodata         : { *(.rodata)  }
54  .rodata1        : { *(.rodata1) }
55  _etext = .;
56  PROVIDE (etext = .);
57  PROVIDE (__SDATA2_START__ = .);
58  .sdata2   : { *(.sdata2) }
59  PROVIDE (__SBSS2_START__ = .);
60  .sbss2   : { *(.sbss2) }
61  PROVIDE (__SBSS2_END__ = .);
62  /* Adjust the address for the data segment.  We want to adjust up to
63     the same address within the page on the next page up.  It would
64     be more correct to do this:
65       . = ALIGN(0x40000) + (ALIGN(8) & (0x40000 - 1));
66     The current expression does not correctly handle the case of a
67     text segment ending precisely at the end of a page; it causes the
68     data segment to skip a page.  The above expression does not have
69     this problem, but it will currently (2/95) cause BFD to allocate
70     a single segment, combining both text and data, for this case.
71     This will prevent the text segment from being shared among
72     multiple executions of the program; I think that is more
73     important than losing a page of the virtual address space (note
74     that no actual memory is lost; the page which is skipped can not
75     be referenced).  */
76  . =  ALIGN(8) + 0x40000;
77  PROVIDE (sdata = .);
78  .data    :
79  {
80    *(.data)
81    CONSTRUCTORS
82  }
83  PROVIDE (__EXCEPT_START__ = .);
84  .gcc_except_table   : { *(.gcc_except_table) }
85  PROVIDE (__EXCEPT_END__ = .);
86
87  .data1   : { *(.data1) }
88  .got1           : { *(.got1) }
89  .dynamic        : { *(.dynamic) }
90  /* Put .ctors and .dtors next to the .got2 section, so that the pointers
91     get relocated with -mrelocatable. Also put in the .fixup pointers.
92     The current compiler no longer needs this, but keep it around for 2.7.2  */
93                PROVIDE (_GOT2_START_ = .);
94  .got2           :  { *(.got2) }
95                PROVIDE (__GOT2_END__ = .);
96                PROVIDE (__CTOR_LIST__ = .);
97  .ctors          : { *(.ctors) }
98                PROVIDE (__CTOR_END__ = .);
99                PROVIDE (__DTOR_LIST__ = .);
100  .dtors          : { *(.dtors) }
101                PROVIDE (__DTOR_END__ = .);
102                PROVIDE (_FIXUP_START_ = .);
103  .fixup          : { *(.fixup) }
104                PROVIDE (_FIXUP_END_ = .);
105                PROVIDE (__FIXUP_END__ = .);
106                PROVIDE (_GOT2_END_ = .);
107                PROVIDE (_GOT_START_ = .);
108  s.got = .;
109  .got            : { *(.got) }
110  .got.plt        : { *(.got.plt) }
111                PROVIDE (_GOT_END_ = .);
112                PROVIDE (__GOT_END__ = .);
113  /* We want the small data sections together, so single-instruction offsets
114     can access them all, and initialized data all before uninitialized, so
115     we can shorten the on-disk segment size.  */
116  PROVIDE (__SDATA_START__ = .);
117  .sdata          : { *(.sdata) }
118  _edata  =  .;
119  PROVIDE (edata = .);
120  . =  ALIGN(8) + 0x1000;
121  PROVIDE (__SBSS_START__ = .);
122  .sbss      :
123  {
124    PROVIDE (__sbss_start = .);
125    *(.sbss)
126    *(.scommon)
127    PROVIDE (__sbss_end = .);
128  }
129  PROVIDE (__SBSS_END__ = .);
130  .bss       :
131  {
132   PROVIDE (__bss_start = .);
133   *(.dynbss)
134   *(.bss)
135   *(COMMON)
136   PROVIDE (__bss_end = .);
137  }
138  . =  ALIGN(8) + 0x8000;
139  PROVIDE (__stack = .);
140  _end = . ;
141  PROVIDE (end = .);
142
143  /* These are needed for ELF backends which have not yet been
144     converted to the new style linker.  */
145  .stab 0 : { *(.stab) }
146  .stabstr 0 : { *(.stabstr) }
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}
Note: See TracBrowser for help on using the repository browser.