summaryrefslogtreecommitdiff
path: root/pkg/nasm/config.h
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2020-06-30 15:48:03 -0700
committerMichael Forney <mforney@mforney.org>2020-06-30 15:48:03 -0700
commit954bdd9cc75e346cee07c3d3d2d834c68f3c1e6d (patch)
treea902ec34ee2733d06b581b7711156b9a40259972 /pkg/nasm/config.h
parentcb6514b21e253a6be7a310377e200be3e2bc04e4 (diff)
nasm: Update to 2.15.01
Diffstat (limited to 'pkg/nasm/config.h')
-rw-r--r--pkg/nasm/config.h233
1 files changed, 196 insertions, 37 deletions
diff --git a/pkg/nasm/config.h b/pkg/nasm/config.h
index aa5fcad4..87869c0c 100644
--- a/pkg/nasm/config.h
+++ b/pkg/nasm/config.h
@@ -1,39 +1,40 @@
/* #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_WSHIFT_NEGATIVE_VALUE 1
-#define CFLAG_WSTRINGOP_TRUNCATION 1
+#define CFLAGS_FDATA_SECTIONS 1
+#define CFLAGS_FFUNCTION_SECTIONS 1
+/* #undef CFLAGS_FGNU89_INLINE */
+/* #undef CFLAGS_FLTO */
+#define CFLAGS_FNO_COMMON 1
+/* #undef CFLAGS_FNO_OMIT_FRAME_POINTER */
+/* #undef CFLAGS_FSANITIZE_ADDRESS */
+/* #undef CFLAGS_FSANITIZE_UNDEFINED */
+#define CFLAGS_FVISIBILITY_HIDDEN 1
+#define CFLAGS_FWRAPV 1
+/* #undef CFLAGS_GGDB3 */
+/* #undef CFLAGS_O0 */
+#define CFLAGS_PEDANTIC 1
+/* #undef CFLAGS_PG */
+#define CFLAGS_U_STRICT_ANSI 1
+#define CFLAGS_W 1
+#define CFLAGS_WALL 1
+#define CFLAGS_WC90_C99_COMPAT 1
+/* #undef CFLAGS_WERROR */
+#define CFLAGS_WERROR_ATTRIBUTES 1
+#define CFLAGS_WERROR_COMMENT 1
+#define CFLAGS_WERROR_IMPLICIT 1
+#define CFLAGS_WERROR_MISSING_BRACES 1
+#define CFLAGS_WERROR_MISSING_DECLARATIONS 1
+#define CFLAGS_WERROR_MISSING_PROTOTYPES 1
+#define CFLAGS_WERROR_POINTER_ARITH 1
+#define CFLAGS_WERROR_RETURN_TYPE 1
+/* #undef CFLAGS_WERROR_STRICT_PROTOTYPES */
+#define CFLAGS_WERROR_TRIGRAPHS 1
+/* #undef CFLAGS_WERROR_UNKNOWN_WARNING_OPTION */
+#define CFLAGS_WERROR_VLA 1
+#define CFLAGS_WLONG_LONG 1
+/* #undef CFLAGS_WPEDANTIC_MS_FORMAT */
+#define CFLAGS_WSHIFT_NEGATIVE_VALUE 1
+#define CFLAGS_WSTRINGOP_TRUNCATION 1
#define HAVE_ACCESS 1
/* #undef HAVE_CANONICALIZE_FILE_NAME */
/* #undef HAVE_CPU_TO_LE16 */
@@ -54,18 +55,30 @@
#define HAVE_FSEEKO 1
#define HAVE_FSTAT 1
#define HAVE_FTRUNCATE 1
-#define HAVE_FUNC_ATTRIBUTE_ALLOC_SIZE 1
+#define HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE 1
+/* #undef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE */
+#define HAVE_FUNC_ATTRIBUTE3_FORMAT 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
#define HAVE_FUNC_ATTRIBUTE_MALLOC 1
#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_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE 1
+/* #undef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE */
+#define HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT 1
+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_COLD */
+#define HAVE_FUNC_PTR_ATTRIBUTE_CONST 1
+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC */
+#define HAVE_FUNC_PTR_ATTRIBUTE_NORETURN 1
+/* #undef HAVE_FUNC_PTR_ATTRIBUTE_PURE */
+#define HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL 1
+#define HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL 1
#define HAVE_GETGID 1
#define HAVE_GETPAGESIZE 1
+#define HAVE_GETRLIMIT 1
#define HAVE_GETUID 1
#define HAVE_HTOLE16 1
#define HAVE_HTOLE32 1
@@ -73,8 +86,11 @@
/* #undef HAVE_INTRIN_H */
#define HAVE_INTTYPES_H 1
/* #undef HAVE_IO_H */
+#define HAVE_ISASCII 1
+#define HAVE_ISCNTRL 1
/* #undef HAVE_MACHINE_ENDIAN_H */
#define HAVE_MEMORY_H 1
+#define HAVE_MEMPCPY 1
#define HAVE_MMAP 1
#define HAVE_PATHCONF 1
#define HAVE_REALPATH 1
@@ -101,8 +117,10 @@
/* #undef HAVE_SYS_ENDIAN_H */
#define HAVE_SYS_MMAN_H 1
#define HAVE_SYS_PARAM_H 1
+#define HAVE_SYS_RESOURCE_H 1
#define HAVE_SYS_STAT_H 1
#define HAVE_SYS_TYPES_H 1
+/* #undef HAVE_S_ISREG */
#define HAVE_UINTPTR_T 1
#define HAVE_UNISTD_H 1
#define HAVE_VSNPRINTF 1
@@ -115,7 +133,6 @@
/* #undef HAVE__BYTESWAP_USHORT */
/* #undef HAVE__CHSIZE */
/* #undef HAVE__CHSIZE_S */
-/* #undef HAVE__FILELENGTHI64 */
/* #undef HAVE__FILENO */
/* #undef HAVE__FSEEKI64 */
/* #undef HAVE__FSTATI64 */
@@ -129,6 +146,7 @@
#define HAVE___BUILTIN_BSWAP16 1
#define HAVE___BUILTIN_BSWAP32 1
#define HAVE___BUILTIN_BSWAP64 1
+/* probe HAVE___BUILTIN_CHOOSE_EXPR */
/* probe HAVE___BUILTIN_CLZ */
#define HAVE___BUILTIN_CLZL 1
#define HAVE___BUILTIN_CLZLL 1
@@ -137,6 +155,7 @@
/* #undef HAVE___CPU_TO_LE16 */
/* #undef HAVE___CPU_TO_LE32 */
/* #undef HAVE___CPU_TO_LE64 */
+#define LDFLAGS_WL_GC_SECTIONS 1
#define PACKAGE_BUGREPORT ""
#define PACKAGE_NAME ""
#define PACKAGE_STRING ""
@@ -181,3 +200,143 @@
#endif
/* #undef size_t */
/* #undef uintptr_t */
+#ifndef noreturn_func
+# ifdef HAVE_FUNC_ATTRIBUTE_NORETURN
+# define noreturn_func __attribute__((noreturn))
+# else
+# define noreturn_func
+# endif
+#endif
+#ifndef alloc_size_func2_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE2_ALLOC_SIZE
+# define alloc_size_func2_ptr(x1,x2) __attribute__((alloc_size(x1,x2)))
+# else
+# define alloc_size_func2_ptr(x1,x2)
+# endif
+#endif
+#ifndef end_with_null
+# ifdef HAVE_FUNC_ATTRIBUTE_SENTINEL
+# define end_with_null __attribute__((sentinel))
+# else
+# define end_with_null
+# endif
+#endif
+#ifndef end_with_null_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_SENTINEL
+# define end_with_null_ptr __attribute__((sentinel))
+# else
+# define end_with_null_ptr
+# endif
+#endif
+#ifndef format_func3
+# ifdef HAVE_FUNC_ATTRIBUTE3_FORMAT
+# define format_func3(x1,x2,x3) __attribute__((format(x1,x2,x3)))
+# else
+# define format_func3(x1,x2,x3)
+# endif
+#endif
+#ifndef format_func3_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE3_FORMAT
+# define format_func3_ptr(x1,x2,x3) __attribute__((format(x1,x2,x3)))
+# else
+# define format_func3_ptr(x1,x2,x3)
+# endif
+#endif
+#ifndef const_func
+# ifdef HAVE_FUNC_ATTRIBUTE_CONST
+# define const_func __attribute__((const))
+# else
+# define const_func
+# endif
+#endif
+#ifndef const_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_CONST
+# define const_func_ptr __attribute__((const))
+# else
+# define const_func_ptr
+# endif
+#endif
+#ifndef pure_func
+# ifdef HAVE_FUNC_ATTRIBUTE_PURE
+# define pure_func __attribute__((pure))
+# else
+# define pure_func
+# endif
+#endif
+#ifndef pure_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_PURE
+# define pure_func_ptr __attribute__((pure))
+# else
+# define pure_func_ptr
+# endif
+#endif
+#ifndef unlikely_func
+# ifdef HAVE_FUNC_ATTRIBUTE_COLD
+# define unlikely_func __attribute__((cold))
+# else
+# define unlikely_func
+# endif
+#endif
+#ifndef noreturn_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_NORETURN
+# define noreturn_func_ptr __attribute__((noreturn))
+# else
+# define noreturn_func_ptr
+# endif
+#endif
+#ifndef unlikely_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_COLD
+# define unlikely_func_ptr __attribute__((cold))
+# else
+# define unlikely_func_ptr
+# endif
+#endif
+#ifndef never_null
+# ifdef HAVE_FUNC_ATTRIBUTE_RETURNS_NONNULL
+# define never_null __attribute__((returns_nonnull))
+# else
+# define never_null
+# endif
+#endif
+#ifndef never_null_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_RETURNS_NONNULL
+# define never_null_ptr __attribute__((returns_nonnull))
+# else
+# define never_null_ptr
+# endif
+#endif
+#ifndef malloc_func
+# ifdef HAVE_FUNC_ATTRIBUTE_MALLOC
+# define malloc_func __attribute__((malloc))
+# else
+# define malloc_func
+# endif
+#endif
+#ifndef malloc_func_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE_MALLOC
+# define malloc_func_ptr __attribute__((malloc))
+# else
+# define malloc_func_ptr
+# endif
+#endif
+#ifndef alloc_size_func1
+# ifdef HAVE_FUNC_ATTRIBUTE1_ALLOC_SIZE
+# define alloc_size_func1(x1) __attribute__((alloc_size(x1)))
+# else
+# define alloc_size_func1(x1)
+# endif
+#endif
+#ifndef alloc_size_func1_ptr
+# ifdef HAVE_FUNC_PTR_ATTRIBUTE1_ALLOC_SIZE
+# define alloc_size_func1_ptr(x1) __attribute__((alloc_size(x1)))
+# else
+# define alloc_size_func1_ptr(x1)
+# endif
+#endif
+#ifndef alloc_size_func2
+# ifdef HAVE_FUNC_ATTRIBUTE2_ALLOC_SIZE
+# define alloc_size_func2(x1,x2) __attribute__((alloc_size(x1,x2)))
+# else
+# define alloc_size_func2(x1,x2)
+# endif
+#endif