diff options
author | Zack Weinberg <zackw@panix.com> | 2005-06-30 18:33:17 +0000 |
---|---|---|
committer | Zack Weinberg <zackw@panix.com> | 2005-06-30 18:33:17 +0000 |
commit | 2fc8bdacf338d587111c1542b4b16e6cc4511e49 (patch) | |
tree | 546953555562ff9e1c23f7c7843942a285d2b40d /gas/config/tc-arm.h | |
parent | b116d4a7eb22626b1cd82c9bf02622d41033b174 (diff) | |
download | gdb-2fc8bdacf338d587111c1542b4b16e6cc4511e49.zip gdb-2fc8bdacf338d587111c1542b4b16e6cc4511e49.tar.gz gdb-2fc8bdacf338d587111c1542b4b16e6cc4511e49.tar.bz2 |
gas:
* config/tc-arm.c (T_OPCODE_BRANCH, encode_arm_addr_mode_2)
(encode_arm_addr_mode_3, encode_arm_cp_address, do_blx, do_t_blx)
(do_t_branch, insns [b, bl]): Don't encode pipeline offset.
(s_arm_elf_cons): Disallow use of (plt) suffix.
(do_adrl): Adjust X_add_number unconditionally.
(md_pcrel_from): Rename md_pcrel_from_section, add second segT
argument. Handle all adjustment for pipeline offset here.
(md_apply_fix): No need to undo work of md_pcrel_from. No
need to extract pre-encoded pipeline adjustments from various
branch instructions. Generally, assume instructions are already
all-bits-zero in the field being fixed up. Remove all OBJ_ELF
special cases. Handle BFD_RELOC_ARM_PLT32 like
BFD_RELOC_ARM_PCREL_BRANCH.
(tc_gen_reloc): Remove OBJ_ELF special case.
* config/tc-arm.c: Define MD_PCREL_FROM_SECTION.
gas/testsuite:
* gas/arm/arm.exp: Don't special case ldconst, arm7t, or copro
for *-wince-*.
* gas/arm/wince_arm7t.d, gas/arm/wince_copro.d
* gas/arm/wince_ldconst.d: Delete.
Diffstat (limited to 'gas/config/tc-arm.h')
-rw-r--r-- | gas/config/tc-arm.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gas/config/tc-arm.h b/gas/config/tc-arm.h index c17d176..e692f52 100644 --- a/gas/config/tc-arm.h +++ b/gas/config/tc-arm.h @@ -211,6 +211,9 @@ struct arm_segment_info_type #endif +#define MD_PCREL_FROM_SECTION(F,S) md_pcrel_from_section(F,S) + +extern long md_pcrel_from_section (struct fix *, segT); extern void arm_frag_align_code (int, int); extern void arm_validate_fix (struct fix *); extern const char * elf32_arm_target_format (void); |