com php-src: opcache gdb: Set the EI_OSABI value for Ne tBSD.: ext/opcache/jit/zend_jit_gdb.c
| From: | Nikita Popov | Date: | Fri, 07 Aug 2020 15:00:32 +0000 |
| Subject: | com php-src: opcache gdb: Set the EI_OSABI value for Ne tBSD.: ext/opcache/jit/zend_jit_gdb.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-112611@lists.php.net to get a copy of this message | ||
Commit: 327db7e595ac251c9148f426a5e9bc79db9c98c2
Author: David Carlier <devnexen@gmail.com> Thu, 6 Aug 2020 16:10:24 +0100
Committer: Nikita Popov <nikita.ppv@gmail.com> Fri, 7 Aug 2020 17:00:32 +0200
Parents: 046cc5e4c213b836546689d5bdc8925f057c24b5
Branches: master
Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=327db7e595ac251c9148f426a5e9bc79db9c98c2
Log:
opcache gdb: Set the EI_OSABI value for NetBSD.
Closes GH-5948.
Changed paths:
M ext/opcache/jit/zend_jit_gdb.c
Diff:
diff --git a/ext/opcache/jit/zend_jit_gdb.c b/ext/opcache/jit/zend_jit_gdb.c
index 5f9847327ca..0320776cd66 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__))