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 /ld/testsuite/ld-scripts/default-script2.d | |
parent | 714534e1b88608f92b6946d8e5a24ea51a40e363 (diff) | |
download | binutils-6431e4096805b68f7cc4a17002c34ccd40f7dde2.zip binutils-6431e4096805b68f7cc4a17002c34ccd40f7dde2.tar.gz binutils-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 'ld/testsuite/ld-scripts/default-script2.d')
0 files changed, 0 insertions, 0 deletions