diff options
author | Alan Modra <amodra@gmail.com> | 2020-04-22 14:39:53 +0930 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2020-04-22 21:02:50 +0930 |
commit | 6431e4096805b68f7cc4a17002c34ccd40f7dde2 (patch) | |
tree | ade01eb664e99b873bf73a9fdea1242cc9df8d40 /binutils/ChangeLog | |
parent | 714534e1b88608f92b6946d8e5a24ea51a40e363 (diff) | |
download | gdb-6431e4096805b68f7cc4a17002c34ccd40f7dde2.zip gdb-6431e4096805b68f7cc4a17002c34ccd40f7dde2.tar.gz gdb-6431e4096805b68f7cc4a17002c34ccd40f7dde2.tar.bz2 |
readelf: cmdline data
Don't use a struct filedata for cmdline, which only needs two of the
filedata fields.
* readelf.c (struct dump_data): New, used..
(cmdline): ..here, and..
(struct filedata): ..here. Adjust all uses.
(request_dump_bynumber, request_dump, parse_args): Pass in a
struct dump_data* rather than Filedata*. Adjust callers.
(main): Don't set cmdline.file_name.
Diffstat (limited to 'binutils/ChangeLog')
-rw-r--r-- | binutils/ChangeLog | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/binutils/ChangeLog b/binutils/ChangeLog index 6280eb7..3e10222 100644 --- a/binutils/ChangeLog +++ b/binutils/ChangeLog @@ -1,3 +1,12 @@ +2020-04-22 Alan Modra <amodra@gmail.com> + + * readelf.c (struct dump_data): New, used.. + (cmdline): ..here, and.. + (struct filedata): ..here. Adjust all uses. + (request_dump_bynumber, request_dump, parse_args): Pass in a + struct dump_data* rather than Filedata*. Adjust callers. + (main): Don't set cmdline.file_name. + 2020-04-20 Alan Modra <amodra@gmail.com> * readelf.c (process_symbol_table): Clear ngnuchains, ngnubuckets |