1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 04:57:44 +00:00

LibELF: Move ELF hash functions to their own file (and make constexpr)

This commit is contained in:
Andreas Kling 2021-02-23 18:19:47 +01:00
parent 145923bdc9
commit 37420f1baf
3 changed files with 67 additions and 35 deletions

View file

@ -200,9 +200,6 @@ public:
Optional<Symbol> lookup_symbol(const StringView& name) const;
private:
static u32 calculate_elf_hash(const StringView& name);
static u32 calculate_gnu_hash(const StringView& name);
Optional<Symbol> lookup_elf_symbol(const StringView& name) const;
Optional<Symbol> lookup_gnu_symbol(const StringView& name) const;