2005-08-12 Dmitry Diky <diwil@spec.ru>
authorDmitry Diky <diwil@spec.ru>
Fri, 12 Aug 2005 11:54:23 +0000 (11:54 +0000)
committerDmitry Diky <diwil@spec.ru>
Fri, 12 Aug 2005 11:54:23 +0000 (11:54 +0000)
commit77592908ee412274452a954c5f0347bbc95497d3
tree388d6692f79da200d285b7ac6358b2d1b14a645d
parentfa9ee72b809ca1d54a80ac90043b315b33bb6a8a
2005-08-12  Dmitry Diky <diwil@spec.ru>
* config/tc-msp430.c (msp430_enable_relax): New flag.
(msp430_enable_polys): Likewise.
(OPTION_RELAX): New option.
(OPTION_POLYMORPHS): Likewise.
(md_longopts): New long options.
(md_show_usage): Updated.
(md_parse_option): Add new options handler.
(msp430_operands): Add check if polymorph insns are enabled.
(msp430_force_relocation_local): New function.
(md_apply_fix): Now delete relocs according to new flags combination.
(msp430_relax_frag): Convert long branches to short branches only if
flag msp430_enable_relax is set.
* config/tc-msp430.h (TC_FORCE_RELOCATION_LOCAL): Defined.
(msp430_force_relocation_local): Likewise.
* doc/c-msp430.texi: Describe new options.
gas/ChangeLog
gas/config/tc-msp430.c
gas/config/tc-msp430.h
gas/doc/c-msp430.texi