Hi redfish,
> $ touch foo.dat
> $ /usr/bin/ld -r -b binary -o /tmp/foo.o foo.dat
> Segmentation fault (core dumped)
Ah - snafu - fixed by this patch.
Cheers
Nick
bfd/ChangeLog
2016-08-23 Nick Clifton
* elf32-arm.c (elf32_arm_count_additional_relocs): Return zero if
there i
Hit a segfault in ld on an armv7h board:
$ touch foo.dat
$ /usr/bin/ld -r -b binary -o /tmp/foo.o foo.dat
Segmentation fault (core dumped)
(gdb) bt
#0 0xb6f2ca94 in ?? () from /usr/lib/libbfd-2.27.so
#1 0xb6f66ad0 in bfd_elf_final_link () from /usr/lib/libbfd-2.27.so
Also segfaults for a non-e