]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf-hppa.h
bfd_section_* macros
[thirdparty/binutils-gdb.git] / bfd / elf-hppa.h
index cc98caeeb0b60984278a08bea066f9a9082404fd..2035d4c9c0b12a6dc15bbc016fee9274d0b7d662 100644 (file)
@@ -881,7 +881,7 @@ elf_hppa_fake_sections (bfd *abfd, Elf_Internal_Shdr *hdr, asection *sec)
 {
   const char *name;
 
-  name = bfd_get_section_name (abfd, sec);
+  name = bfd_section_name (sec);
 
   if (strcmp (name, ".PARISC.unwind") == 0)
     {