projects
/
binutils-gdb.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
* gdb.texinfo (Print Settings): Add documentation for "set/show
[binutils-gdb.git]
/
ld
/
genscrba.sh
1
#!/bin/bash
2
source_em
()
3
{
4
local
current_script
=
"
$em_script
"
5
em_script
=
$1
6
.
$em_script
7
em_script
=
$current_script
8
}
9
fragment
()
10
{
11
local
lineno
=
$
[
${BASH_LINENO[0]}
+
1
]
12
echo
>>
e
${EMULATION_NAME}
.c
"#line
$lineno
\"
$em_script
\"
"
13
cat
>>
e
${EMULATION_NAME}
.c
14
}