From 56d0a8a122b802a056a525192cb6db02999473bb Mon Sep 17 00:00:00 2001 From: Nick Clifton Date: Mon, 23 May 2011 09:29:00 +0000 Subject: [PATCH] * config/tc-v850.h (TC_FX_SIZE_SLACK): Define. --- gas/ChangeLog | 4 ++++ gas/config/tc-v850.h | 3 +++ 2 files changed, 7 insertions(+) diff --git a/gas/ChangeLog b/gas/ChangeLog index f7d044420d4..d6cf551193d 100644 --- a/gas/ChangeLog +++ b/gas/ChangeLog @@ -1,3 +1,7 @@ +2011-05-23 Nick Clifton + + * config/tc-v850.h (TC_FX_SIZE_SLACK): Define. + 2011-05-20 Bernd Schmidt * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset". diff --git a/gas/config/tc-v850.h b/gas/config/tc-v850.h index c4a1a2ba84c..b666b21d362 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 *); -- 2.30.2