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 | 6f7b6869f3d90e3b22a687ba09809580fa9f508a (patch) | |
tree | bde6447638ced7c61225c32b482f0684c3edefc2 /gas/config/tc-vax.h | |
parent | da6bcfca9535fb9680fd738207da6c58e0e898bc (diff) | |
download | gdb-6f7b6869f3d90e3b22a687ba09809580fa9f508a.zip gdb-6f7b6869f3d90e3b22a687ba09809580fa9f508a.tar.gz gdb-6f7b6869f3d90e3b22a687ba09809580fa9f508a.tar.bz2 |
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 715d54a..4f16e58 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 |