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
commit 37420f1baf
Notes: sideshowbarker 2024-07-18 21:59:18 +09:00
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;