aboutsummaryrefslogtreecommitdiff
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
parent45394486ba9528f5af50a14bc0cb63756b4a0214 (diff)
downloadgdb-56d0a8a122b802a056a525192cb6db02999473bb.zip
gdb-56d0a8a122b802a056a525192cb6db02999473bb.tar.gz
gdb-56d0a8a122b802a056a525192cb6db02999473bb.tar.bz2
* config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
-rw-r--r--gas/ChangeLog4
-rw-r--r--gas/config/tc-v850.h3
2 files changed, 7 insertions, 0 deletions
diff --git a/gas/ChangeLog b/gas/ChangeLog
index f7d0444..d6cf551 100644
--- a/gas/ChangeLog
+++ b/gas/ChangeLog
@@ -1,3 +1,7 @@
+2011-05-23 Nick Clifton <nickc@redhat.com>
+
+ * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
+
2011-05-20 Bernd Schmidt <bernds@codesourcery.com>
* config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
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 *);