OSDN Git Service

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)
commitaf0a9933973abaefd75129152d8c972e89beee9d
treee133075d97f3f79e3e3abb79fe89c2374cb80127
parentd2276f7563d67896cb2057b9f610d88c1fbe4526
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