Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(467)

Unified Diff: third_party/yasm/patches/03_macho_objfmt_private.patch

Issue 11365061: Update Yasm to 1.2.0 (Yasm Part 3/3) (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/deps/
Patch Set: Created 8 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: third_party/yasm/patches/03_macho_objfmt_private.patch
===================================================================
--- third_party/yasm/patches/03_macho_objfmt_private.patch (revision 165590)
+++ third_party/yasm/patches/03_macho_objfmt_private.patch (working copy)
@@ -1,32 +0,0 @@
-Index: modules/objfmts/macho/macho-objfmt.c
-===================================================================
---- modules/objfmts/macho/macho-objfmt.c (revision 73577)
-+++ modules/objfmts/macho/macho-objfmt.c (working copy)
-@@ -922,7 +922,26 @@
- }
- /*printf("common symbol %s val %lu\n", name, yasm_intnum_get_uint(val));*/
- } else if (vis & YASM_SYM_GLOBAL) {
-- n_type |= N_EXT;
-+ yasm_valparamhead *valparams =
-+ yasm_symrec_get_objext_valparams(sym);
-+
-+ struct macho_global_data {
-+ unsigned long flag; /* N_PEXT */
-+ } data;
-+
-+ data.flag = 0;
-+
-+ if (valparams) {
-+ static const yasm_dir_help help[] = {
-+ { "private_extern", 0, yasm_dir_helper_flag_set,
-+ offsetof(struct macho_global_data, flag), N_PEXT },
-+ };
-+ yasm_dir_helper(sym, yasm_vps_first(valparams),
-+ yasm_symrec_get_decl_line(sym), help, NELEMS(help),
-+ &data, yasm_dir_helper_valparam_warn);
-+ }
-+
-+ n_type |= N_EXT | data.flag;
- }
-
- localbuf = info->buf;
« no previous file with comments | « third_party/yasm/patched-yasm/yasm_parsers.7 ('k') | third_party/yasm/patches/04_silence_genperf_chatter.patch » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698