2005-02-02 Paul Brook <paul@codesourcery.com>
[external/binutils.git] / gas / ChangeLog
1 2005-02-02  Paul Brook  <paul@codesourcery.com>
2
3         * config/tc-arm.c (T2_OPCODE_MASK, T2_DATA_OP_SHIFT, T2_OPCODE_AND,
4         T2_OPCODE_BIC, T2_OPCODE_ORR, T2_OPCODE_ORN, T2_OPCODE_EOR,
5         T2_OPCODE_ADD, T2_OPCODE_ADC, T2_OPCODE_SBC, T2_OPCODE_SUB,
6         T2_OPCODE_RSB): Define.
7         (thumb32_negate_data_op): New function.
8         (md_apply_fix): Use it.
9
10 2006-01-31  Bob Wilson  <bob.wilson@acm.org>
11
12         * config/xtensa-istack.h (TInsn): Remove record_fix and sub_symbol
13         fields.
14         * config/tc-xtensa.h (xtensa_frag_type): Remove slot_sub_symbols field.
15         * config/tc-xtensa.c (md_apply_fix): Check for unexpected uses of
16         subtracted symbols.
17         (relaxation_requirements): Add pfinish_frag argument and use it to
18         replace setting tinsn->record_fix fields.
19         (xg_assemble_vliw_tokens): Adjust calls to relaxation_requirements
20         and vinsn_to_insnbuf.  Remove references to record_fix and
21         slot_sub_symbols fields.
22         (xtensa_mark_narrow_branches): Delete unused code.
23         (is_narrow_branch_guaranteed_in_range): Handle expr that is not just
24         a symbol.
25         (convert_frag_immed): Adjust vinsn_to_insnbuf call and do not set
26         record_fix fields.
27         (tinsn_immed_from_frag): Remove code for handling slot_sub_symbols.
28         (vinsn_to_insnbuf): Change use of record_fixup argument, replacing use
29         of the record_fix field.  Simplify error messages for unexpected
30         symbolic operands.
31         (set_expr_symbol_offset_diff): Delete.
32
33 2006-01-31  Paul Brook  <paul@codesourcery.com>
34
35         * config/tc-arm.c (arm_reg_parse): Check if reg is non-NULL.
36
37 2006-01-31  Paul Brook  <paul@codesourcery.com>
38         Richard Earnshaw <rearnsha@arm.com>
39
40         * config/tc-arm.c: Use arm_feature_set.
41         (arm_ext_*, arm_arch_full, arm_arch_t2, arm_arch_none,
42         arm_cext_iwmmxt, arm_cext_xscale, arm_cext_maverick, fpu_fpa_ext_v1,
43         fpu_fpa_ext_v2, fpu_vfp_ext_v1xd, fpu_vfp_ext_v1, fpu_vfp_ext_v2):
44         New variables.
45         (insns): Use them.
46         (md_atof, opcode_select, opcode_select, md_assemble, md_assemble,
47         md_begin, arm_parse_extension, arm_parse_cpu, arm_parse_arch,
48         arm_parse_fpu, arm_parse_float_abi, aeabi_set_public_attributes,
49         s_arm_cpu, s_arm_arch, s_arm_fpu): Use macros for accessing CPU
50         feature flags.
51         (arm_legacy_option_table, arm_option_cpu_value_table): New types.
52         (arm_opts): Move old cpu/arch options from here...
53         (arm_legacy_opts): ... to here.
54         (md_parse_option): Search arm_legacy_opts.
55         (arm_cpus, arm_archs, arm_extensions, arm_fpus)
56         (arm_float_abis, arm_eabis): Make const.
57
58 2006-01-25  Bob Wilson  <bob.wilson@acm.org>
59
60         * config/tc-xtensa.c (md_apply_fix): Set value to zero for PLT relocs.
61
62 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
63
64         * config/bfin-parse.y (asm_1): Check value range for 16 bit immediate
65         in load immediate intruction.
66
67 2006-01-21  Jie Zhang  <jie.zhang@analog.com>
68
69         * config/bfin-parse.y (value_match): Use correct conversion
70         specifications in template string for __FILE__ and __LINE__.
71         (binary): Ditto.
72         (unary): Ditto.
73
74 2006-01-18  Alexandre Oliva  <aoliva@redhat.com>
75
76         Introduce TLS descriptors for i386 and x86_64.
77         * config/tc-i386.c (tc_i386_fix_adjustable): Handle
78         BFD_RELOC_386_TLS_GOTDESC, BFD_RELOC_386_TLS_DESC_CALL,
79         BFD_RELOC_X86_64_GOTPC32_TLSDESC, BFD_RELOC_X86_64_TLSDESC_CALL.
80         (optimize_disp): Emit fix up for BFD_RELOC_386_TLS_DESC_CALL and
81         BFD_RELOC_X86_64_TLSDESC_CALL immediately, and clear the
82         displacement bits.
83         (build_modrm_byte): Set up zero modrm for TLS desc calls.
84         (lex_got): Handle @tlsdesc and @tlscall.
85         (md_apply_fix, tc_gen_reloc): Handle the new relocations.
86
87 2006-01-11  Nick Clifton  <nickc@redhat.com>
88
89         Fixes for building on 64-bit hosts:
90         * config/tc-avr.c (mod_index): New union to allow conversion
91         between pointers and integers.
92         (md_begin, avr_ldi_expression): Use it.
93         * config/tc-i370.c (md_assemble): Add cast for argument to print
94         statement.
95         * config/tc-tic54x.c (subsym_substitute): Likewise.
96         * config/tc-mn10200.c (md_assemble): Use a union to convert the
97         opindex field of fr_cgen structure into a pointer so that it can
98         be stored in a frag.
99         * config/tc-mn10300.c (md_assemble): Likewise.
100         * config/tc-frv.c (frv_debug_tomcat): Use %p to print pointer
101         types.
102         * config/tc-v850.c: Replace uses of (int) casts with correct
103         types.
104
105 2006-01-09  H.J. Lu  <hongjiu.lu@intel.com>
106
107         PR gas/2117
108         * symbols.c (snapshot_symbol): Don't change a defined symbol.
109
110 2006-01-03  Hans-Peter Nilsson  <hp@bitrange.com>
111
112         PR gas/2101
113         * config/tc-mmix.c (mmix_handle_mmixal): Don't treat #[0-9][FB] as
114         a local-label reference.
115
116 For older changes see ChangeLog-2005
117 \f
118 Local Variables:
119 mode: change-log
120 left-margin: 8
121 fill-column: 74
122 version-control: never
123 End: