Merge "Support building binutils out of the box for x86/x86-64."
This commit is contained in:
commit
6c716a155d
2 changed files with 12 additions and 0 deletions
|
@ -49,6 +49,14 @@ typedef elf_fpregset_t prfpregset_t;
|
|||
typedef pid_t lwpid_t;
|
||||
typedef void* psaddr_t;
|
||||
|
||||
struct elf_siginfo {
|
||||
int si_signo;
|
||||
int si_code;
|
||||
int si_errno;
|
||||
};
|
||||
|
||||
#define ELF_PRARGSZ 80
|
||||
|
||||
__END_DECLS
|
||||
|
||||
#endif /* _SYS_PROCFS_H_ */
|
||||
|
|
|
@ -102,6 +102,10 @@ struct user {
|
|||
int u_debugreg[8];
|
||||
};
|
||||
|
||||
#define UPAGES 1
|
||||
#define HOST_TEXT_START_ADDR (u.start_code)
|
||||
#define HOST_STACK_END_ADDR (u.start_stack + u.u_ssize * PAGE_SIZE)
|
||||
|
||||
#elif defined(__x86_64__)
|
||||
|
||||
struct user_fpregs_struct {
|
||||
|
|
Loading…
Reference in a new issue