aboutsummaryrefslogtreecommitdiff
path: root/binutils/nlmconv.c
diff options
context:
space:
mode:
authorDavid MacKenzie <djm@cygnus>1994-02-03 01:39:10 +0000
committerDavid MacKenzie <djm@cygnus>1994-02-03 01:39:10 +0000
commit0c5dc23cc9f4f7a488c0b7df518e319148a2b103 (patch)
tree017e2e7c59da268ad28cb278e129435c3d4fe9fc /binutils/nlmconv.c
parent0c62139f9079833dbd943d093672250228b9d761 (diff)
downloadgdb-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.c2
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,