aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-ia64.c
diff options
context:
space:
mode:
authorJim Wilson <wilson@tuliptree.org>2003-06-23 19:35:52 +0000
committerJim Wilson <wilson@tuliptree.org>2003-06-23 19:35:52 +0000
commit041340adcdda7ff4d75f0183907a66de90a79fe1 (patch)
treea8b474a21de0a7496457612e424c2094e811aa10 /gas/config/tc-ia64.c
parentac59bf8dbf1694f0a90954d969fc230fff24e5fc (diff)
downloadgdb-041340adcdda7ff4d75f0183907a66de90a79fe1.zip
gdb-041340adcdda7ff4d75f0183907a66de90a79fe1.tar.gz
gdb-041340adcdda7ff4d75f0183907a66de90a79fe1.tar.bz2
Patch from David Mosberger.
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux, freebsd, openvms, and nsk (non-stop kernel).
Diffstat (limited to 'gas/config/tc-ia64.c')
-rw-r--r--gas/config/tc-ia64.c10
1 files changed, 7 insertions, 3 deletions
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 } }