mirror of
https://sourceware.org/git/glibc.git
synced 2025-07-29 11:41:21 +03:00
alpha: Handle ST_OTHER in objdump output
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions marked to avoid plt entry.
This commit is contained in:
@ -1,3 +1,8 @@
|
|||||||
|
2012-05-30 Richard Henderson <rth@twiddle.net>
|
||||||
|
|
||||||
|
* scripts/abilist.awk: Accept 8 fields. Handle Alpha functions
|
||||||
|
marked to avoid plt entry.
|
||||||
|
|
||||||
2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
|
2012-05-30 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
[BZ #14112]
|
[BZ #14112]
|
||||||
|
@ -37,14 +37,15 @@ $4 == "*UND*" { next }
|
|||||||
# Skip locals.
|
# Skip locals.
|
||||||
$2 == "l" { next }
|
$2 == "l" { next }
|
||||||
|
|
||||||
$2 == "g" || $2 == "w" && NF == 7 {
|
# If the target uses ST_OTHER, it will be output before the symbol name.
|
||||||
|
$2 == "g" || $2 == "w" && (NF == 7 || NF == 8) {
|
||||||
weak = $2;
|
weak = $2;
|
||||||
type = $3;
|
type = $3;
|
||||||
size = $5;
|
size = $5;
|
||||||
sub(/^0*/, "", size);
|
sub(/^0*/, "", size);
|
||||||
size = " 0x" size;
|
size = " 0x" size;
|
||||||
version = $6;
|
version = $6;
|
||||||
symbol = $7;
|
symbol = $NF;
|
||||||
gsub(/[()]/, "", version);
|
gsub(/[()]/, "", version);
|
||||||
|
|
||||||
if (version == "GLIBC_PRIVATE") next;
|
if (version == "GLIBC_PRIVATE") next;
|
||||||
@ -60,6 +61,12 @@ $2 == "g" || $2 == "w" && NF == 7 {
|
|||||||
type = "O";
|
type = "O";
|
||||||
seen_opd = 1;
|
seen_opd = 1;
|
||||||
}
|
}
|
||||||
|
else if (type == "D" && NF == 8 && $7 == "0x80") {
|
||||||
|
# Alpha functions avoiding plt entry in users
|
||||||
|
type = "F";
|
||||||
|
size = "";
|
||||||
|
seen_opd = -1;
|
||||||
|
}
|
||||||
else if ($4 == "*ABS*") {
|
else if ($4 == "*ABS*") {
|
||||||
type = "A";
|
type = "A";
|
||||||
size = "";
|
size = "";
|
||||||
|
Reference in New Issue
Block a user