Change 32-bit-branch expansion for --pic.
authorHans-Peter Nilsson <hp@axis.com>
Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)
committerHans-Peter Nilsson <hp@axis.com>
Wed, 7 Dec 2005 06:41:56 +0000 (06:41 +0000)
commitd2aa3f9f08d077685953dd6edd50ef53124ab008
tree04b44165dcb323aca12f78425043d91c495e81a8
parentbe37be02a43a166b5023962176f449f397b4079c
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