mirror of
https://github.com/fergalmoran/ladybird.git
synced 2025-12-26 19:29:16 +00:00
LibC+LibELF: Add definitions for extra dtags
These are found in some libraries, and LibELF doesn't know how to handle them, not even their name. Adding these definitions should at least help readelf display information correctly, but more work is needed to actually implement them.
This commit is contained in:
committed by
Andreas Kling
parent
3efd7b458a
commit
a67e06184b
@@ -422,6 +422,16 @@ const char* DynamicObject::name_for_dtag(ElfW(Sword) d_tag)
|
||||
return "RELCOUNT"; /* relocs, which must come first */
|
||||
case DT_FLAGS_1:
|
||||
return "FLAGS_1";
|
||||
case DT_VERDEF:
|
||||
return "VERDEF";
|
||||
case DT_VERDEFNUM:
|
||||
return "VERDEFNUM";
|
||||
case DT_VERSYM:
|
||||
return "VERSYM";
|
||||
case DT_VERNEEDED:
|
||||
return "VERNEEDED";
|
||||
case DT_VERNEEDEDNUM:
|
||||
return "VERNEEDEDNUM";
|
||||
default:
|
||||
return "??";
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user