Paul Brook
3674e28ad0
bfd/
* bfd-in.h (bfd_elf32_arm_set_target_relocs): Add prototype.
(bfd_elf32_arm_process_before_allocation): Update prototype.
* bfd-in2.h: Regenerate.
* bfd/elf32-arm.h (elf32_arm_link_hash_table): Add target2_reloc.
(elf32_arm_link_hash_table_create): Set it.
(bfd_elf32_arm_process_before_allocation): Remove target1_is_rel.
(bfd_elf32_arm_set_target_relocs): New function.
(arm_real_reloc_type): New function.
(elf32_arm_final_link_relocate): Use it. Handle R_ARM_PREL31 and
R_ARM_GOT_PREL. Remove R_ARM_TARGET1.
(elf32_arm_gc_sweep_hook): Ditto.
(elf32_arm_check_relocs): Ditto.
(elf32_arm_relocate_section): Handle R_ARM_GOT_PREL.
* elfarm-nabi.c (elf32_arm_howto_table): Add R_ARM_PREL31 and
R_ARM_GOT_TARGET2.
(elf32_arm_got_prel): New variable.
(elf32_arm_howto_from_type): New function.
(elf32_arm_info_to_howto): Use it.
(elf32_arm_reloc_map): Add BFD_RELOC_ARM_PREL31 and
BFD_RELOC_ARM_TARGET2.
* libbfd.h: Regenerate.
* reloc.c: Add BFD_RELOC_ARM_TARGET2 and BFD_RELOC_ARM_PREL31.
gas/
* config/tc-arm.c (s_arm_rel31): New funciton.
(md_pseudo_table): Add .rel31.
(md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
(tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
(arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
(arm_parse_reloc): Add (target2).
gas/testsuite/
* gas/arm/pic.s: Add (target2).
* gas/arm/pic.d: Ditto.
include/
* elf/arm.h: Remove R_ARM_STKCHK and R_ARM_THM_STKCHK.
Add R_ARM_TARGET2, R_ARM_PREL31, R_ARM_GOT_ABS, R_ARM_GOT_PREL,
R_ARM_GOT_BREL12, R_ARM_GOTOFF12 and R_ARM_GOTRELAX.
ld/
* ld.texinfo: Rename arm-specific section. Document --target*
* emulparams/armelf_fbsd.sh: Set TARGET2_TYPE.
* emulparams/armelf_linux.sh: Ditto.
* emulparams/armelf_nbsd.sh: Ditto.
* emultempl/armelf.em: Set default for TARGET2_TYPE.
(target2_type): New variable.
(arm_elf_before_allocation): Don't pass target1_type.
(arm_elf_create_output_section_statements): New function.
(PARSE_AND_LIST_PROLOGUE): Add OPTION_TARGET2.
(PARSE_AND_LIST_LONGOPTS, PARSE_AND_LIST_OPTIONS): Add --target=.
(PARSE_AND_LIST_ARGS_CASES): Handle OPTION_TARGET2.
(LDEMUL_CREATE_OUTPUT_SECTION_STATEMENTS): Set.
* emultempl/armelf_oabi.em (_before_allocation): Remove extra
argument to bfd_elf32_arm_process_before_allocation.
ld/testsuite/
* ld-arm/arm-target1-{abs,rel}.d}: New files.
* ld-arm/arm-target1.s: New file.
* ld-arm/arm-target2-{,got-}rel.d: New files.
* ld-arm/arm-target2.s: New file.
* ld-arm/arm-rel31.d: New files.
* ld-arm/arm-rel31.s: New files.
* ld-arm/arm.ld: New file.
* ld-arm/arm-elf.exp: Add new tests.
2004-09-17 12:18:19 +00:00
..
1999-05-03 07:29:11 +00:00
2002-03-18 12:46:27 +00:00
2002-03-18 12:46:27 +00:00
2002-03-18 12:46:27 +00:00
2002-03-18 12:46:27 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-12-02 11:49:20 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2004-09-17 12:18:19 +00:00
2004-09-17 12:18:19 +00:00
2004-09-17 12:18:19 +00:00
2003-10-09 14:06:07 +00:00
2004-02-09 18:06:20 +00:00
2003-05-09 20:05:04 +00:00
2002-05-21 15:11:04 +00:00
2003-05-09 20:05:04 +00:00
1999-08-24 15:17:23 +00:00
2003-10-09 14:06:07 +00:00
2003-12-04 17:51:43 +00:00
2004-09-13 14:14:32 +00:00
2002-05-16 19:51:08 +00:00
2002-05-16 19:51:08 +00:00
2002-05-16 19:51:08 +00:00
2002-05-16 19:51:08 +00:00
2002-05-16 19:51:08 +00:00
2003-08-06 02:19:05 +00:00
1999-05-03 07:29:11 +00:00
2000-07-20 17:16:06 +00:00
2001-12-04 18:28:31 +00:00
2001-12-04 18:28:31 +00:00
2002-06-17 14:08:40 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2002-08-13 02:08:26 +00:00
2003-11-04 23:08:03 +00:00
1999-05-27 21:49:21 +00:00
2003-05-30 15:50:12 +00:00
2003-07-10 04:45:16 +00:00
2002-11-30 08:39:46 +00:00
2004-04-21 20:52:31 +00:00
2004-02-14 11:45:25 +00:00
2004-04-08 14:52:44 +00:00
2004-04-08 14:52:44 +00:00
2002-01-21 17:19:09 +00:00
2004-02-09 17:54:25 +00:00
2004-03-30 14:04:32 +00:00
2004-07-07 17:28:53 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2004-01-06 19:19:52 +00:00
2004-06-21 14:45:42 +00:00
2000-02-23 13:52:23 +00:00
2003-08-29 00:34:27 +00:00
2003-01-04 02:04:44 +00:00
2003-01-04 02:04:44 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2002-08-09 15:38:24 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2001-11-22 09:08:05 +00:00
2002-07-30 23:48:30 +00:00
2003-06-28 05:28:54 +00:00
2003-10-30 09:47:15 +00:00
2001-05-02 18:14:31 +00:00
2002-02-18 09:38:01 +00:00
2004-05-11 17:08:38 +00:00
2002-09-30 04:23:40 +00:00
2002-08-09 15:38:24 +00:00
2001-11-22 09:08:05 +00:00
2002-04-30 17:49:01 +00:00
2002-05-30 02:40:03 +00:00
2001-12-08 03:46:03 +00:00
2003-10-07 23:30:20 +00:00
2003-01-06 16:14:01 +00:00
2003-11-28 08:47:07 +00:00
2004-01-24 16:29:40 +00:00
2004-05-11 17:08:38 +00:00
2002-02-18 09:38:01 +00:00
2003-05-30 15:50:12 +00:00
2002-09-17 02:24:40 +00:00
2001-12-17 23:54:58 +00:00
2003-05-30 15:50:12 +00:00
2004-04-08 14:52:44 +00:00
2003-10-13 19:48:39 +00:00
2003-01-06 16:14:01 +00:00
2001-08-27 10:45:55 +00:00
2001-11-22 09:08:05 +00:00
2002-02-01 08:24:03 +00:00
2003-07-28 03:33:48 +00:00
2002-02-18 09:38:01 +00:00
2001-11-27 19:06:07 +00:00
2002-05-27 17:52:56 +00:00
2002-09-17 02:24:40 +00:00
2001-11-27 19:06:07 +00:00
2004-05-11 17:08:38 +00:00
2004-05-11 17:08:38 +00:00
2002-02-18 09:38:01 +00:00
2004-05-11 17:08:38 +00:00
2003-10-16 08:46:35 +00:00
2003-10-16 08:46:35 +00:00
1999-05-03 07:29:11 +00:00
2001-11-22 09:08:05 +00:00
1999-05-03 07:29:11 +00:00
2001-11-22 09:08:05 +00:00
2003-04-24 15:25:24 +00:00
2003-04-24 15:25:24 +00:00
1999-05-03 07:29:11 +00:00
2001-11-22 09:08:05 +00:00
2003-04-24 15:25:24 +00:00
2003-04-24 15:25:24 +00:00
2003-06-03 21:43:52 +00:00
2003-06-03 21:43:52 +00:00
2003-06-10 07:09:31 +00:00
2003-06-10 07:09:31 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2004-07-05 20:00:13 +00:00
2000-07-28 01:33:14 +00:00
2004-07-05 20:00:13 +00:00
2004-07-27 22:30:25 +00:00
2003-10-06 11:01:36 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2004-05-17 19:50:16 +00:00
1999-05-03 07:29:11 +00:00
2001-08-17 09:51:08 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2002-05-31 03:02:35 +00:00
2001-08-17 09:51:08 +00:00
1999-08-05 16:03:56 +00:00
1999-09-12 16:45:16 +00:00
2003-10-16 08:46:35 +00:00
2003-12-19 11:44:01 +00:00
2001-11-22 09:08:05 +00:00
2003-12-19 11:44:01 +00:00
2003-12-19 11:44:01 +00:00
2003-04-21 13:29:05 +00:00
2003-04-21 13:29:05 +00:00
2003-04-21 13:29:05 +00:00
2003-04-21 13:29:05 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2000-07-21 23:31:53 +00:00
2001-11-27 19:06:07 +00:00
2001-12-18 13:26:26 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2003-10-16 08:46:35 +00:00
1999-11-03 18:19:22 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2004-04-21 20:52:31 +00:00
2004-04-21 20:52:31 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2000-08-10 19:07:26 +00:00
2001-10-30 15:20:14 +00:00
2001-11-22 09:08:05 +00:00
2003-07-10 03:20:26 +00:00
2004-08-25 12:54:15 +00:00
1999-05-03 07:29:11 +00:00
2002-07-31 12:50:09 +00:00
2002-01-31 17:33:08 +00:00
2002-01-31 17:33:08 +00:00
1999-05-03 07:29:11 +00:00
2001-02-18 23:33:11 +00:00
1999-09-04 17:37:36 +00:00
1999-09-04 17:37:36 +00:00
2004-05-17 19:50:16 +00:00
2002-03-18 12:46:27 +00:00
1999-05-03 07:29:11 +00:00
1999-09-12 16:45:16 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2001-11-22 09:08:05 +00:00
2002-10-09 19:09:59 +00:00
2003-10-13 05:09:21 +00:00
2003-07-30 02:22:07 +00:00
2002-06-04 02:57:44 +00:00
2003-07-30 02:22:07 +00:00
2001-11-22 09:08:05 +00:00
2002-06-26 15:42:33 +00:00
2002-08-22 17:27:20 +00:00
2003-07-30 02:22:07 +00:00
2001-11-22 09:08:05 +00:00
2004-07-02 11:25:54 +00:00
2002-06-04 02:57:44 +00:00
2002-02-08 06:39:01 +00:00
2002-06-04 02:57:44 +00:00
2002-02-08 06:39:01 +00:00
2004-02-09 17:54:25 +00:00
2002-01-08 04:23:02 +00:00
2002-08-22 17:27:20 +00:00
2001-11-22 09:08:05 +00:00
2004-07-06 16:58:43 +00:00
2000-06-19 01:22:44 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2003-04-04 08:15:15 +00:00
2003-04-04 08:15:15 +00:00
2003-04-04 08:15:15 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2000-06-20 13:29:07 +00:00
1999-05-03 07:29:11 +00:00
2002-09-02 17:03:30 +00:00
2003-10-16 08:46:35 +00:00
2002-07-01 08:32:30 +00:00
2002-05-30 02:40:03 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00
2003-04-02 16:56:56 +00:00
1999-05-03 07:29:11 +00:00
1999-05-03 07:29:11 +00:00