OSDN Git Service

Change 32-bit-branch expansion for --pic.
authorhp <hp>
Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)
committerhp <hp>
Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)
commit71d56b267c145fcf5f2631304a8ab30994ae9b65
tree61419fb2c77183e03b39517a885c2d766df9a2b8
parent877633745994213d4aa0a7768741d8e2860311f0
Change 32-bit-branch expansion for --pic.
* config/tc-cris.c (STATE_COND_BRANCH_PIC): New relaxation state.
(md_cris_relax_table): Add entry for STATE_COND_BRANCH_PIC.
(cris_any_v0_v10_long_jump_size_pic): New macro.
(md_estimate_size_before_relax): Handle STATE_COND_BRANCH_PIC.
(md_convert_frag): Similar.
(md_create_long_jump): Change 32-bit-branch expansion for --pic.
(md_assemble, gen_cond_branch_32): Adjust similarly.
(md_parse_option) <case OPTION_PIC>: Adjust md_long_jump_size.
<case OPTION_ARCH>: Similar, if --pic.
gas/ChangeLog
gas/config/tc-cris.c