* add p cc
[mascara-docs.git] / i386 / linux / linux-2.3.21 / arch / mips / baget / ld.script.balo
blobe6fd192dbe99385b60ad175d631dfddc517bd31d
1 OUTPUT_FORMAT("elf32-bigmips")
2 OUTPUT_ARCH(mips)
3 ENTRY(balo_entry)
4 SECTIONS
6   /* Read-only sections, merged into text segment: */
7   . = 0x80400000;
8   .rel.text      : { *(.rel.text)       }
9   .rela.text     : { *(.rela.text)      }
10   .rel.data      : { *(.rel.data)       }
11   .rela.data     : { *(.rela.data)      }
12   .rel.rodata    : { *(.rel.rodata)     }
13   .rela.rodata   : { *(.rela.rodata)    }
14   .rel.got       : { *(.rel.got)        }
15   .rela.got      : { *(.rela.got)       }
16   .rel.ctors     : { *(.rel.ctors)      }
17   .rela.ctors    : { *(.rela.ctors)     }
18   .rel.dtors     : { *(.rel.dtors)      }
19   .rela.dtors    : { *(.rela.dtors)     }
20   .rel.init      : { *(.rel.init)       }
21   .rela.init     : { *(.rela.init)      }
22   .rel.fini      : { *(.rel.fini)       }
23   .rela.fini     : { *(.rela.fini)      }
24   .rel.bss       : { *(.rel.bss)        }
25   .rela.bss      : { *(.rela.bss)       }
26   .rel.plt       : { *(.rel.plt)        }
27   .rela.plt      : { *(.rela.plt)       }
28   .init          : { *(.init)           } =0
29   .text      :
30   {
31     _ftext = . ;
32     *(.text)
33     *(.rodata)
34     *(.rodata1)
35     /* .gnu.warning sections are handled specially by elf32.em.  */
36     *(.gnu.warning)
38   _etext = .;
39   PROVIDE (etext = .);
41   /* Startup code */
42   . = ALIGN(4096);
43   __init_begin = .;
44   *(.text.init) 
45   *(.data.init) 
46   . = ALIGN(4096);      /* Align double page for init_task_union */
47   __init_end = .;
49    *(.fini)    
50   *(.reginfo) 
51   /* Adjust the address for the data segment.  We want to adjust up to
52      the same address within the page on the next page up.  It would
53      be more correct to do this:
54        . = .;
55      The current expression does not correctly handle the case of a
56      text segment ending precisely at the end of a page; it causes the
57      data segment to skip a page.  The above expression does not have
58      this problem, but it will currently (2/95) cause BFD to allocate
59      a single segment, combining both text and data, for this case.
60      This will prevent the text segment from being shared among
61      multiple executions of the program; I think that is more
62      important than losing a page of the virtual address space (note
63      that no actual memory is lost; the page which is skipped can not
64      be referenced).  */
65   . = .;
66     _fdata = . ;
67     *(.data)
68     CONSTRUCTORS
70   *(.data1) 
71   _gp = . + 0x8000;
72   *(.lit8) 
73   *(.lit4) 
74   *(.ctors)   
75   *(.dtors)   
76   *(.got.plt) *(.got) 
77   *(.dynamic) 
78   /* We want the small data sections together, so single-instruction offsets
79      can access them all, and initialized data all before uninitialized, so
80      we can shorten the on-disk segment size.  */
81   *(.sdata) 
82   _edata  =  .;
83   PROVIDE (edata = .);
85   __bss_start = .;
86   _fbss = .;
88    *(.dynbss)
89    *(.bss)
90    *(COMMON)
91   _end = . ;
92   PROVIDE (end = .);
93    *(.sbss)
94    *(.scommon)
96   /* These are needed for ELF backends which have not yet been
97      converted to the new style linker.  */
98   *(.stab) 
99   *(.stabstr) 
100   /* DWARF debug sections.
101      Symbols in the .debug DWARF section are relative to the beginning of the
102      section so we begin .debug at 0.  It's not clear yet what needs to happen
103      for the others.   */
104   *(.debug) 
105   *(.debug_srcinfo) 
106   *(.debug_aranges) 
107   *(.debug_pubnames) 
108   *(.debug_sfnames) 
109   *(.line) 
110   /* These must appear regardless of  .  */
111   *(.gptab.data) *(.gptab.sdata) 
112   *(.gptab.bss) *(.gptab.sbss) 
114   _vmlinux_start = .;
115   *(.vmlinux)
116   _vmlinux_end = .;
118   _ramdisk_start = .;
119   *(.ramdisk)
120   _ramdisk_end = .;
122 } =0