aboutsummaryrefslogtreecommitdiff
path: root/binutils/readelf.c
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2022-08-12 17:14:37 +0930
committerAlan Modra <amodra@gmail.com>2022-08-13 14:11:27 +0930
commit928c411de46e876edd545c3bc0d8bd6a663d0c8f (patch)
treede43e9c88fad869d9ade2eb7608185ca0faee923 /binutils/readelf.c
parent901dd67d0d68ac5e0be145d137533f03de495272 (diff)
downloadgdb-928c411de46e876edd545c3bc0d8bd6a663d0c8f.zip
gdb-928c411de46e876edd545c3bc0d8bd6a663d0c8f.tar.gz
gdb-928c411de46e876edd545c3bc0d8bd6a663d0c8f.tar.bz2
Replace elf_vma with uint64_t
This patch replaces all uses of elf_vma with uint64_t, removes tests of sizeof (elf_vma), and does a little tidying of byte_get_little_endian and byte_get_big_endian.
Diffstat (limited to 'binutils/readelf.c')
-rw-r--r--binutils/readelf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/binutils/readelf.c b/binutils/readelf.c
index ed76459..af443aa 100644
--- a/binutils/readelf.c
+++ b/binutils/readelf.c
@@ -13395,10 +13395,10 @@ display_lto_symtab (Filedata * filedata,
unsigned int kind = *data++;
unsigned int visibility = *data++;
- elf_vma size = byte_get (data, 8);
+ uint64_t size = byte_get (data, 8);
data += 8;
- elf_vma slot = byte_get (data, 4);
+ uint64_t slot = byte_get (data, 4);
data += 4;
if (ext_data != NULL)