Subversion Repositories HelenOS

Rev

Rev 2726 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
2726 vana 1
OUTPUT_FORMAT("elf32-i386", "elf32-i386", "elf32-i386")
2
OUTPUT_ARCH(i386)
3
ENTRY(_start)
4
SECTIONS
5
{
6
  . = 0;
7
  ImageBase = .;
8
  .hash : { *(.hash) }	/* this MUST come first! */
9
  . = ALIGN(4096);
10
  .text :
11
  {
12
   *(.text)
13
   *(.text.*)
14
   *(.gnu.linkonce.t.*)
15
  }
16
  .reloc :
17
  {
18
   *(.reloc)
19
  }
20
  . = ALIGN(4096);
21
  .data :
22
  {
23
   *(.rodata*)
24
   *(.data)
25
   *(.data1)
26
   *(.data.*)
27
   *(.sdata)
28
   *(.got.plt)
29
   *(.got)
30
   /* the EFI loader doesn't seem to like a .bss section, so we stick
31
      it all into .data: */
32
   *(.sbss)
33
   *(.scommon)
34
   *(.dynbss)
35
   *(.bss)
36
   *(COMMON)
37
  }
38
  . = ALIGN(4096);
39
  .dynamic  : { *(.dynamic) }
40
  . = ALIGN(4096);
41
  .rel :
42
  {
43
    *(.rel.data)
44
    *(.rel.data.*)
45
    *(.rel.got)
46
    *(.rel.stab)
47
    *(.data.rel.ro.local)
48
    *(.data.rel.local)
49
    *(.data.rel.ro)
50
    *(.data.rel*)
51
  }
52
  . = ALIGN(4096);
53
  .dynsym   : { *(.dynsym) }
54
  . = ALIGN(4096);
55
  .dynstr   : { *(.dynstr) }
56
  . = ALIGN(4096);
57
  /DISCARD/ :
58
  {
59
    *(.rel.reloc)
60
    *(.eh_frame)
61
  }
62
}