Christian Blichmann c2b7cffe78 Minielf: Use a template to load integers
Different versions of the `elf.h` header define their own integer types. For
example, even on LP64 systems, a 64-bit ELF integer types may decay into
`unsigned long long` instead of `unsigned long`.

This change replaces the various overloads with a single function template
that is well-defined for all integral types.

PiperOrigin-RevId: 410746713
Change-Id: I4b560f7541802372f01ae3d6f4a56554e51d70c8
2021-11-18 02:16:26 -08:00
..
2019-03-18 19:00:48 +01:00
2021-01-22 06:01:34 -08:00
2020-09-03 07:40:33 -07:00
2020-09-03 07:40:33 -07:00
2021-01-22 06:01:34 -08:00