repo.or.cz
/
grub2
/
jjazz.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
2009-06-27 Robert Millan <rmh.grub@aybabtu.com>
[grub2/jjazz.git]
/
conf
/
i386-pc-cygwin-img-ld.sc
blob
a41cac75e2c16316782d6ec531d5864f18884054
1
/* Linker script to create grub .img files on Cygwin. */
2
3
SECTIONS
4
{
5
.text :
6
{
7
start = . ;
8
*(.text)
9
etext = . ;
10
}
11
.data :
12
{
13
__data_start__ = . ;
14
*(.data)
15
__data_end__ = . ;
16
}
17
.rdata :
18
{
19
__rdata_start__ = . ;
20
*(.rdata)
21
__rdata_end__ = . ;
22
}
23
.pdata :
24
{
25
*(.pdata)
26
edata = . ;
27
}
28
.bss :
29
{
30
__bss_start__ = . ;
31
*(.bss)
32
__common_start__ = . ;
33
*(COMMON)
34
__bss_end__ = . ;
35
}
36
.edata :
37
{
38
*(.edata)
39
end = . ;
40
}
41
.stab :
42
{
43
*(.stab)
44
}
45
.stabstr :
46
{
47
*(.stabstr)
48
}
49
}
50
51
ASSERT("__rdata_end__"=="edata", ".pdata not empty")
52
ASSERT("__bss_end__" =="end" , ".edata not empty")
53