Nick Clifton
906e58cab5
bfd/
...
* elf32-arm.c (THM2_MAX_FWD_BRANCH_OFFSET): Define.
(THM2_MAX_BWD_BRANCH_OFFSET): Define.
(ARM_MAX_FWD_BRANCH_OFFSET): Define.
(ARM_MAX_BWD_BRANCH_OFFSET): Define.
(THM_MAX_FWD_BRANCH_OFFSET): Define.
(THM_MAX_BWD_BRANCH_OFFSET): Define.
(arm_long_branch_stub): Define.
(arm_pic_long_branch_stub): Define.
(arm_thumb_v4t_long_branch_stub): Define.
(arm_thumb_thumb_long_branch_stub): Define.
(arm_thumb_arm_v4t_long_branch_stub): Define.
(STUB_SUFFIX): Define.
(elf32_arm_stub_type): Define.
(elf32_arm_stub_hash_entry): Define.
(elf32_arm_link_hash_entry): Add stub_cache field.
(arm_stub_hash_lookup): Define.
(elf32_arm_link_hash_table): Add stub_hash_table, stub_bfd,
add_stub_section, layout_sections_again, stub_group, bfd_count,
top_index, input_list fields.
(elf32_arm_link_hash_newfunc): Init new field.
(stub_hash_newfunc): New function.
(elf32_arm_link_hash_table_create): Init stub_hash_table.
(elf32_arm_hash_table_free): New function.
(arm_type_of_stub): New function.
(elf32_arm_stub_name): New function.
(elf32_arm_get_stub_entry): New function.
(elf32_arm_stub_add_mapping_symbol): New function.
(elf32_arm_add_stub): New function.
(arm_build_one_stub): New function.
(arm_size_one_stub): New function.
(elf32_arm_setup_section_lists): New function.
(elf32_arm_next_input_section): New function.
(group_sections): New function.
(elf32_arm_size_stubs): New function.
(elf32_arm_build_stubs): New function.
(bfd_elf32_arm_add_glue_sections_to_bfd): Skip stub sections.
(bfd_elf32_arm_process_before_allocation): No longer handle
R_ARM_CALL and R_ARM_THM_CALL.
(using_thumb_only): New function.
(elf32_arm_final_link_relocate): Redirect calls to stub if range
exceeds encoding capabilities.
(bfd_elf32_bfd_link_hash_table_free): Define.
* bfd-in.h (R_ARM_max): Fix value to 130.
(elf32_arm_setup_section_lists): Protype.
(elf32_arm_next_input_section): Protype.
(elf32_arm_size_stubs): Protype.
(elf32_arm_build_stubs): Protype.
ld/
* emultempl/armelf.em (build_section_lists): New function.
(stub_file): Define.
(need_laying_out): Define.
(group_size): Define.
(hook_stub_info): Define.
(hook_in_stub): New function.
(elf32_arm_add_stub_section): New function.
(gldarm_layout_sections_again): New function.
(gld${EMULATION_NAME}_finish): Replace arm_elf_finish(). Generate
stubs for long calls if needed.
(arm_elf_create_output_section_statements): create stub_file bfd.
(arm_for_each_input_file_wrapper): New function.
(arm_lang_for_each_input_file): New function.
(lang_for_each_input_file): Define.
(PARSE_AND_LIST_PROLOGUE): Add option token OPTION_STUBGROUP_SIZE.
(PARSE_AND_LIST_LONGOPTS): Add option stub-group-size.
(PARSE_AND_LIST_OPTIONS): Add option stub-group-size.
(PARSE_AND_LIST_ARGS_CASES): Add OPTION_STUBGROUP_SIZE case.
(LDEMUL_FINISH): Update to gld${EMULATION_NAME}_finish.
* ld/lang.c (print_input_statement): Skip if bfd has
BFD_LINKER_CREATED.
ld/testsuite
* ld-arm/arm-elf.exp (armelftests): Add farcall-arm-arm,
farcall-arm-arm-pic-veneer, farcall-arm-arm-be8 farcall-arm-thumb,
farcall-arm-thumb-blx, farcall-arm-thumb-pic-veneer,
farcall-arm-thumb-blx-pic-veneer, farcall-thumb-thumb,
farcall-thumb-thumb-pic-veneer, farcall-thumb-thumb-blx,
farcall-thumb-thumb-m, farcall-thumb-thumb-m-pic-veneer,
farcall-thumb-thumb-blx-pic-veneer, farcall-thumb-arm,
farcall-thumb-arm-pic-veneer, farcall-thumb-arm-blx,
farcall-thumb-arm-blx-pic-veneer.
Change thumb2-bl-as-thumb1-bad, thumb2-bl-bad.
* ld-arm/thumb2-bl-as-thumb1-bad.d: Reflects farcall stub
generation.
* ld-arm/thumb2-bl-bad.d: Likewise.
* ld-arm/thumb2-bl-as-thumb1-bad.s: Update comments.
* ld-arm/thumb2-bl-bad.s: Likewise.
2008-05-15 17:00:15 +00:00
..
2008-05-14 06:45:42 +00:00
2007-07-03 14:26:43 +00:00
2008-04-25 14:52:23 +00:00
2007-06-14 15:31:01 +00:00
2008-04-23 16:11:47 +00:00
2008-04-18 09:22:24 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-08-09 23:14:55 +00:00
2007-07-03 14:26:43 +00:00
2008-04-22 00:12:23 +00:00
2008-04-14 11:01:38 +00:00
2007-07-03 14:26:43 +00:00
2008-05-15 17:00:15 +00:00
2008-05-15 17:00:15 +00:00
2008-03-28 06:49:44 +00:00
2008-02-20 17:42:36 +00:00
2008-02-20 17:42:36 +00:00
2007-07-26 11:13:59 +00:00
2007-07-03 14:26:43 +00:00
2008-05-01 15:45:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-05-15 17:00:15 +00:00
2007-01-09 14:29:31 +00:00
2008-01-02 21:41:02 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-01-21 03:48:10 +00:00
2007-07-03 14:26:43 +00:00
2007-10-15 02:00:11 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-27 21:23:01 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-10-15 02:00:11 +00:00
2008-01-21 03:48:10 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-10-15 02:00:11 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-08-02 16:02:01 +00:00
2007-08-13 01:45:11 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2008-04-16 18:02:01 +00:00
2007-10-16 15:15:50 +00:00
2008-04-23 16:11:47 +00:00
2008-04-14 19:58:48 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-09-11 16:07:50 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-04 19:15:52 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-04-30 06:47:24 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-14 13:02:38 +00:00
2008-02-22 15:27:38 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-14 15:20:26 +00:00
2008-02-14 15:20:26 +00:00
2008-02-14 15:20:26 +00:00
2008-02-14 15:20:26 +00:00
2008-02-14 15:20:26 +00:00
2008-02-14 15:20:26 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-05-15 17:00:15 +00:00
2008-03-12 08:37:09 +00:00
2007-07-03 14:26:43 +00:00
2008-03-26 13:04:23 +00:00
2007-10-12 16:11:02 +00:00
2007-07-03 14:26:43 +00:00
2008-01-11 09:07:04 +00:00
2007-07-03 14:26:43 +00:00
2007-09-28 08:43:45 +00:00
2007-07-03 14:26:43 +00:00
2007-09-28 08:43:45 +00:00
2008-01-09 12:29:08 +00:00
2008-05-15 17:00:15 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-12 08:37:09 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-25 18:56:02 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-12 19:11:55 +00:00
2008-01-25 21:06:11 +00:00
2008-01-11 09:07:04 +00:00
2008-03-12 08:37:09 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-01-11 09:07:04 +00:00
2007-07-03 14:26:43 +00:00
2007-09-28 08:43:45 +00:00
2007-11-19 02:19:39 +00:00
2008-02-27 17:06:06 +00:00
2007-09-28 08:43:45 +00:00
2007-09-28 08:43:45 +00:00
2007-09-28 08:43:45 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-05-14 16:00:38 +00:00
2007-07-03 14:26:43 +00:00
2008-02-12 11:32:31 +00:00
2007-09-28 08:43:45 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-25 18:56:02 +00:00
2007-07-03 14:26:43 +00:00
2008-05-12 12:22:53 +00:00
2008-04-08 03:26:54 +00:00
2007-09-26 13:45:32 +00:00
2008-01-11 09:07:04 +00:00
2007-07-03 14:26:43 +00:00
2007-09-26 13:45:32 +00:00
2008-05-07 23:13:09 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2008-03-12 08:37:09 +00:00
2007-07-03 14:26:43 +00:00
2008-02-27 17:06:06 +00:00
2007-09-28 08:43:45 +00:00
2008-05-14 16:00:38 +00:00
2008-01-15 07:25:49 +00:00
2008-02-12 11:32:31 +00:00
2008-03-11 23:23:23 +00:00
2008-02-15 03:35:53 +00:00
2008-03-16 22:26:23 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-12 08:37:09 +00:00
2008-01-09 09:36:11 +00:00
2008-03-12 08:37:09 +00:00
2007-07-03 14:26:43 +00:00
2007-12-31 11:29:31 +00:00
2008-02-20 17:42:36 +00:00
2007-11-09 10:20:17 +00:00
2007-11-08 13:57:44 +00:00
2008-05-03 05:18:02 +00:00
2008-03-12 08:37:09 +00:00
2008-05-10 01:58:17 +00:00
2008-04-29 11:53:45 +00:00
2008-02-27 17:06:06 +00:00
2008-03-14 16:40:09 +00:00
2008-04-21 17:54:25 +00:00
2008-02-27 17:06:06 +00:00
2008-04-16 08:51:18 +00:00
2007-07-03 14:26:43 +00:00
2008-02-27 17:06:06 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-01-21 04:56:47 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-09-19 12:08:34 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-09-11 16:07:50 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-28 06:49:44 +00:00
2008-02-20 17:42:36 +00:00
2008-04-16 08:51:18 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-01-21 03:48:10 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-14 15:20:26 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-20 17:42:36 +00:00
2007-07-03 14:26:43 +00:00
2008-05-14 06:45:42 +00:00
2008-05-14 06:45:42 +00:00
2007-07-03 14:26:43 +00:00
2007-11-05 02:13:46 +00:00
2007-07-03 14:26:43 +00:00
2007-07-26 11:13:59 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-28 06:49:44 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-11-04 23:49:09 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-11-09 08:35:29 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-14 15:20:26 +00:00
2007-11-13 20:17:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-04-25 16:02:43 +00:00
2008-04-16 08:51:18 +00:00
2007-07-03 14:26:43 +00:00
2008-04-18 09:22:24 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 10:35:46 +00:00
2008-02-16 23:00:12 +00:00
2007-12-29 01:36:40 +00:00
2007-09-21 07:58:03 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-11 13:52:02 +00:00
2007-07-03 14:26:43 +00:00
2008-02-20 17:42:36 +00:00
2008-02-15 03:35:53 +00:00
2007-09-21 07:58:03 +00:00
2007-07-03 14:26:43 +00:00
2008-02-14 15:20:26 +00:00
2007-07-26 18:18:07 +00:00
2007-07-03 14:26:43 +00:00
2007-07-15 06:33:34 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-05-15 00:00:05 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-02-20 17:42:36 +00:00
2008-02-20 17:42:36 +00:00
2008-02-20 17:42:36 +00:00
2007-07-03 14:26:43 +00:00
2008-02-04 19:43:51 +00:00
2007-07-03 14:26:43 +00:00
2008-02-15 03:35:53 +00:00
2007-07-03 14:26:43 +00:00
2007-07-03 14:26:43 +00:00
2008-03-03 23:23:41 +00:00
2007-07-03 14:26:43 +00:00