aboutsummaryrefslogtreecommitdiff
path: root/gas/config/tc-v850.h
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2011-05-23 09:29:00 +0000
committerNick Clifton <nickc@redhat.com>2011-05-23 09:29:00 +0000
commit56d0a8a122b802a056a525192cb6db02999473bb (patch)
tree358bc08fa104820314696db6916f889635d7a2e5 /gas/config/tc-v850.h
parent45394486ba9528f5af50a14bc0cb63756b4a0214 (diff)
downloadgdb-56d0a8a122b802a056a525192cb6db02999473bb.zip
gdb-56d0a8a122b802a056a525192cb6db02999473bb.tar.gz
gdb-56d0a8a122b802a056a525192cb6db02999473bb.tar.bz2
* config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
Diffstat (limited to 'gas/config/tc-v850.h')
-rw-r--r--gas/config/tc-v850.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h
index c4a1a2b..b666b21 100644
--- a/gas/config/tc-v850.h
+++ b/gas/config/tc-v850.h
@@ -70,6 +70,9 @@ extern const struct relax_type md_relax_table[];
#define HANDLE_ALIGN(frag) v850_handle_align (frag)
extern void v850_handle_align (fragS *);
+/* We need space in a frag's fixed size to allow for alignment when relaxing. */
+#define TC_FX_SIZE_SLACK(FIX) 2
+
#define MD_PCREL_FROM_SECTION(FIX, SEC) v850_pcrel_from_section (FIX, SEC)
extern long v850_pcrel_from_section (struct fix *, asection *);