WIP MachO binutils port assisted by AI I may consider upstreaming this in the future.
0

Configure Feed

Select the types of activity you want to include in your feed.

PR21910, segfault in common symbol override test when hash-style=gnu

PR 21910
* elflink.c (bfd_elf_final_link): Don't segfault when sections
needed to define various dynamic tags have been discarded.

Alan Modra (Aug 7, 2017, 9:26 PM +0930) b3293efa 74cbb09e

+7 -1
+6
bfd/ChangeLog
··· 1 + 2017-08-07 Alan Modra <amodra@gmail.com> 2 + 3 + PR 21910 4 + * elflink.c (bfd_elf_final_link): Don't segfault when sections 5 + needed to define various dynamic tags have been discarded. 6 + 1 7 2017-08-07 Nick Clifton <nickc@redhat.com> 2 8 3 9 PR 21884
+1 -1
bfd/elflink.c
··· 12342 12342 get_vma: 12343 12343 o = bfd_get_linker_section (dynobj, name); 12344 12344 do_vma: 12345 - if (o == NULL) 12345 + if (o == NULL || bfd_is_abs_section (o->output_section)) 12346 12346 { 12347 12347 _bfd_error_handler 12348 12348 (_("could not find section %s"), name);