diff options
author | Robert Millan <robertmh@gnu.org> | 2004-11-26 21:37:24 +0000 |
---|---|---|
committer | Gerald Pfeifer <gerald@gcc.gnu.org> | 2004-11-26 21:37:24 +0000 |
commit | 44379973a5a46ef1180e7654f9af382f55b49cb2 (patch) | |
tree | f78a8676f3a7d6afea47bb02125193d52e3264ad /gcc/config/i386/linux.h | |
parent | 75a25e3f6558b1e05d4100a81ff36ac67e35ce62 (diff) | |
download | gcc-44379973a5a46ef1180e7654f9af382f55b49cb2.zip gcc-44379973a5a46ef1180e7654f9af382f55b49cb2.tar.gz gcc-44379973a5a46ef1180e7654f9af382f55b49cb2.tar.bz2 |
Changes for k*bsd-gnu support.
* config/i386/linux.h: Define REG_NAME to allow overriding of
register names in sc structure.
* config/i386/linux-unwind.h: Refer to sc->REG_NAME(reg) instead
of sc->reg.
* config.gcc: Detect x86_64-k*bsd-gnu systems.
From-SVN: r91350
Diffstat (limited to 'gcc/config/i386/linux.h')
-rw-r--r-- | gcc/config/i386/linux.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/i386/linux.h b/gcc/config/i386/linux.h index 22210d0..b8dee2c 100644 --- a/gcc/config/i386/linux.h +++ b/gcc/config/i386/linux.h @@ -182,3 +182,6 @@ Boston, MA 02111-1307, USA. */ #define NEED_INDICATE_EXEC_STACK 1 #define MD_UNWIND_SUPPORT "config/i386/linux-unwind.h" + +/* This macro may be overriden in i386/k*bsd-gnu.h */ +#define REG_NAME(reg) reg |