X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=gdb%2Fnto-tdep.c;h=41b4e257373ddbd0cee8c752ced6ffbbfb752986;hb=b61121178ec07f9da1242e439fe1a23a314ad30e;hp=0c610d28419403393eec0ff05906ae9259d8711f;hpb=268a13a5a3f7c6b9b6ffc5ac2d1b24eb41f3fbdc;p=deliverable%2Fbinutils-gdb.git diff --git a/gdb/nto-tdep.c b/gdb/nto-tdep.c index 0c610d2841..41b4e25737 100644 --- a/gdb/nto-tdep.c +++ b/gdb/nto-tdep.c @@ -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;