repo.or.cz
/
zpugcc
/
jano.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
history
|
raw
|
HEAD
fixed bash/dash/sh issue (Ubuntu)
[zpugcc/jano.git]
/
toolchain
/
binutils
/
ld
/
scripttempl
/
ebmon29k.sc
blob
62050ee2170154386c4251b9dd377a1292d6c658
1
cat <<EOF
2
OUTPUT_FORMAT("${OUTPUT_FORMAT}")
3
ENTRY(start)
4
5
SECTIONS {
6
.text ${RELOCATING+${TEXT_START_ADDR}} :
7
{
8
*(.text);
9
${RELOCATING+_etext = .};
10
}
11
data ${RELOCATING+0x80002000} :
12
{
13
*(.data);
14
*(.mstack);
15
*(.shbss);
16
*(.rstack);
17
*(.mstack);
18
${CONSTRUCTING+CONSTRUCTORS}
19
}
20
.bss . :
21
{
22
*(COMMON)
23
*(.bss);
24
${RELOCATING+_end = .};
25
}
26
}
27
EOF