Tidy ld/ldmisc.c
[deliverable/binutils-gdb.git] / bfd / elf.c
index 5a061c91107024753e5da46dbd8a9cc440223365..ec4c643d59ad396097a8d0ffcc220c54293c6348 100644 (file)
--- a/bfd/elf.c
+++ b/bfd/elf.c
@@ -974,6 +974,14 @@ bfd_elf_is_group_section (bfd *abfd ATTRIBUTE_UNUSED, const asection *sec)
   return elf_next_in_group (sec) != NULL;
 }
 
+const char *
+bfd_elf_group_name (bfd *abfd ATTRIBUTE_UNUSED, const asection *sec)
+{
+  if (elf_sec_group (sec) != NULL)
+    return elf_group_name (sec);
+  return NULL;
+}
+
 static char *
 convert_debug_to_zdebug (bfd *abfd, const char *name)
 {
This page took 0.023343 seconds and 4 git commands to generate.