mirror of https://github.com/svaarala/duktape.git
Sami Vaarala
7 years ago
committed by
GitHub
19 changed files with 45 additions and 56 deletions
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "arm32" |
|||
/* Byte order varies, so rely on autodetect. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 4 |
|||
#endif |
|||
#define DUK_USE_PACKED_TVAL |
|||
|
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "arm64" |
|||
/* Byte order varies, so rely on autodetect. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 8 |
|||
#endif |
|||
#undef DUK_USE_PACKED_TVAL |
|||
|
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "mips32" |
|||
/* MIPS byte order varies so rely on autodetection. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 8 |
|||
#endif |
|||
#define DUK_USE_PACKED_TVAL |
|||
|
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "mips64" |
|||
/* MIPS byte order varies so rely on autodetection. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 8 |
|||
#endif |
|||
#undef DUK_USE_PACKED_TVAL |
|||
|
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "sparc32" |
|||
/* SPARC byte order varies so rely on autodetection. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 8 |
|||
#endif |
|||
#define DUK_USE_PACKED_TVAL |
|||
|
@ -1,6 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "sparc64" |
|||
/* SPARC byte order varies so rely on autodetection. */ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 8 |
|||
#endif |
|||
#undef DUK_USE_PACKED_TVAL |
|||
|
@ -1,9 +1,3 @@ |
|||
#define DUK_USE_ARCH_STRING "sh" |
|||
/* Byte order varies, rely on autodetection. */ |
|||
/* Based on 'make checkalign' there are no alignment requirements on
|
|||
* Linux SH4, but align by 4 is probably a good basic default. |
|||
*/ |
|||
#if !defined(DUK_USE_ALIGN_BY) |
|||
#define DUK_USE_ALIGN_BY 4 |
|||
#endif |
|||
#define DUK_USE_PACKED_TVAL |
|||
|
@ -0,0 +1,27 @@ |
|||
========================= |
|||
Duktape 2.3 release notes |
|||
========================= |
|||
|
|||
Release overview |
|||
================ |
|||
|
|||
Main changes in this release (see RELEASES.rst for full details): |
|||
|
|||
* TBD. |
|||
|
|||
* DUK_USE_ALIGN_BY now always defaults to 8 (natural alignment) to avoid any |
|||
potentially unsafe assumptions about compiler behavior for unaligned memory |
|||
accesses and pointers (which may be an issue even on x86). |
|||
|
|||
Upgrading from Duktape 2.2 |
|||
========================== |
|||
|
|||
No action (other than recompiling) should be needed for most users to upgrade |
|||
from Duktape v2.2.x. Note the following: |
|||
|
|||
* TBD. |
|||
|
|||
* If you're working with a low memory target or any other target where memory |
|||
usage matters, you may want to force DUK_USE_ALIGN_BY to a lower value |
|||
(4 or 1) to reduce memory overhead. For most targets the memory overhead |
|||
is not important. |
Loading…
Reference in new issue