aboutsummaryrefslogtreecommitdiff
path: root/gas
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
parentac59bf8dbf1694f0a90954d969fc230fff24e5fc (diff)
downloadbinutils-041340adcdda7ff4d75f0183907a66de90a79fe1.zip
binutils-041340adcdda7ff4d75f0183907a66de90a79fe1.tar.gz
binutils-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')
-rw-r--r--gas/ChangeLog5
-rw-r--r--gas/config/tc-ia64.c10
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 <davidm@hpl.hp.com>
+
+ * config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
+ freebsd, openvms, and nsk (non-stop kernel).
+
2003-06-22 Jason Thorpe <thorpej@wasabisystems.com>
* 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 } }