Patch from David Mosberger.
authorJim Wilson <wilson@tuliptree.org>
Mon, 23 Jun 2003 19:35:52 +0000 (19:35 +0000)
committerJim Wilson <wilson@tuliptree.org>
Mon, 23 Jun 2003 19:35:52 +0000 (19:35 +0000)
* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
freebsd, openvms, and nsk (non-stop kernel).

gas/ChangeLog
gas/config/tc-ia64.c

index ec23c10..2368504 100644 (file)
@@ -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
index eb77131..077e647 100644 (file)
@@ -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 } }