-
Notifications
You must be signed in to change notification settings - Fork 2
/
ChangeLog.x32
110 lines (79 loc) · 3.12 KB
/
ChangeLog.x32
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
2012-04-15 H.J. Lu <[email protected]>
* util.c (printllval): Check X32 instead of LINUX_X32.
(change_syscall): Add x32 support.
2012-04-15 H.J. Lu <[email protected]>
* defs.h (tcb): Restore u_lrval.
(RVAL_LDECIMAL): Restored.
(RVAL_LHEX): Likewise.
(RVAL_LOCTAL): Likewise.
(RVAL_LUDECIMAL): Likewise.
(RVAL_MASK): Set to 7.
* file.c (sys_lseek): Print 64bit offset and return RVAL_LUDECIMAL
for n32 and x32.
* syscall.c (get_error): Set u_lrval for x32 and n32.
2012-04-15 H.J. Lu <[email protected]>
* linux/x32/syscallent.h: Correct syscall entries.
2012-04-14 H.J. Lu <[email protected]>
* configure.ac: Use __ILP32__ to check x32.
2012-04-14 H.J. Lu <[email protected]>
* linux/x32/syscallent.h: Remove extra space.
2012-04-14 H.J. Lu <[email protected]>
* linux/x32/syscallent.h: Use 64-bit sys_times and x32 sys_ptrace
for x32.
2012-03-01 H.J. Lu <[email protected]>
* linux/x32/syscallent.h: Use 64bit sys_rt_sigprocmask for x32.
2012-02-03 H.J. Lu <[email protected]>
* syscall.c (get_scno): Skip 64-bit and 32-bit modes in X32.
2012-02-02 H.J. Lu <[email protected]>
* configure.ac: Support X32.
* defs.h (LINUX_X32): New.
(SUPPORTED_PERSONALITIES): Set to 3 for X86_64. Defined to 1
for X32.
(PERSONALITY2_WORDSIZE): Set to 4 for X86_64.
(PERSONALITY0_WORDSIZE): Defined to 4 for X32.
(tcb): Add ext_arg for LINUX_X32.
* file.c (stat): New for X32.
(printstat64): Check current_personality != 1 for X86_64.
* io.c (sys_pread): Defined only if X32 isn't defined.
(sys_pwrite): Likewise.
* ipc.c (indirect_ipccall): Check current_personality == 1
for X86_64.
* mem.c (sys_mmap64): Also use tcp->u_arg for X32. Print NULL
for zero address. Call printllval for offset for X32.
* pathtrace.c (pathtrace_match): Don't check sys_old_mmap for
X32.
* process.c (ARG_FLAGS): Defined for X32.
(ARG_STACK): Likewise.
(ARG_PTID): Likewise.
(change_syscall): Handle X32.
(struct_user_offsets): Support X32.
(sys_arch_prctl): Likewise.
* signal.c: Include <asm/sigcontext.h> for X32.
(SA_RESTORER): Also define for X32.
* syscall.c (update_personality): Support X32 for X86_64.
(is_restart_error): Likewise.
(syscall_fixup_on_sysenter): Likewise.
(syscall_enter): Likewise.
(get_syscall_result): Likewise.
(get_error): Likewise.
(__X32_SYSCALL_BIT): Define if not defined.
(__X32_SYSCALL_MASK): Likewise.
(get_scno): Check DS register value for X32. Use
__X32_SYSCALL_MASK on X32 system calls.
* util.c (printllval): Use ext_arg for LINUX_X32.
(printcall): Support X32.
(arg0_offset): Likewise.
(arg1_offset): Likewise.
* Makefile.am (EXTRA_DIST): Add linux/x32/errnoent.h,
linux/x32/ioctlent.h.in, linux/x32/signalent.h,
linux/x32/syscallent.h, linux/x86_64/errnoent2.h,
linux/x86_64/ioctlent2.h, linux/x86_64/signalent2.h and
linux/x86_64/syscallent2.h.
* linux/x32/errnoent.h: New.
* linux/x32/ioctlent.h.in: Likewise.
* linux/x32/signalent.h: Likewise.
* linux/x32/syscallent.h: Likewise.
* linux/x86_64/errnoent2.h: Likewise.
* linux/x86_64/ioctlent2.h: Likewise.
* linux/x86_64/signalent2.h: Likewise.
* linux/x86_64/syscallent2.h: Likewise.