diff options
author | David MacKenzie <djm@cygnus> | 1994-02-03 01:39:10 +0000 |
---|---|---|
committer | David MacKenzie <djm@cygnus> | 1994-02-03 01:39:10 +0000 |
commit | 0c5dc23cc9f4f7a488c0b7df518e319148a2b103 (patch) | |
tree | 017e2e7c59da268ad28cb278e129435c3d4fe9fc /binutils/nlmconv.c | |
parent | 0c62139f9079833dbd943d093672250228b9d761 (diff) | |
download | gdb-0c5dc23cc9f4f7a488c0b7df518e319148a2b103.zip gdb-0c5dc23cc9f4f7a488c0b7df518e319148a2b103.tar.gz gdb-0c5dc23cc9f4f7a488c0b7df518e319148a2b103.tar.bz2 |
* nlmconv.c (main): Use bfd_get_flavour instead of struct member.
* ar.c (print_contents, extract_file), size.c
(print_berkeley_format): Use bfd_get_filename and
bfd_my_archive instead of dereferencing the structs directly.
Diffstat (limited to 'binutils/nlmconv.c')
-rw-r--r-- | binutils/nlmconv.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/binutils/nlmconv.c b/binutils/nlmconv.c index 65f971c..14e444f 100644 --- a/binutils/nlmconv.c +++ b/binutils/nlmconv.c @@ -330,7 +330,7 @@ main (argc, argv) if (! bfd_set_format (outbfd, bfd_object)) bfd_fatal (output_file); - assert (outbfd->xvec->flavour == bfd_target_nlm_flavour); + assert (bfd_get_flavour (outbfd) == bfd_target_nlm_flavour); if (bfd_arch_get_compatible (inbfd, outbfd) == NULL) fprintf (stderr, |