1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 18:28:12 +00:00

LibELF+readelf: Remove duplicated dtag->string map

A copy of the same mapping was found both in LibELF and in the readelf
utility, which uses LibELF; keeping them both is redundant and removing
the duplicate saves (a bit of) space.
This commit is contained in:
Rodrigo Tobar 2021-09-25 22:40:51 +08:00 committed by Andreas Kling
parent 93f62384f5
commit 3efd7b458a
3 changed files with 3 additions and 96 deletions

View file

@ -20,6 +20,7 @@ namespace ELF {
class DynamicObject : public RefCounted<DynamicObject> {
public:
static NonnullRefPtr<DynamicObject> create(const String& filename, VirtualAddress base_address, VirtualAddress dynamic_section_address);
static const char* name_for_dtag(ElfW(Sword) d_tag);
~DynamicObject();
void dump() const;