repo.or.cz
/
AROS.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
Forward compatibility: build relative-base link libraries where needed
[AROS.git]
/
arch
/
all-pc
/
boot
/
grub2-aros
/
conf
/
i386-cygwin-img-ld.sc
blob
3ac26fcce477049c6d56151239f87b919bbddc0f
1
/* Linker script to create grub .img files on Cygwin. */
2
3
SECTIONS
4
{
5
.text :
6
{
7
start = . ;
8
_start = . ;
9
__start = . ;
10
*(.text)
11
etext = . ;
12
}
13
.data :
14
{
15
__data_start__ = . ;
16
*(.data)
17
__data_end__ = . ;
18
__rdata_start__ = . ;
19
*(.rdata)
20
__rdata_end__ = . ;
21
*(.pdata)
22
edata = . ;
23
_edata = . ;
24
__edata = . ;
25
}
26
.bss :
27
{
28
__bss_start__ = . ;
29
*(.bss)
30
__common_start__ = . ;
31
*(COMMON)
32
__bss_end__ = . ;
33
}
34
.edata :
35
{
36
*(.edata)
37
end = . ;
38
_end = . ;
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