diff options
author | DJ Delorie <dj@redhat.com> | 2009-06-24 00:51:09 +0000 |
---|---|---|
committer | DJ Delorie <dj@redhat.com> | 2009-06-24 00:51:09 +0000 |
commit | 3ef23cd420ae6184288546c48fba7bde9dccefed (patch) | |
tree | 6b4c61c7313f8c8afdde0fc4057cebe701845aeb /gas/config/tc-mep.h | |
parent | 1518dc8f89bfcd443f8853368fd44cbd526f2a7f (diff) | |
download | gdb-3ef23cd420ae6184288546c48fba7bde9dccefed.zip gdb-3ef23cd420ae6184288546c48fba7bde9dccefed.tar.gz gdb-3ef23cd420ae6184288546c48fba7bde9dccefed.tar.bz2 |
* config/tc-mep.c (mep_check_ivc2_scheduling): For IVC2, allocate
32 bits for relaxable branches so that we can relax them later.
(md_estimate_size_before_relax): Assume IVC2 branches will be relaxed.
(mep_relax_frag): New.
(md_convert_frag): Relax IVC2 branches in-place.
* config/tc-mep.h ((mep_relax_frag): New.
Diffstat (limited to 'gas/config/tc-mep.h')
-rw-r--r-- | gas/config/tc-mep.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-mep.h b/gas/config/tc-mep.h index 0861909..dd5118c 100644 --- a/gas/config/tc-mep.h +++ b/gas/config/tc-mep.h @@ -80,6 +80,9 @@ extern int mep_flush_pending_output(void); extern const struct relax_type md_relax_table[]; #define TC_GENERIC_RELAX_TABLE md_relax_table +extern long mep_relax_frag (segT, fragS *, long); +#define md_relax_frag mep_relax_frag + /* Account for inserting a jmp after the insn. */ #define TC_CGEN_MAX_RELAX(insn, len) ((len) + 4) |