aboutsummaryrefslogtreecommitdiff
path: root/ld/testsuite/ld-scripts/default-script4.d
diff options
context:
space:
mode:
authorAlan Modra <amodra@gmail.com>2020-04-22 14:49:39 +0930
committerAlan Modra <amodra@gmail.com>2020-04-22 21:02:50 +0930
commit978c4450511aece71d9de03ecb3ad805257f00e0 (patch)
tree185e81d93ff09d9e37258fd9fee1698e184e77d2 /ld/testsuite/ld-scripts/default-script4.d
parent6431e4096805b68f7cc4a17002c34ccd40f7dde2 (diff)
downloadgdb-978c4450511aece71d9de03ecb3ad805257f00e0.zip
gdb-978c4450511aece71d9de03ecb3ad805257f00e0.tar.gz
gdb-978c4450511aece71d9de03ecb3ad805257f00e0.tar.bz2
readelf: move file related static vars to filedata
The idea here is to get rid of a lot of file related static vars used to pass data around, in order to not have stale data about one object file persisting to the next one. * readelf.c (archive_file_offset, archive_file_size, dynamic_addr), (dynamic_size, dynamic_nent, dynamic_strings, dynamic_strings_length), (num_dynamic_syms, nbuckets, nchains, buckets, chains), (ngnubuckets, gnubuckets, gnuchains, mipsxlat, ngnuchains), (gnusymidx, dynamic_symbols, dynamic_syminfo, dynamic_syminfo_offset), (dynamic_syminfo_nent, program_interpreter, dynamic_info), (dynamic_info_DT_GNU_HASH, dynamic_info_DT_MIPS_XHASH, version_info), (dynamic_section, symtab_shndx_list, group_count, section_groups), (section_headers_groups): Move to struct filedata. Update use throughout file.
Diffstat (limited to 'ld/testsuite/ld-scripts/default-script4.d')
0 files changed, 0 insertions, 0 deletions