nixpkgs mirror (for testing) github.com/NixOS/nixpkgs
nix
at haskell-updates 13 lines 382 B view raw
1Backported patch originally targeted against 2.45. 2--- a/bfd/elflink.c 3+++ b/bfd/elflink.c 4@@ -14356,5 +14356,6 @@ elf_gc_sweep (bfd *abfd, struct bfd_link_info *info) 5 if (o->flags & SEC_GROUP) 6 { 7 asection *first = elf_next_in_group (o); 8- o->gc_mark = first->gc_mark; 9+ if (first != NULL) 10+ o->gc_mark = first->gc_mark; 11 } 12 13 if (o->gc_mark)