diff options
author | Nick Clifton <nickc@redhat.com> | 2004-08-25 12:54:15 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2004-08-25 12:54:15 +0000 |
commit | b18c562e39c5c3ee63032a9a0aa9b7571343fd58 (patch) | |
tree | 0a1ab4cf2ca014da6f955028f9410e6b59ce57e8 /gas/config/tc-msp430.h | |
parent | 61f5d0545d98ab8252082db2bf10cdd40af51cee (diff) | |
download | gdb-b18c562e39c5c3ee63032a9a0aa9b7571343fd58.zip gdb-b18c562e39c5c3ee63032a9a0aa9b7571343fd58.tar.gz gdb-b18c562e39c5c3ee63032a9a0aa9b7571343fd58.tar.bz2 |
Apply Dmitry Diky's patches to add relaxation to msp430.
Diffstat (limited to 'gas/config/tc-msp430.h')
-rw-r--r-- | gas/config/tc-msp430.h | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gas/config/tc-msp430.h b/gas/config/tc-msp430.h index e540124..c86e230 100644 --- a/gas/config/tc-msp430.h +++ b/gas/config/tc-msp430.h @@ -1,5 +1,5 @@ /* This file is tc-msp430.h - Copyright (C) 2002 Free Software Foundation, Inc. + Copyright (C) 2002, 2004 Free Software Foundation, Inc. Contributed by Dmitry Diky <diwil@mail.ru> @@ -93,7 +93,7 @@ of a PC relative instruction is the next instruction, so this macro would return the length of an instruction. */ -extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); +extern long md_pcrel_from_section (struct fix *, segT); #define LISTING_WORD_SIZE 2 /* The number of bytes to put into a word in a listing. This affects @@ -112,3 +112,7 @@ extern long md_pcrel_from_section PARAMS ((struct fix *, segT)); should do nothing. Some targets define a `.bss' directive that is also affected by this macro. The default definition will set P2VAR to the truncated power of two of sizes up to eight bytes. */ + +#define md_relax_frag(SEG, FRAGP, STRETCH) \ + msp430_relax_frag (SEG, FRAGP, STRETCH) +extern long msp430_relax_frag (segT, fragS *, long); |