gas/ia64: add support for misc. ABI constants

David Mosberger davidm@napali.hpl.hp.com
Wed Jun 18 19:39:00 GMT 2003


The patch below adds ABI constants for linux, freebsd, openvms, and
nsk.  These constants are intended for use in the .unwabi directive.
The new numbers were approved by the ia64 processor-specific ABI
committee.

If there are no concerns with the patch, please apply.

Thanks!

	--david

2003-06-18    <davidm@hpl.hp.com>

	* config/tc-ia64.c (pseudo_func): Add ABI constants for linux,
	freebsd, openvms, and nsk (non-stop kernel).

Index: gas/config/tc-ia64.c
===================================================================
RCS file: /cvs/src/src/gas/config/tc-ia64.c,v
retrieving revision 1.89
diff -u -r1.89 tc-ia64.c
--- gas/config/tc-ia64.c	21 May 2003 12:07:55 -0000	1.89
+++ gas/config/tc-ia64.c	18 Jun 2003 19:31:24 -0000
@@ -538,9 +538,13 @@
     { "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 } }



More information about the Binutils mailing list