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

Subversion Repositories or1k_old

[/] [or1k_old/] [trunk/] [uclinux/] [uClinux-2.0.x/] [arch/] [ppc/] [ld.script] - Blame information for rev 1782

Details | Compare with Previous | View Log

Line No. Rev Author Line
1 199 simons
OUTPUT_ARCH(powerpc)
2
SEARCH_DIR(/lib); SEARCH_DIR(/usr/lib); SEARCH_DIR(/usr/local/lib); SEARCH_DIR(/usr/local/powerpc-any-elf/lib);
3
/* Do we need any of these for elf?
4
   __DYNAMIC = 0;    */
5
SECTIONS
6
{
7
  /* Read-only sections, merged into text segment: */
8
  . = + SIZEOF_HEADERS;
9
  .interp : { *(.interp) }
10
  .hash          : { *(.hash)           }
11
  .dynsym        : { *(.dynsym)         }
12
  .dynstr        : { *(.dynstr)         }
13
  .rel.text      : { *(.rel.text)               }
14
  .rela.text     : { *(.rela.text)      }
15
  .rel.data      : { *(.rel.data)               }
16
  .rela.data     : { *(.rela.data)      }
17
  .rel.rodata    : { *(.rel.rodata)     }
18
  .rela.rodata   : { *(.rela.rodata)    }
19
  .rel.got       : { *(.rel.got)                }
20
  .rela.got      : { *(.rela.got)               }
21
  .rel.ctors     : { *(.rel.ctors)      }
22
  .rela.ctors    : { *(.rela.ctors)     }
23
  .rel.dtors     : { *(.rel.dtors)      }
24
  .rela.dtors    : { *(.rela.dtors)     }
25
  .rel.bss       : { *(.rel.bss)                }
26
  .rela.bss      : { *(.rela.bss)               }
27
  .rel.plt       : { *(.rel.plt)                }
28
  .rela.plt      : { *(.rela.plt)               }
29
  .init          : { *(.init)   } =0
30
  .plt : { *(.plt) }
31
  .text      :
32
  {
33
    *(.text)
34
    *(.rodata)
35
    *(.rodata1)
36
    *(.got1)
37
  }
38
  _etext = .;
39
  PROVIDE (etext = .);
40
  .fini      : { *(.fini)    } =0
41
  .ctors     : { *(.ctors)   }
42
  .dtors     : { *(.dtors)   }
43
  /* Read-write section, merged into data segment: */
44
  . = (. + 0x0FFF) & 0xFFFFF000;
45
  .data    :
46
  {
47
    *(.data)
48
    CONSTRUCTORS
49
  }
50
  .data1   : { *(.data1) }
51
  .got           : { *(.got.plt) *(.got) }
52
  .dynamic       : { *(.dynamic) }
53
  /* We want the small data sections together, so single-instruction offsets
54
     can access them all, and initialized data all before uninitialized, so
55
     we can shorten the on-disk segment size.  */
56
  .sdata     : { *(.sdata) }
57
  _edata  =  .;
58
  PROVIDE (edata = .);
59
  __bss_start = .;
60
  .sbss      : { *(.sbss) *(.scommon) }
61
  .bss       :
62
  {
63
   *(.dynbss)
64
   *(.bss)
65
   *(COMMON)
66
  }
67
  _end = . ;
68
  PROVIDE (end = .);
69
  /* These are needed for ELF backends which have not yet been
70
     converted to the new style linker.  */
71
  .stab 0 : { *(.stab) }
72
  .stabstr 0 : { *(.stabstr) }
73
  /* These must appear regardless of  .  */
74
}
75
 

powered by: WebSVN 2.1.0

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