]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - gdb/nto-tdep.c
bfd_section_* macros
[thirdparty/binutils-gdb.git] / gdb / nto-tdep.c
index 0c610d28419403393eec0ff05906ae9259d8711f..41b4e257373ddbd0cee8c752ced6ffbbfb752986 100644 (file)
@@ -319,8 +319,8 @@ nto_sniff_abi_note_section (bfd *abfd, asection *sect, void *obj)
   const char *name;
   const unsigned sizeof_Elf_Nhdr = 12;
 
-  sectname = bfd_get_section_name (abfd, sect);
-  sectsize = bfd_section_size (abfd, sect);
+  sectname = bfd_section_name (sect);
+  sectsize = bfd_section_size (sect);
 
   if (sectsize > 128)
     sectsize = 128;