commit: d635d9281ba10519821736ad91d2beddee5361ba
parent c66136c1885db8a876eb54a84e79de3f3fb57576
Author: Michael Forney <mforney@mforney.org>
Date: Wed, 12 Dec 2018 15:52:42 -0800
nasm: Update to 2.14
Diffstat:
6 files changed, 70 insertions(+), 5 deletions(-)
diff --git a/pkg/nasm/.gitignore b/pkg/nasm/.gitignore
@@ -1,2 +1,2 @@
-/nasm-2.13.03.tar.xz
+/nasm-2.14.tar.xz
/src
diff --git a/pkg/nasm/config/config.h b/pkg/nasm/config/config.h
@@ -1,13 +1,52 @@
+/* #undef ABORT_ON_PANIC */
/* #undef AC_APPLE_UNIVERSAL_BUILD */
+/* #undef CFLAG_FDATA_SECTIONS */
+/* #undef CFLAG_FFUNCTION_SECTIONS */
+/* #undef CFLAG_FGNU89_INLINE */
+/* #undef CFLAG_FLTO */
+#define CFLAG_FNO_COMMON 1
+/* #undef CFLAG_FNO_OMIT_FRAME_POINTER */
+/* #undef CFLAG_FSANITIZE_ADDRESS */
+/* #undef CFLAG_FSANITIZE_UNDEFINED */
+#define CFLAG_FVISIBILITY_HIDDEN 1
+#define CFLAG_FWRAPV 1
+/* #undef CFLAG_GGDB3 */
+#define CFLAG_PEDANTIC 1
+#define CFLAG_U_STRICT_ANSI 1
+#define CFLAG_W 1
+#define CFLAG_WALL 1
+#define CFLAG_WC90_C99_COMPAT 1
+/* #undef CFLAG_WERROR */
+#define CFLAG_WERROR_ATTRIBUTES 1
+#define CFLAG_WERROR_COMMENT 1
+#define CFLAG_WERROR_IMPLICIT 1
+#define CFLAG_WERROR_MISSING_BRACES 1
+#define CFLAG_WERROR_MISSING_DECLARATIONS 1
+#define CFLAG_WERROR_MISSING_PROTOTYPES 1
+#define CFLAG_WERROR_POINTER_ARITH 1
+#define CFLAG_WERROR_RETURN_TYPE 1
+/* #undef CFLAG_WERROR_STRICT_PROTOTYPES */
+#define CFLAG_WERROR_TRIGRAPHS 1
+/* #undef CFLAG_WERROR_UNKNOWN_WARNING_OPTION */
+#define CFLAG_WERROR_VLA 1
+#define CFLAG_WLONG_LONG 1
+/* #undef CFLAG_WL_GC_SECTIONS */
+/* #undef CFLAG_WPEDANTIC_MS_FORMAT */
+#define CFLAG_WSTRINGOP_TRUNCATION 1
#define HAVE_ACCESS 1
/* #undef HAVE_CANONICALIZE_FILE_NAME */
+/* #undef HAVE_CPU_TO_LE16 */
+/* #undef HAVE_CPU_TO_LE32 */
+/* #undef HAVE_CPU_TO_LE64 */
#define HAVE_DECL_STRCASECMP 1
#define HAVE_DECL_STRICMP 0
#define HAVE_DECL_STRLCPY 1
#define HAVE_DECL_STRNCASECMP 1
#define HAVE_DECL_STRNICMP 0
#define HAVE_DECL_STRNLEN 1
+#define HAVE_DECL_STRRCHRNUL 0
#define HAVE_DECL_STRSEP 1
+#define HAVE_ENDIAN_H 1
#define HAVE_FACCESSAT 1
#define HAVE_FCNTL_H 1
#define HAVE_FILENO 1
@@ -15,6 +54,7 @@
#define HAVE_FSTAT 1
#define HAVE_FTRUNCATE 1
#define HAVE_FUNC_ATTRIBUTE_ALLOC_SIZE 1
+#define HAVE_FUNC_ATTRIBUTE_COLD 1
#define HAVE_FUNC_ATTRIBUTE_CONST 1
#define HAVE_FUNC_ATTRIBUTE_ERROR 1
#define HAVE_FUNC_ATTRIBUTE_FORMAT 1
@@ -22,11 +62,17 @@
#define HAVE_FUNC_ATTRIBUTE_NORETURN 1
#define HAVE_FUNC_ATTRIBUTE_PURE 1
#define HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL 1
+#define HAVE_FUNC_ATTRIBUTE_SENTINEL 1
#define HAVE_GETGID 1
#define HAVE_GETPAGESIZE 1
#define HAVE_GETUID 1
+#define HAVE_HTOLE16 1
+#define HAVE_HTOLE32 1
+#define HAVE_HTOLE64 1
+/* #undef HAVE_INTRIN_H */
#define HAVE_INTTYPES_H 1
/* #undef HAVE_IO_H */
+/* #undef HAVE_MACHINE_ENDIAN_H */
#define HAVE_MEMORY_H 1
#define HAVE_MMAP 1
#define HAVE_PATHCONF 1
@@ -34,6 +80,7 @@
#define HAVE_SNPRINTF 1
#define HAVE_STAT 1
#define HAVE_STDBOOL_H 1
+#define HAVE_STDC_INLINE 1
#define HAVE_STDINT_H 1
#define HAVE_STDLIB_H 1
#define HAVE_STDNORETURN_H 1
@@ -45,10 +92,12 @@
#define HAVE_STRNCASECMP 1
/* #undef HAVE_STRNICMP */
#define HAVE_STRNLEN 1
+/* #undef HAVE_STRRCHRNUL */
#define HAVE_STRSEP 1
#define HAVE_STRUCT_STAT 1
/* #undef HAVE_STRUCT__STATI64 */
#define HAVE_SYSCONF 1
+/* #undef HAVE_SYS_ENDIAN_H */
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
#define HAVE_SYS_STAT_H 1
@@ -57,7 +106,12 @@
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
/* #undef HAVE__ACCESS */
+/* #undef HAVE__BITSCANREVERSE */
+/* #undef HAVE__BITSCANREVERSE64 */
#define HAVE__BOOL 1
+/* #undef HAVE__BYTESWAP_UINT64 */
+/* #undef HAVE__BYTESWAP_ULONG */
+/* #undef HAVE__BYTESWAP_USHORT */
/* #undef HAVE__CHSIZE */
/* #undef HAVE__CHSIZE_S */
/* #undef HAVE__FILELENGTHI64 */
@@ -68,10 +122,20 @@
/* #undef HAVE__SNPRINTF */
/* #undef HAVE__STATI64 */
/* #undef HAVE__VSNPRINTF */
+/* #undef HAVE___BSWAP_16 */
+/* #undef HAVE___BSWAP_32 */
+/* #undef HAVE___BSWAP_64 */
+#define HAVE___BUILTIN_BSWAP16 1
+#define HAVE___BUILTIN_BSWAP32 1
+#define HAVE___BUILTIN_BSWAP64 1
#define HAVE___BUILTIN_CLZ 1
#define HAVE___BUILTIN_CLZL 1
#define HAVE___BUILTIN_CLZLL 1
+#define HAVE___BUILTIN_CONSTANT_P 1
#define HAVE___BUILTIN_EXPECT 1
+/* #undef HAVE___CPU_TO_LE16 */
+/* #undef HAVE___CPU_TO_LE32 */
+/* #undef HAVE___CPU_TO_LE64 */
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
diff --git a/pkg/nasm/gen.lua b/pkg/nasm/gen.lua
@@ -10,7 +10,7 @@ cflags{
}
lib('libnasm.a', [[
- stdlib/(snprintf.c vsnprintf.c strlcpy.c strnlen.c)
+ stdlib/(snprintf.c vsnprintf.c strlcpy.c strnlen.c strrchrnul.c)
nasmlib/(
ver.c
crc64.c malloc.c
@@ -47,6 +47,7 @@ lib('libnasm.a', [[
macros/macros.c
output/(
outform.c outlib.c legacy.c
+ strtbl.c
nulldbg.c nullout.c
outbin.c outaout.c outcoff.c
outelf.c
diff --git a/pkg/nasm/rev b/pkg/nasm/rev
@@ -1 +1 @@
-5
+6
diff --git a/pkg/nasm/sha256 b/pkg/nasm/sha256
@@ -1 +1 @@
-812ecfb0dcbc5bd409aaa8f61c7de94c5b8752a7b00c632883d15b2ed6452573 nasm-2.13.03.tar.xz
+97c615dbf02ef80e4e2b6c385f7e28368d51efc214daa98e600ca4572500eec0 nasm-2.14.tar.xz
diff --git a/pkg/nasm/url b/pkg/nasm/url
@@ -1 +1 @@
-url = "http://www.nasm.us/pub/nasm/releasebuilds/2.13.03/nasm-2.13.03.tar.xz"
+url = "http://www.nasm.us/pub/nasm/releasebuilds/2.14/nasm-2.14.tar.xz"