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

Side by Side Diff: newlib/libc/machine/x86_64/x86_64mach.h

Issue 917463003: Avoid writing the sandbox base address to memory in setjmp and memcpy (Closed) Base URL: https://chromium.googlesource.com/native_client/nacl-newlib.git@master
Patch Set: review Created 5 years, 10 months 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 unified diff | Download patch
« no previous file with comments | « newlib/libc/machine/x86_64/memcpy.S ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 ** This file is distributed WITHOUT ANY WARRANTY; without even the implied 2 ** This file is distributed WITHOUT ANY WARRANTY; without even the implied
3 ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. 3 ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.
4 */ 4 */
5 5
6 #ifndef __USER_LABEL_PREFIX__ 6 #ifndef __USER_LABEL_PREFIX__
7 #define __USER_LABEL_PREFIX__ _ 7 #define __USER_LABEL_PREFIX__ _
8 #endif 8 #endif
9 9
10 #define __REG_PREFIX__ % 10 #define __REG_PREFIX__ %
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
51 51
52 #define r8d REG(r8d) 52 #define r8d REG(r8d)
53 #define r9d REG(r9d) 53 #define r9d REG(r9d)
54 #define r10d REG(r10d) 54 #define r10d REG(r10d)
55 #define r11d REG(r11d) 55 #define r11d REG(r11d)
56 #define r12d REG(r12d) 56 #define r12d REG(r12d)
57 #define r13d REG(r13d) 57 #define r13d REG(r13d)
58 #define r14d REG(r14d) 58 #define r14d REG(r14d)
59 #define r15d REG(r15d) 59 #define r15d REG(r15d)
60 60
61 #define r8b REG(r8b)
62
61 #define st0 REG(st) 63 #define st0 REG(st)
62 #define st1 REG(st(1)) 64 #define st1 REG(st(1))
63 #define st2 REG(st(2)) 65 #define st2 REG(st(2))
64 #define st3 REG(st(3)) 66 #define st3 REG(st(3))
65 #define st4 REG(st(4)) 67 #define st4 REG(st(4))
66 #define st5 REG(st(5)) 68 #define st5 REG(st(5))
67 #define st6 REG(st(6)) 69 #define st6 REG(st(6))
68 #define st7 REG(st(7)) 70 #define st7 REG(st(7))
69 71
70 #define ax REG(ax) 72 #define ax REG(ax)
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
113 #define SOTYPE_FUNCTION(sym) 115 #define SOTYPE_FUNCTION(sym)
114 #endif 116 #endif
115 117
116 #ifdef _I386MACH_ALLOW_HW_INTERRUPTS 118 #ifdef _I386MACH_ALLOW_HW_INTERRUPTS
117 #define __CLI 119 #define __CLI
118 #define __STI 120 #define __STI
119 #else 121 #else
120 #define __CLI cli 122 #define __CLI cli
121 #define __STI sti 123 #define __STI sti
122 #endif 124 #endif
OLDNEW
« no previous file with comments | « newlib/libc/machine/x86_64/memcpy.S ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698