mirror of
https://sourceware.org/git/glibc.git
synced 2024-11-21 20:40:05 +00:00
Check __x86_64__ in x86-64 sys/reg.h
This commit is contained in:
parent
23dfb58b4d
commit
5e90c8ad55
@ -1,3 +1,9 @@
|
||||
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
|
||||
include <bits/wordsize.h>. Check __x86_64__ instead of
|
||||
__WORDSIZE.
|
||||
|
||||
2012-05-16 H.J. Lu <hongjiu.lu@intel.com>
|
||||
|
||||
* sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
|
||||
|
@ -1,4 +1,4 @@
|
||||
/* Copyright (C) 2001, 2002 Free Software Foundation, Inc.
|
||||
/* Copyright (C) 2001, 2002, 2012 Free Software Foundation, Inc.
|
||||
This file is part of the GNU C Library.
|
||||
|
||||
The GNU C Library is free software; you can redistribute it and/or
|
||||
@ -17,10 +17,9 @@
|
||||
|
||||
#ifndef _SYS_REG_H
|
||||
#define _SYS_REG_H 1
|
||||
#include <bits/wordsize.h>
|
||||
|
||||
|
||||
#if __WORDSIZE == 64
|
||||
#ifdef __x86_64__
|
||||
/* Index into an array of 8 byte longs returned from ptrace for
|
||||
location of the users' stored general purpose registers. */
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user