OLD | NEW |
---|---|
1 ;***************************************************************************** | 1 ;***************************************************************************** |
2 ;* x86inc.asm | 2 ;* x86inc.asm |
3 ;***************************************************************************** | 3 ;***************************************************************************** |
4 ;* Copyright (C) 2005-2011 x264 project | 4 ;* Copyright (C) 2005-2011 x264 project |
5 ;* | 5 ;* |
6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> | 6 ;* Authors: Loren Merritt <lorenm@u.washington.edu> |
7 ;* Anton Mitrofanov <BugMaster@narod.ru> | 7 ;* Anton Mitrofanov <BugMaster@narod.ru> |
8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> | 8 ;* Jason Garrett-Glaser <darkshikari@gmail.com> |
9 ;* | 9 ;* |
10 ;* Permission to use, copy, modify, and/or distribute this software for any | 10 ;* Permission to use, copy, modify, and/or distribute this software for any |
(...skipping 995 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1006 ; private_extern flag only on the latest yasm.) | 1006 ; private_extern flag only on the latest yasm.) |
1007 ; | 1007 ; |
1008 %ifdef MACHO | 1008 %ifdef MACHO |
1009 %define PRIVATE :private_extern | 1009 %define PRIVATE :private_extern |
1010 %elifdef ELF | 1010 %elifdef ELF |
1011 %define PRIVATE :hidden | 1011 %define PRIVATE :hidden |
1012 %else | 1012 %else |
1013 %define PRIVATE | 1013 %define PRIVATE |
1014 %endif | 1014 %endif |
1015 | 1015 |
1016 ; | |
1017 ; EXPORT %1 | |
1018 ; Designates a symbol as PRIVATE if EXPORT_SYMBOLS is not set. | |
Ami GONE FROM CHROMIUM
2013/05/18 02:22:04
This doesn't seem very x86-specific (see file name
DaleCurtis
2013/05/23 23:43:23
Moved PRIVATE and EXPORT into a new media_export.i
| |
1019 ; | |
1020 | |
1021 %macro EXPORT 1 | |
1022 %ifdef EXPORT_SYMBOLS | |
1023 global mangle(%1) | |
1024 | |
1025 ; Windows needs an additional export declaration. | |
1026 %ifidn __OUTPUT_FORMAT__,win32 | |
1027 export mangle(%1) | |
1028 %elifidn __OUTPUT_FORMAT__,win64 | |
1029 export mangle(%1) | |
1030 %endif | |
1031 | |
1032 %else | |
1033 global mangle(%1) PRIVATE | |
1034 %endif | |
1035 %endmacro | |
1036 | |
1016 %endif ; CHROMIUM | 1037 %endif ; CHROMIUM |
1017 | 1038 |
1018 %endif ; MEDIA_BASE_SIMD_X86INC_ASM_ | 1039 %endif ; MEDIA_BASE_SIMD_X86INC_ASM_ |
OLD | NEW |