From: David Carlier Date: Thu, 6 Aug 2020 15:10:24 +0000 (+0100) Subject: opcache gdb: Set the EI_OSABI value for NetBSD. X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=327db7e595ac251c9148f426a5e9bc79db9c98c2;p=php opcache gdb: Set the EI_OSABI value for NetBSD. Closes GH-5948. --- diff --git a/ext/opcache/jit/zend_jit_gdb.c b/ext/opcache/jit/zend_jit_gdb.c index 5f9847327c..0320776cd6 100644 --- a/ext/opcache/jit/zend_jit_gdb.c +++ b/ext/opcache/jit/zend_jit_gdb.c @@ -144,6 +144,8 @@ static const zend_elf_header zend_elfhdr_template = { .eosabi = 9, #elif defined(__OpenBSD__) .eosabi = 12, +#elif defined(__NetBSD__) + .eosabi = 2, #elif defined(__DragonFly__) .eosabi = 0, #elif (defined(__sun__) && defined(__svr4__))