diff options
author | David Carlier <devnexen@gmail.com> | 2020-08-06 16:10:24 +0100 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2020-08-07 17:00:32 +0200 |
commit | 327db7e595ac251c9148f426a5e9bc79db9c98c2 (patch) | |
tree | b31af1db783f134c32a369607ade8d2e6a39235b | |
parent | 046cc5e4c213b836546689d5bdc8925f057c24b5 (diff) | |
download | php-git-327db7e595ac251c9148f426a5e9bc79db9c98c2.tar.gz |
opcache gdb: Set the EI_OSABI value for NetBSD.
Closes GH-5948.
-rw-r--r-- | ext/opcache/jit/zend_jit_gdb.c | 2 |
1 files changed, 2 insertions, 0 deletions
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__)) |