This is the mail archive of the
binutils@sources.redhat.com
mailing list for the binutils project.
gas/ia64: add support for misc. ABI constants
- From: David Mosberger <davidm at napali dot hpl dot hp dot com>
- To: binutils at sources dot redhat dot com
- Cc: davidm at napali dot hpl dot hp dot com
- Date: Wed, 18 Jun 2003 12:36:30 -0700
- Subject: gas/ia64: add support for misc. ABI constants
- Reply-to: davidm at hpl dot hp dot com
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 } }