use objcopy instead of creating mod-*.c and mod-*.o
This commit is contained in:
parent
ea943e89a3
commit
6b5f780f05
5 changed files with 86 additions and 22 deletions
|
@ -17,9 +17,10 @@ BEGIN {
|
|||
lineno = 0;
|
||||
while (getline <"/dev/stdin") {
|
||||
lineno++;
|
||||
if ($1 == "defined")
|
||||
if ($1 == "defined") {
|
||||
symtab[$3] = $2;
|
||||
else if ($1 == "undefined") {
|
||||
modtab[$2] = "" modtab[$2]
|
||||
} else if ($1 == "undefined") {
|
||||
if ($3 in symtab)
|
||||
modtab[$2] = modtab[$2] " " symtab[$3];
|
||||
else if ($3 != "__gnu_local_gp") {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue