diff options
-rw-r--r-- | dev-libs/libjit/ChangeLog | 6 | ||||
-rw-r--r-- | dev-libs/libjit/Manifest | 26 | ||||
-rw-r--r-- | dev-libs/libjit/files/libjit-0.1.0-jit-rules-interp.h | 99 | ||||
-rw-r--r-- | dev-libs/libjit/libjit-0.1.0.ebuild | 10 |
4 files changed, 128 insertions, 13 deletions
diff --git a/dev-libs/libjit/ChangeLog b/dev-libs/libjit/ChangeLog index 93ffe054b7a6..214d375ee041 100644 --- a/dev-libs/libjit/ChangeLog +++ b/dev-libs/libjit/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for dev-libs/libjit # Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/ChangeLog,v 1.9 2007/08/28 23:34:18 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/ChangeLog,v 1.10 2007/09/09 18:32:53 jurek Exp $ + + 09 Sep 2007; Jurek Bartuszek <jurek@gentoo.org> + +files/libjit-0.1.0-jit-rules-interp.h, libjit-0.1.0.ebuild: + Added missing header file, fixing bug #190483 28 Aug 2007; Jurek Bartuszek <jurek@gentoo.org> libjit-0.1.0.ebuild: added secondary SRC_URI diff --git a/dev-libs/libjit/Manifest b/dev-libs/libjit/Manifest index 43c1643fc3bb..2f29f2a323ce 100644 --- a/dev-libs/libjit/Manifest +++ b/dev-libs/libjit/Manifest @@ -1,20 +1,24 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX libjit-0.1.0-jit-rules-interp.h 3463 RMD160 763ee584e0f18b844f6ea662478c3a90eb01714a SHA1 d1272c00886542fcfe309e464d03b486a4c09314 SHA256 ae1fcc284e651b63a757e949c39cae1e9864683a53a727965502d11499129996 +MD5 fc5fbc72a6ce00cc700291fb749cd7ee files/libjit-0.1.0-jit-rules-interp.h 3463 +RMD160 763ee584e0f18b844f6ea662478c3a90eb01714a files/libjit-0.1.0-jit-rules-interp.h 3463 +SHA256 ae1fcc284e651b63a757e949c39cae1e9864683a53a727965502d11499129996 files/libjit-0.1.0-jit-rules-interp.h 3463 DIST libjit-0.0.6.tar.gz 601461 RMD160 41524ef51e1180a41a3329e6fc70bdb76a4845af SHA1 4c235bddb0f24e00df2571d1da975e863d280f35 SHA256 57adaff3dc90f0ea607c42ae0f5ee4dccc928d73300606bae65536e85cf38752 DIST libjit-0.1.0.tar.gz 1092908 RMD160 b711e46425fb8bc03ca289f0cf1af71b890ecfb6 SHA1 db279db806f33ac8c6dba2b6e5f4fb5976e46afb SHA256 8d04ff4fcb99aea354b0ff0000e91b04a5c403b0d63cfc3c49115617b363d271 EBUILD libjit-0.0.6.ebuild 1277 RMD160 c15206686079f2dd26de4478454b0ad899386b81 SHA1 ddf35ffe7e83cedebfab37f88657f6400d1b4e77 SHA256 38f74e9d9e9b9f221000c74e65cdf932e92387d18e46c0d1cdaeb72b562bdb5b MD5 807f97fed975e65c179d35c0d3197fc0 libjit-0.0.6.ebuild 1277 RMD160 c15206686079f2dd26de4478454b0ad899386b81 libjit-0.0.6.ebuild 1277 SHA256 38f74e9d9e9b9f221000c74e65cdf932e92387d18e46c0d1cdaeb72b562bdb5b libjit-0.0.6.ebuild 1277 -EBUILD libjit-0.1.0.ebuild 1349 RMD160 ee0a6a6ddc091e71424894551948c8ba23b84edb SHA1 0f343589a51a3d2f1e33bd6dcaa0edc7e0c7492f SHA256 55ebab33583f0ec90bace6f2feba5f1eb541531cdc72ae2093158596f062e034 -MD5 27f8603c4da5a9bb27823646942f5f80 libjit-0.1.0.ebuild 1349 -RMD160 ee0a6a6ddc091e71424894551948c8ba23b84edb libjit-0.1.0.ebuild 1349 -SHA256 55ebab33583f0ec90bace6f2feba5f1eb541531cdc72ae2093158596f062e034 libjit-0.1.0.ebuild 1349 -MISC ChangeLog 1301 RMD160 9c4d83d4deca75c8adf56bed32505a6c9c99b5e7 SHA1 a987d1034852ea5f6c9853f6449593e9b877d9b2 SHA256 18cc18e352096b40cde184b976e7a08cf9b438fc8f629480394e2b79e3da63a4 -MD5 9bba890ec23bab5c8cfb6a2a11500913 ChangeLog 1301 -RMD160 9c4d83d4deca75c8adf56bed32505a6c9c99b5e7 ChangeLog 1301 -SHA256 18cc18e352096b40cde184b976e7a08cf9b438fc8f629480394e2b79e3da63a4 ChangeLog 1301 +EBUILD libjit-0.1.0.ebuild 1505 RMD160 d0aedab6896d402e9aec9044914eeafea3d234e2 SHA1 7b8cf6bd9d73deb9f92c4069d726b7c377e9ee97 SHA256 c7a1311f044338882a190786868c026774225f016b2a3f5e3f9c0f52fe802b1c +MD5 b837768e472d0210e6a1567a44ac0cf0 libjit-0.1.0.ebuild 1505 +RMD160 d0aedab6896d402e9aec9044914eeafea3d234e2 libjit-0.1.0.ebuild 1505 +SHA256 c7a1311f044338882a190786868c026774225f016b2a3f5e3f9c0f52fe802b1c libjit-0.1.0.ebuild 1505 +MISC ChangeLog 1464 RMD160 f8f69e8286508ed0af812802dd19d7bc34d8d70f SHA1 a06b9087acabaaba0be4a82577c71b61b3f0831c SHA256 416c0bdceff0b911d3d1ea8c92ad5ab0183d8e34ec7dade7478ffd3ae289ffff +MD5 d44d54251d145932081d1505ad77ee6a ChangeLog 1464 +RMD160 f8f69e8286508ed0af812802dd19d7bc34d8d70f ChangeLog 1464 +SHA256 416c0bdceff0b911d3d1ea8c92ad5ab0183d8e34ec7dade7478ffd3ae289ffff ChangeLog 1464 MISC metadata.xml 160 RMD160 5c968ffc35b7cb603c42e808f1ccfcc38eedd523 SHA1 77ef279eb0bb100c28f5beecea2b821a5b63c7a2 SHA256 708a88289bbe43255668133d932f8eb8358eb2d36a7afa9a5e118054952ce64f MD5 abe7f22fb453a3c2c5a27b8f2b8c80ec metadata.xml 160 RMD160 5c968ffc35b7cb603c42e808f1ccfcc38eedd523 metadata.xml 160 @@ -28,7 +32,7 @@ SHA256 6f3a88e9bfed94fce294907e857652b5796594a1612588e1f9ecdfda685358d1 files/di -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.7 (GNU/Linux) -iD8DBQFG1LD/yvXkcyXx2ogRAia/AKCRVxhk0yuejLDfntW87AY9IcMS3QCgkVfZ -Ctwkf4XuzDUUDommgO8P0QE= -=rbfQ +iD8DBQFG5DxbyvXkcyXx2ogRAhIdAKCYaLz5+3Y1AYYeqQ9/yGXGvwEErACfQksZ +xrxslJUTRkBQPWQ292t2SVQ= +=Eop9 -----END PGP SIGNATURE----- diff --git a/dev-libs/libjit/files/libjit-0.1.0-jit-rules-interp.h b/dev-libs/libjit/files/libjit-0.1.0-jit-rules-interp.h new file mode 100644 index 000000000000..f46c71f5bd2e --- /dev/null +++ b/dev-libs/libjit/files/libjit-0.1.0-jit-rules-interp.h @@ -0,0 +1,99 @@ +/* + * jit-rules-interp.h - Rules that define the interpreter characteristics. + * + * Copyright (C) 2004 Southern Storm Software, Pty Ltd. + * + * This program is free software; you can redistribute it and/or modify + * it under the terms of the GNU General Public License as published by + * the Free Software Foundation; either version 2 of the License, or + * (at your option) any later version. + * + * This program is distributed in the hope that it will be useful, + * but WITHOUT ANY WARRANTY; without even the implied warranty of + * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the + * GNU General Public License for more details. + * + * You should have received a copy of the GNU General Public License + * along with this program; if not, write to the Free Software + * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA + */ + +#ifndef _JIT_RULES_INTERP_H +#define _JIT_RULES_INTERP_H + +#include "jit-interp.h" + +#ifdef __cplusplus +extern "C" { +#endif + +/* + * Information about all of the registers, in allocation order. + */ +#define JIT_REG_INFO \ + {"r0", 0, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ + JIT_REG_START_STACK | JIT_REG_IN_STACK}, \ + {"r1", 1, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r2", 2, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r3", 3, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r4", 4, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r5", 5, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r6", 6, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r7", 7, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r8", 8, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r9", 9, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r10", 10, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r11", 11, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r12", 12, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r13", 13, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r14", 14, -1, JIT_REG_ALL | JIT_REG_CALL_USED | JIT_REG_IN_STACK}, \ + {"r15", 15, -1, JIT_REG_ALL | JIT_REG_CALL_USED | \ + JIT_REG_END_STACK | JIT_REG_IN_STACK}, +#define JIT_NUM_REGS 16 +#define JIT_NUM_GLOBAL_REGS 0 + +/* + * Define to 1 if we should always load values into registers + * before operating on them. i.e. the CPU does not have reg-mem + * and mem-reg addressing modes. + */ +#define JIT_ALWAYS_REG_REG 1 + +/* + * The maximum number of bytes to allocate for the prolog. + * This may be shortened once we know the true prolog size. + */ +#define JIT_PROLOG_SIZE jit_function_interp_size + +/* + * Preferred alignment for the start of functions. + */ +#define JIT_FUNCTION_ALIGNMENT (sizeof(void *)) + +/* + * Define this to 1 if the platform allows reads and writes on + * any byte boundary. Define to 0 if only properly-aligned + * memory accesses are allowed. + */ +#define JIT_ALIGN_OVERRIDES 0 + +/* + * Extra state information that is added to the "jit_gencode" structure. + */ +#define jit_extra_gen_state \ + int working_area; \ + int max_working_area; \ + int extra_working_space +#define jit_extra_gen_init(gen) \ + do { \ + (gen)->working_area = 0; \ + (gen)->max_working_area = 0; \ + (gen)->extra_working_space = 0; \ + } while (0) +#define jit_extra_gen_cleanup(gen) do { ; } while (0) + +#ifdef __cplusplus +}; +#endif + +#endif /* _JIT_RULES_INTERP_H */ diff --git a/dev-libs/libjit/libjit-0.1.0.ebuild b/dev-libs/libjit/libjit-0.1.0.ebuild index 8def01e87fa6..4da30c8e61e6 100644 --- a/dev-libs/libjit/libjit-0.1.0.ebuild +++ b/dev-libs/libjit/libjit-0.1.0.ebuild @@ -1,6 +1,6 @@ # Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/libjit-0.1.0.ebuild,v 1.2 2007/08/28 23:34:18 jurek Exp $ +# $Header: /var/cvsroot/gentoo-x86/dev-libs/libjit/libjit-0.1.0.ebuild,v 1.3 2007/09/09 18:32:53 jurek Exp $ inherit eutils @@ -16,6 +16,14 @@ IUSE="doc examples interpreter long-double new-reg-alloc" DEPEND="doc? ( app-text/texi2html )" +src_unpack() { + unpack ${A} + cd ${S} + + # Upstream forgot a header fille, bug #190483 + cp ${FILESDIR}/${P}-jit-rules-interp.h ${S}/jit/jit-rules-interp.h +} + src_compile() { econf \ $(use_enable interpreter) \ |