OpenBSD support for yasm.
- include the openbsd configuration for yasm - use the correct yasm_flags on every posix system except for mac Patch by Robert Nagy <robert.nagy@gmail.com> BUG= TEST= Review URL: http://codereview.chromium.org/8348002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@106083 0039d316-1c4b-4281-b951-d872f2087c98
This commit is contained in:
2
AUTHORS
2
AUTHORS
@ -131,7 +131,7 @@ Robert Goldberg <goldberg@adobe.com>
|
||||
Don Woodward <woodward@adobe.com>
|
||||
Naveen Bobbili <naveenbobbili@motorola.com>
|
||||
Vamshikrishna Yellenki <vamshi@motorola.com>
|
||||
Robert Nagy <robert@openbsd.org>
|
||||
Robert Nagy <robert.nagy@gmail.com>
|
||||
Nayan Kumar K <qtc746@motorola.com>
|
||||
ShankarGanesh K <blr.bmlab@gmail.com>
|
||||
Goutham Jagannatha <wrm364@motorola.com>
|
||||
|
3822
third_party/yasm/source/config/openbsd/Makefile
vendored
Normal file
3822
third_party/yasm/source/config/openbsd/Makefile
vendored
Normal file
File diff suppressed because it is too large
Load Diff
171
third_party/yasm/source/config/openbsd/config.h
vendored
Normal file
171
third_party/yasm/source/config/openbsd/config.h
vendored
Normal file
@ -0,0 +1,171 @@
|
||||
/* config.h. Generated from config.h.in by configure. */
|
||||
/* config.h.in. Generated from configure.ac by autoheader. */
|
||||
|
||||
/* Command name to run C preprocessor */
|
||||
#define CPP_PROG "cc -E"
|
||||
|
||||
/* */
|
||||
/* #undef ENABLE_NLS */
|
||||
|
||||
/* Define to 1 if you have the `abort' function. */
|
||||
#define HAVE_ABORT 1
|
||||
|
||||
/* */
|
||||
/* #undef HAVE_CATGETS */
|
||||
|
||||
/* Define if the GNU dcgettext() function is already present or preinstalled.
|
||||
*/
|
||||
/* #undef HAVE_DCGETTEXT */
|
||||
|
||||
/* Define to 1 if you have the <direct.h> header file. */
|
||||
/* #undef HAVE_DIRECT_H */
|
||||
|
||||
/* Define to 1 if you have the `ftruncate' function. */
|
||||
#define HAVE_FTRUNCATE 1
|
||||
|
||||
/* Define to 1 if you have the `getcwd' function. */
|
||||
#define HAVE_GETCWD 1
|
||||
|
||||
/* */
|
||||
/* #undef HAVE_GETTEXT */
|
||||
|
||||
/* Define to 1 if you have the GNU C Library */
|
||||
/* #undef HAVE_GNU_C_LIBRARY */
|
||||
|
||||
/* Define if you have the iconv() function and it works. */
|
||||
/* #undef HAVE_ICONV */
|
||||
|
||||
/* Define to 1 if you have the <inttypes.h> header file. */
|
||||
#define HAVE_INTTYPES_H 1
|
||||
|
||||
/* */
|
||||
/* #undef HAVE_LC_MESSAGES */
|
||||
|
||||
/* Define to 1 if you have the <libgen.h> header file. */
|
||||
#define HAVE_LIBGEN_H 1
|
||||
|
||||
/* Define to 1 if you have the <memory.h> header file. */
|
||||
#define HAVE_MEMORY_H 1
|
||||
|
||||
/* Define to 1 if you have the `mergesort' function. */
|
||||
#define HAVE_MERGESORT 1
|
||||
|
||||
/* Define to 1 if you have the `popen' function. */
|
||||
#define HAVE_POPEN 1
|
||||
|
||||
/* Define to 1 if you have the <stdint.h> header file. */
|
||||
#define HAVE_STDINT_H 1
|
||||
|
||||
/* Define to 1 if you have the <stdlib.h> header file. */
|
||||
#define HAVE_STDLIB_H 1
|
||||
|
||||
/* */
|
||||
/* #undef HAVE_STPCPY */
|
||||
|
||||
/* Define to 1 if you have the `strcasecmp' function. */
|
||||
#define HAVE_STRCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strcmpi' function. */
|
||||
/* #undef HAVE_STRCMPI */
|
||||
|
||||
/* Define to 1 if you have the `stricmp' function. */
|
||||
/* #undef HAVE_STRICMP */
|
||||
|
||||
/* Define to 1 if you have the <strings.h> header file. */
|
||||
#define HAVE_STRINGS_H 1
|
||||
|
||||
/* Define to 1 if you have the <string.h> header file. */
|
||||
#define HAVE_STRING_H 1
|
||||
|
||||
/* Define to 1 if you have the `strncasecmp' function. */
|
||||
#define HAVE_STRNCASECMP 1
|
||||
|
||||
/* Define to 1 if you have the `strsep' function. */
|
||||
#define HAVE_STRSEP 1
|
||||
|
||||
/* Define to 1 if you have the <sys/stat.h> header file. */
|
||||
#define HAVE_SYS_STAT_H 1
|
||||
|
||||
/* Define to 1 if you have the <sys/types.h> header file. */
|
||||
#define HAVE_SYS_TYPES_H 1
|
||||
|
||||
/* Define to 1 if you have the `toascii' function. */
|
||||
#define HAVE_TOASCII 1
|
||||
|
||||
/* Define to 1 if you have the <unistd.h> header file. */
|
||||
#define HAVE_UNISTD_H 1
|
||||
|
||||
/* Define to 1 if you have the `vsnprintf' function. */
|
||||
#define HAVE_VSNPRINTF 1
|
||||
|
||||
/* Define to 1 if you have the `_stricmp' function. */
|
||||
/* #undef HAVE__STRICMP */
|
||||
|
||||
/* Name of package */
|
||||
#define PACKAGE "yasm"
|
||||
|
||||
/* Define to the address where bug reports for this package should be sent. */
|
||||
#define PACKAGE_BUGREPORT "bug-yasm@tortall.net"
|
||||
|
||||
/* Define to build version of this package. */
|
||||
#define PACKAGE_BUILD "2352"
|
||||
|
||||
/* Define to internal version of this package. */
|
||||
#define PACKAGE_INTVER "1.1.0"
|
||||
|
||||
/* Define to the full name of this package. */
|
||||
#define PACKAGE_NAME "yasm"
|
||||
|
||||
/* Define to the full name and version of this package. */
|
||||
#define PACKAGE_STRING "yasm 1.1.0"
|
||||
|
||||
/* Define to the one symbol short name of this package. */
|
||||
#define PACKAGE_TARNAME "yasm"
|
||||
|
||||
/* Define to the home page for this package. */
|
||||
#define PACKAGE_URL ""
|
||||
|
||||
/* Define to the version of this package. */
|
||||
#define PACKAGE_VERSION "1.1.0"
|
||||
|
||||
/* Define to 1 if the C compiler supports function prototypes. */
|
||||
#define PROTOTYPES 1
|
||||
|
||||
/* The size of `char', as computed by sizeof. */
|
||||
/* #undef SIZEOF_CHAR */
|
||||
|
||||
/* The size of `int', as computed by sizeof. */
|
||||
/* #undef SIZEOF_INT */
|
||||
|
||||
/* The size of `long', as computed by sizeof. */
|
||||
/* #undef SIZEOF_LONG */
|
||||
|
||||
/* The size of `short', as computed by sizeof. */
|
||||
/* #undef SIZEOF_SHORT */
|
||||
|
||||
/* The size of `void*', as computed by sizeof. */
|
||||
/* #undef SIZEOF_VOIDP */
|
||||
|
||||
/* Define to 1 if you have the ANSI C header files. */
|
||||
#define STDC_HEADERS 1
|
||||
|
||||
/* Version number of package */
|
||||
#define VERSION "1.1.0"
|
||||
|
||||
/* Define if using the dmalloc debugging malloc package */
|
||||
/* #undef WITH_DMALLOC */
|
||||
|
||||
/* Define like PROTOTYPES; this can be used by system headers. */
|
||||
#define __PROTOTYPES 1
|
||||
|
||||
/* Define to empty if `const' does not conform to ANSI C. */
|
||||
/* #undef const */
|
||||
|
||||
/* Define to `__inline__' or `__inline' if that's what the C compiler
|
||||
calls it, or to nothing if 'inline' is not supported under any name. */
|
||||
#ifndef __cplusplus
|
||||
/* #undef inline */
|
||||
#endif
|
||||
|
||||
/* Define to `unsigned int' if <sys/types.h> does not define. */
|
||||
/* #undef size_t */
|
9
third_party/yasm/source/config/openbsd/libyasm-stdint.h
vendored
Normal file
9
third_party/yasm/source/config/openbsd/libyasm-stdint.h
vendored
Normal file
@ -0,0 +1,9 @@
|
||||
#ifndef _YASM_LIBYASM_STDINT_H
|
||||
#define _YASM_LIBYASM_STDINT_H 1
|
||||
#ifndef _GENERATED_STDINT_H
|
||||
#define _GENERATED_STDINT_H "yasm 1.1.0"
|
||||
/* generated using gcc -std=gnu99 */
|
||||
#define _STDINT_HAVE_STDINT_H 1
|
||||
#include <stdint.h>
|
||||
#endif
|
||||
#endif
|
4
third_party/yasm/yasm_compile.gypi
vendored
4
third_party/yasm/yasm_compile.gypi
vendored
@ -36,13 +36,13 @@
|
||||
}],
|
||||
|
||||
# Define yasm_flags that pass into YASM.
|
||||
[ 'OS=="linux" and target_arch=="ia32"', {
|
||||
[ 'os_posix==1 and OS!="mac" and target_arch=="ia32"', {
|
||||
'yasm_flags': [
|
||||
'-felf32',
|
||||
'-m', 'x86',
|
||||
],
|
||||
}],
|
||||
[ 'OS=="linux" and target_arch=="x64"', {
|
||||
[ 'os_posix==1 and OS!="mac" and target_arch=="x64"', {
|
||||
'yasm_flags': [
|
||||
'-DPIC',
|
||||
'-felf64',
|
||||
|
Reference in New Issue
Block a user