Re: [PATCH 1/2] NetBSD/libgcc: Check for TARGET_DL_ITERATE_PHDR in the unwinder

2020-11-20 Thread Maciej W. Rozycki
On Mon, 16 Nov 2020, Jeff Law wrote: > > libgcc/ > > * unwind-dw2-fde-dip.c [__OpenBSD__ || __NetBSD__] > > (USE_PT_GNU_EH_FRAME): Do not define if !TARGET_DL_ITERATE_PHDR. > OK Committed now, thank you for your review. Maciej

Re: [PATCH 1/2] NetBSD/libgcc: Check for TARGET_DL_ITERATE_PHDR in the unwinder

2020-11-16 Thread Jeff Law via Gcc-patches
On 11/15/20 10:44 AM, Maciej W. Rozycki wrote: > Disable USE_PT_GNU_EH_FRAME frame unwinder support for old OS versions, > fixing compilation errors: > > .../libgcc/unwind-dw2-fde-dip.c:75:21: error: unknown type name 'Elf_Phdr' >75 | # define ElfW(type) Elf_##type > |

[PATCH 1/2] NetBSD/libgcc: Check for TARGET_DL_ITERATE_PHDR in the unwinder

2020-11-15 Thread Maciej W. Rozycki
Disable USE_PT_GNU_EH_FRAME frame unwinder support for old OS versions, fixing compilation errors: .../libgcc/unwind-dw2-fde-dip.c:75:21: error: unknown type name 'Elf_Phdr' 75 | # define ElfW(type) Elf_##type | ^~~~ .../libgcc/unwind-dw2-fde-dip.c:132:9: note: in exp