Add support for a new magic symbol _gp_disp on mips to handle PIC
binaries.
This commit is contained in:
parent
6f4a19f59f
commit
c36c73f681
3 changed files with 26 additions and 10 deletions
|
@ -23,7 +23,7 @@ BEGIN {
|
|||
} else if ($1 == "undefined") {
|
||||
if ($3 in symtab)
|
||||
modtab[$2] = modtab[$2] " " symtab[$3];
|
||||
else if ($3 != "__gnu_local_gp") {
|
||||
else if (and ($3 != "__gnu_local_gp", $3 != "_gp_disp")) {
|
||||
printf "%s in %s is not defined\n", $3, $2 >"/dev/stderr";
|
||||
error++;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue