From 041340adcdda7ff4d75f0183907a66de90a79fe1 Mon Sep 17 00:00:00 2001 From: Jim Wilson Date: Mon, 23 Jun 2003 19:35:52 +0000 Subject: [PATCH] Patch from David Mosberger. * config/tc-ia64.c (pseudo_func): Add ABI constants for linux, freebsd, openvms, and nsk (non-stop kernel). --- gas/ChangeLog | 5 +++++ gas/config/tc-ia64.c | 10 +++++++--- 2 files changed, 12 insertions(+), 3 deletions(-) diff --git a/gas/ChangeLog b/gas/ChangeLog index ec23c10..2368504 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,8 @@ +2003-06-23 + + * config/tc-ia64.c (pseudo_func): Add ABI constants for linux, + freebsd, openvms, and nsk (non-stop kernel). + 2003-06-22 Jason Thorpe * config/tc-ns32k.c (md_begin): Initialize inst_hash_table after diff --git a/gas/config/tc-ia64.c b/gas/config/tc-ia64.c index eb77131..077e647 100644 --- a/gas/config/tc-ia64.c +++ b/gas/config/tc-ia64.c @@ -538,9 +538,13 @@ pseudo_func[] = { "pause", PSEUDO_FUNC_CONST, { 0x0 } }, /* unwind-related constants: */ - { "svr4", PSEUDO_FUNC_CONST, { 0 } }, - { "hpux", PSEUDO_FUNC_CONST, { 1 } }, - { "nt", PSEUDO_FUNC_CONST, { 2 } }, + { "svr4", PSEUDO_FUNC_CONST, { ELFOSABI_NONE } }, + { "hpux", PSEUDO_FUNC_CONST, { ELFOSABI_HPUX } }, + { "nt", PSEUDO_FUNC_CONST, { 2 } }, /* conflicts w/ELFOSABI_NETBSD */ + { "linux", PSEUDO_FUNC_CONST, { ELFOSABI_LINUX } }, + { "freebsd", PSEUDO_FUNC_CONST, { ELFOSABI_FREEBSD } }, + { "openvms", PSEUDO_FUNC_CONST, { ELFOSABI_OPENVMS } }, + { "nsk", PSEUDO_FUNC_CONST, { ELFOSABI_NSK } }, /* unwind-related registers: */ { "priunat",PSEUDO_FUNC_REG, { REG_PRIUNAT } } -- 2.7.4