diff options
author | Matt Thomas <matt@3am-software.com> | 2007-04-06 16:36:48 +0000 |
---|---|---|
committer | Matt Thomas <matt@3am-software.com> | 2007-04-06 16:36:48 +0000 |
commit | 7801d76a99b7e39a27f1fbb9574beae08d00259c (patch) | |
tree | 40b9b40e90114c767aae1ffad69a1b3ef704d436 /gas/config/tc-vax.h | |
parent | c942cf62550628bb29f07ce31b17d840dbd859c5 (diff) | |
download | binutils-redhat-7801d76a99b7e39a27f1fbb9574beae08d00259c.tar.gz |
2007-04-06 Matt Thomas <matt@netbsd.org>
* config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
Diffstat (limited to 'gas/config/tc-vax.h')
-rw-r--r-- | gas/config/tc-vax.h | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/gas/config/tc-vax.h b/gas/config/tc-vax.h index 715d54a812..4f16e5837d 100644 --- a/gas/config/tc-vax.h +++ b/gas/config/tc-vax.h @@ -47,6 +47,13 @@ #define md_operand(x) +#ifdef OBJ_ELF +#define TC_PARSE_CONS_EXPRESSION(EXP, NBYTES) vax_cons (EXP, NBYTES) +#define TC_CONS_FIX_NEW vax_cons_fix_new +void vax_cons (expressionS *, int); +void vax_cons_fix_new (struct frag *, int, unsigned int, struct expressionS *); +#endif + extern const struct relax_type md_relax_table[]; #define TC_GENERIC_RELAX_TABLE md_relax_table |