]> Git Repo - binutils.git/blob - gas/ChangeLog
2004-10-12 Paul Brook <[email protected]>
[binutils.git] / gas / ChangeLog
1 2004-10-12  Paul Brook  <[email protected]>
2
3         * config/tc-arm.c (md_begin): Change EF_ARM_EABI_VER3 to
4         EF_ARM_EABI_VER4.
5         (arm_eabis): Ditto.
6         * doc/c-arm.texi: Document that we actually support -meabi=4, not
7         -meabi=3.
8
9 2004-10-08  Bob Wilson  <[email protected]>
10
11         * doc/as.texinfo (VTableEntry, VTableInherit): Add "directive" to index
12         entries.
13         (Acknowledgements): Use "GAS" instead of AS variable.
14
15 2004-10-08  Daniel Jacobowitz  <[email protected]>
16
17         * config/tc-i386.c: Include "elf/x86-64.h".
18         (i386_elf_section_type): New function.
19         * config/tc-i386.h (md_elf_section_type): Define.
20         (i386_elf_section_type): New prototype.
21
22 2004-10-08  Linus Nielsen Feltzing  <[email protected]>
23
24         * config/m68k-parse.h (enum m68k_register): New control register,
25         MBAR2 (for MCF5249)
26         * config/tc-m68k.c: Correct control register set for MCF5249.
27
28 2004-10-07  Bob Wilson  <[email protected]>
29             Sterling Augustine  <[email protected]>
30
31         * config/tc-xtensa.c (absolute_literals_supported): New global flag.
32         (UNREACHABLE_MAX_WIDTH): Define.
33         (XTENSA_FETCH_WIDTH): Delete.
34         (cur_vinsn, xtensa_fetch_width, xt_saved_debug_type, past_xtensa_end,
35         prefer_const16, prefer_l32r): New global variables.
36         (LIT4_SECTION_NAME): Define.
37         (lit4_state struct): Add lit4_seg_name and lit4_seg fields.
38         (XTENSA_PROP_*, GET_XTENSA_PROP_*, SET_XTENSA_PROP_*): Define.
39         (frag_flags struct): New.
40         (xtensa_block_info struct): Move from tc-xtensa.h.  Add flags field. 
41         (subseg_map struct): Add cur_total_freq and cur_target_freq fields.
42         (bitfield, bit_is_set, set_bit, clear_bit): Define.
43         (MAX_FORMATS): Define.
44         (op_placement_info struct, op_placement_table): New.
45         (O_pltrel, O_hi16, O_lo16): Define.
46         (directiveE enum): Rename directive_generics to directive_transform.
47         Delete directive_relax.  Add directive_schedule,
48         directive_absolute_literals, and directive_last_directive.
49         (directive_info): Rename "generics" to "transform".  Delete "relax".
50         Add "schedule" and "absolute-literals".
51         (directive_state): Adjust entries to match changes in directive_info.
52         (xtensa_relax_statesE, RELAX_IMMED_MAXSTEPS): Move to tc-xtensa.h.
53         (xtensa_const16_opcode, xtensa_movi_opcode, xtensa_movi_n_opcode,
54         xtensa_l32r_opcode, xtensa_nop_opcode, xtensa_rsr_lcount_opcode): New.
55         (xtensa_j_opcode, xtensa_rsr_opcode): Delete.
56         (align_only_targets, software_a0_b_retw_interlock,
57         software_avoid_b_j_loop_end, maybe_has_b_j_loop_end,
58         software_avoid_short_loop, software_avoid_close_loop_end,
59         software_avoid_all_short_loops, specific_opcode): Delete.
60         (warn_unaligned_branch_targets): New.
61         (workaround_a0_b_retw, workaround_b_j_loop_end, workaround_short_loop,
62         workaround_close_loop_end, workaround_all_short_loops): Default FALSE.
63         (option_[no_]link_relax, option_[no_]transform,
64         option_[no_]absolute_literals, option_warn_unaligned_targets,
65         option_prefer_l32r, option_prefer_const16, option_target_hardware):
66         New enum values.
67         (option_[no_]align_only_targets, option_literal_section_name,
68         option_text_section_name, option_data_section_name,
69         option_bss_section_name, option_eb, option_el): Delete.
70         (md_longopts): Add entries for: [no-]transform, [no-]absolute-literals,
71         warn-unaligned-targets, prefer-l32r, prefer-const16, [no-]link-relax,
72         and target-hardware.  Delete entries for [no-]target-align-only,
73         literal-section-name, text-section-name, data-section-name, and
74         bss-section-name.
75         (md_parse_option): Handle new options and remove old ones.  Accept but
76         ignore [no-]density options.  Warn for [no-]generics and [no-]relax
77         and treat them as [no-]transform.
78         (md_show_usage): Add new options and remove old ones.
79         (xtensa_setup_hw_workarounds): New.
80         (md_pseudo_table): Change "word" entry to use xtensa_elf_cons.  Add
81         "long", "short", "loc" and "frequency" entries.
82         (use_generics): Rename to ...
83         (use_transform): ... this function.  Add past_xtensa_end check.
84         (use_longcalls): Add past_xtensa_end check.
85         (code_density_available, can_relax): Delete.
86         (do_align_targets): New.
87         (get_directive): Accept dashes in directive names.  Warn about
88         [no-]generics and [no-]relax directives and treat them as
89         [no-]transform. 
90         (xtensa_begin_directive): Call md_flush_pending_output only for some
91         directives.  Check for directives inside instruction bundles.  Warn
92         about deprecated ".begin literal" usage.  Warn and ignore [no-]density
93         directives.  Handle new directives.  Check generating_literals flag
94         for literal_prefix.
95         (xtensa_end_directive): Check for directives inside instruction
96         bundles.  Warn and ignore [no-]density directives.  Handle new
97         directives.  Call xtensa_set_frag_assembly_state.
98         (xtensa_loc_directive_seen, xtensa_dwarf2_directive_loc,
99         xtensa_dwarf2_emit_insn): New.
100         (xtensa_literal_position): Call md_flush_pending_output.  Do not check
101         use_literal_section flag.
102         (xtensa_literal_pseudo): Call md_flush_pending_output.  Handle absolute
103         literals.  Use xtensa_elf_cons to parse the expression.
104         (xtensa_literal_prefix): Do not check use_literal_section.  Support
105         ".lit4" sections for absolute literals.  Change prefix convention to
106         replace ".text" (or ".t" in a linkonce section).  No need to call
107         subseg_set.
108         (xtensa_frequency_pseudo, xtensa_elf_cons, xtensa_elf_suffix): New.
109         (expression_end): Handle closing braces and colons.
110         (PLT_SUFFIX, plt_suffix): Delete.
111         (expression_maybe_register): Use new xtensa-isa.h functions.  Use
112         xtensa_elf_suffix instead of checking for plt suffix, and handle O_lo16
113         and O_hi16 expressions as well.
114         (tokenize_arguments): Handle closing braces and colons.
115         (parse_arguments): Use new xtensa-isa.h functions.  Handle "invisible"
116         operands and paired register syntax.
117         (get_invisible_operands): New.
118         (xg_translate_sysreg_op): Handle new Xtensa LX RSR/WSR/XSR syntax.  Use
119         new xtensa-isa.h functions.
120         (xtensa_translate_old_userreg_ops, xtensa_translate_zero_immed): New.
121         (xg_translate_idioms): Check if inside bundle.  Use use_transform.
122         Handle new Xtensa LX RSR/WSR/XSR syntax.  Remove code to widen density
123         instructions.  Use xtensa_translate_zero_immed.
124         (operand_is_immed, operand_is_pcrel_label): Delete.
125         (get_relaxable_immed): Use new xtensa-isa.h functions.
126         (get_opcode_from_buf): Add slot parameter.  Use new xtensa-isa.h
127         functions.
128         (xtensa_print_insn_table, print_vliw_insn): New.
129         (is_direct_call_opcode): Use new xtensa-isa.h functions.
130         (is_call_opcode, is_loop_opcode, is_conditional_branch_opcode,
131         is_branch_or_jump_opcode): Delete.
132         (is_movi_opcode, decode_reloc, encode_reloc, encode_alt_reloc): New.
133         (opnum_to_reloc, reloc_to_opnum): Delete.
134         (xtensa_insnbuf_set_operand, xtensa_insnbuf_get_operand): Use new
135         xtensa-isa.h functions.  Operate on one slot of an instruction.
136         (xtensa_insnbuf_set_immediate_field, is_negatable_branch,
137         xg_get_insn_size): Delete.
138         (xg_get_build_instr_size): Use xg_get_single_size.
139         (xg_is_narrow_insn, xg_is_single_relaxable_insn): Update calls to
140         xg_build_widen_table.  Use xg_get_single_size.
141         (xg_get_max_narrow_insn_size): Delete.
142         (xg_get_max_insn_widen_size, xg_get_max_insn_widen_literal_size,
143         xg_is_relaxable_insn): Update calls to xg_build_widen_table.  Use
144         xg_get_single_size.
145         (xg_build_to_insn): Record the loc field.  Handle OP_OPERAND_HI16U and
146         OP_OPERAND_LOW16U.  Check xg_valid_literal_expression.
147         (xg_expand_to_stack, xg_expand_narrow): Update calls to
148         xg_build_widen_table.  Use xg_get_single_size.
149         (xg_immeds_fit): Use new xtensa-isa.h functions.  Update call to
150         xg_check_operand.
151         (xg_symbolic_immeds_fit): Likewise.  Also handle O_lo16 and O_hi16, and
152         treat weak symbols conservatively.
153         (xg_check_operand): Use new xtensa-isa.h functions.
154         (is_dnrange): Delete.
155         (xg_assembly_relax): Inline previous calls to tinsn_copy.
156         (xg_finish_frag): Specify separate relax states for the frag and slot0.
157         (is_branch_jmp_to_next, xg_add_branch_and_loop_targets): Use new
158         xtensa-isa.h functions.
159         (xg_instruction_matches_option_term, xg_instruction_matches_or_options,
160         xg_instruction_matches_options): New.
161         (xg_instruction_matches_rule): Handle O_register expressions.  Call
162         xg_instruction_matches_options.
163         (transition_rule_cmp): New.
164         (xg_instruction_match): Update call to xg_build_simplify_table.
165         (xg_build_token_insn): Record loc fields.
166         (xg_simplify_insn): Check is_specific_opcode field and
167         density_supported flag.
168         (xg_expand_assembly_insn): Skip checking code_density_available.  Use
169         new xtensa-isa.h functions.  Call use_transform instead of can_relax.
170         (xg_assemble_literal): Add error handling for O_big.  Call
171         record_alignment.  Handle O_pltrel.
172         (xg_valid_literal_expression): New.
173         (xg_assemble_literal_space): Add slot parameter.  Remove call to
174         set_expr_symbol_offset.  Add call to record_alignment.  Update call to
175         xg_finish_frag.
176         (xg_emit_insn): Delete.
177         (xg_emit_insn_to_buf): Add format parameter.  Update calls to
178         xg_add_opcode_fix and xtensa_insnbuf_to_chars.
179         (xg_add_opcode_fix): Change opcode parameter to tinsn and add format
180         and slot parameters.  Handle new "alternate" relocations for absolute
181         literals and CONST16 instructions.  Check for bad uses of O_lo16 and
182         O_hi16.  Use new xtensa-isa.h functions.
183         (xg_assemble_tokens): Delete.
184         (is_register_writer): Use new xtensa-isa.h functions.
185         (is_bad_loopend_opcode): Check for xtensa_rsr_lcount_opcode instead of
186         old-style RSR from LCOUNT.
187         (next_frag_opcode): Delete.
188         (next_frag_opcode_is_loop, next_frag_format_size, frag_format_size,
189         update_next_frag_state): New.
190         (update_next_frag_nop_state): Delete.
191         (next_frag_pre_opcode_bytes): Use next_frag_opcode_is_loop.
192         (xtensa_mark_literal_pool_location): Check use_literal_section flag and
193         the state of the absolute-literals directive.  Add calls to
194         record_alignment and xtensa_set_frag_assembly_state.  Call
195         xtensa_switch_to_non_abs_literal_fragment instead of
196         xtensa_switch_to_literal_fragment.
197         (build_nop): New.
198         (assemble_nop): Use build_nop.  Update call to xtensa_insnbuf_to_chars.
199         (get_expanded_loop_offset): Change check for undefined opcode to an
200         assertion.
201         (xtensa_set_frag_assembly_state, relaxable_section,
202         xtensa_find_unmarked_state_frags, xtensa_find_unaligned_branch_targets,
203         xtensa_find_unaligned_loops, xg_apply_tentative_value): New.
204         (md_begin): Update call to xtensa_isa_init.  Initialize linkrelax to 1.
205         Set lit4_seg_name.  Call xg_init_vinsn.  Initialize new global opcodes.
206         Call init_op_placement_info_table and xtensa_set_frag_assembly_state.
207         (xtensa_init_fix_data): New.
208         (xtensa_frob_label): Reset label symbol to the current frag.  Check
209         do_align_targets and generating_literals flag.  Propagate frequency
210         info to new alignment frag.  Call xtensa_set_frag_assembly_state.
211         (xtensa_unrecognized_line): New.
212         (xtensa_flush_pending_output): Check if inside a bundle.  Add a call
213         to xtensa_set_frag_assembly_state.
214         (error_reset_cur_vinsn): New.
215         (md_assemble): Remove check for literal frag.  Remove call to
216         istack_init.  Call use_transform instead of use_generics.  Parse
217         explicit instruction format specifiers.  Move code for
218         a0_b_retw_interlock workaround to xg_assemble_vliw_tokens.  Call
219         error_reset_cur_vinsn on errors.  Add call to get_invisible_operands.
220         Add dwarf2_where call.  Remote automatic alignment for ENTRY
221         instructions.  Move call to xtensa_clear_insn_labels to the end.
222         Rearrange to handle bundles.
223         (xtensa_cons_fix_new): Delete.
224         (xtensa_handle_align): New.
225         (xtensa_frag_init): Call xtensa_set_frag_assembly_state.  Remove
226         assignment to is_no_density field.
227         (md_pcrel_from): Use new xtensa-isa.h functions.  Use decode_reloc
228         instead of reloc_to_opnum.  Handle "alternate" relocations.
229         (xtensa_force_relocation, xtensa_check_inside_bundle,
230         xtensa_elf_section_change_hook): New.
231         (xtensa_symbol_new_hook): Delete.
232         (xtensa_fix_adjustable): Check for difference of symbols with an
233         offset.  Check for external and weak symbols.
234         (md_apply_fix3): Remove cases for XTENSA_OP{0,1,2} relocs.
235         (md_estimate_size_before_relax): Return expansion for the first slot.
236         (tc_gen_reloc): Handle difference of symbols by producing
237         XTENSA_DIFF{8,16,32} relocs and by writing the value of the difference
238         into the output.  Handle new XTENSA_SLOT*_OP relocs by storing the
239         tentative values into the output when linkrelax is set.
240         (XTENSA_PROP_SEC_NAME): Define.
241         (xtensa_post_relax_hook): Call xtensa_find_unmarked_state_frags.
242         Create literal tables only if using literal sections.  Create new
243         property tables instead of old instruction tables.  Check for unaligned
244         branch targets and loops.
245         (finish_vinsn, find_vinsn_conflicts, check_t1_t2_reads_and_writes,
246         new_resource_table, clear_resource_table, resize_resource_table,
247         resources_available, reserve_resources, release_resources,
248         opcode_funcUnit_use_unit, opcode_funcUnit_use_stage,
249         resources_conflict, xg_find_narrowest_format, relaxation_requirements,
250         bundle_single_op, emit_single_op, xg_assemble_vliw_tokens): New.
251         (xtensa_end): Call xtensa_flush_pending_output.  Set past_xtensa_end
252         flag.  Update checks for workaround options.  Call
253         xtensa_mark_narrow_branches and xtensa_mark_zcl_first_insns.
254         (xtensa_cleanup_align_frags): Add special case for branch targets.
255         Check for and mark unreachable frags.
256         (xtensa_fix_target_frags): Remove use of align_only_targets flag.
257         Use RELAX_LOOP_END_BYTES in special case for negatable branch at the
258         end of a zero-overhead loop body.
259         (frag_can_negate_branch): Handle instructions with multiple slots.
260         Use new xtensa-isa.h functions
261         (xtensa_mark_narrow_branches, is_narrow_branch_guaranteed_in_range,
262         xtensa_mark_zcl_first_insns): New.
263         (xtensa_fix_a0_b_retw_frags, xtensa_fix_b_j_loop_end_frags): Error if
264         transformations are disabled.
265         (next_instrs_are_b_retw): Use new xtensa-isa.h functions.  Handle
266         multislot instructions.
267         (xtensa_fix_close_loop_end_frags, xtensa_fix_short_loop_frags):
268         Likewise.  Also error if transformations are disabled.
269         (unrelaxed_frag_max_size): New.
270         (unrelaxed_frag_min_insn_count, unrelax_frag_has_b_j): Use new
271         xtensa-isa.h functions.
272         (xtensa_sanity_check, is_empty_loop, is_local_forward_loop): Use
273         xtensa_opcode_is_loop instead of is_loop_opcode.
274         (get_text_align_power): Replace as_fatal with assertion.
275         (get_text_align_fill_size): Iterate instead of using modulus when
276         use_nops is false.
277         (get_noop_aligned_address): Assert that this is for a machine-dependent
278         RELAX_ALIGN_NEXT_OPCODE frag.  Use next_frag_opcode_is_loop,
279         xg_get_single_size, and frag_format_size.
280         (get_widen_aligned_address): Rename to ...
281         (get_aligned_diff): ... this function.  Add max_diff parameter.
282         Remove handling of rs_align/rs_align_code frags.  Use
283         next_frag_format_size, get_text_align_power, get_text_align_fill_size,
284         next_frag_opcode_is_loop, and xg_get_single_size.  Compute max_diff
285         and pass it back to caller.
286         (xtensa_relax_frag): Use relax_frag_loop_align.  Add code for new
287         RELAX_SLOTS, RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN,
288         RELAX_FILL_NOP, and RELAX_UNREACHABLE frag types.  Check relax_seen.
289         (relax_frag_text_align): Rename to ...
290         (relax_frag_loop_align): ... this function.  Assume loops can only be
291         in the first slot of an instruction.
292         (relax_frag_add_nop): Use assemble_nop instead of constructing an OR
293         instruction.  Remove call to frag_wane.
294         (relax_frag_narrow): Rename to ...
295         (relax_frag_for_align): ... this function.  Extend to handle
296         RELAX_FILL_NOP and RELAX_UNREACHABLE, as well as RELAX_SLOTS with
297         RELAX_NARROW for the first slot.
298         (find_address_of_next_align_frag, bytes_to_stretch): New.
299         (future_alignment_required): Use find_address_of_next_align_frag and
300         bytes_to_stretch.  Look ahead to subsequent frags to make smarter
301         alignment decisions.
302         (relax_frag_immed): Add format, slot, and estimate_only parameters.
303         Check if transformations are enabled for b_j_loop_end workaround.
304         Use new xtensa-isa.h functions and handle multislot instructions.
305         Update call to xg_assembly_relax.
306         (md_convert_frag): Handle new RELAX_SLOTS, RELAX_UNREACHABLE,
307         RELAX_MAYBE_UNREACHABLE, RELAX_MAYBE_DESIRE_ALIGN, and RELAX_FILL_NOP
308         frag types.
309         (convert_frag_narrow): Add segP, format and slot parameters.  Call
310         convert_frag_immed for branch instructions.  Adjust calls to
311         tinsn_from_chars, tinsn_immed_from_frag, and xg_emit_insn_to_buf.  Use
312         xg_get_single_size and xg_get_single_format.
313         (convert_frag_fill_nop): New.
314         (convert_frag_immed): Add format and slot parameters.  Handle multislot
315         instructions and use new xtensa-isa.h functions.  Update calls to
316         tinsn_immed_from_frag and xg_assembly_relax.  Check if transformations
317         enabled for b_j_loop_end workaround.  Use build_nop instead of
318         assemble_nop.  Check is_specific_opcode flag.  Check for unreachable
319         frags.  Use xg_get_single_size.  Handle O_pltrel.
320         (fix_new_exp_in_seg): Remove check for old plt flag.
321         (convert_frag_immed_finish_loop): Update calls to tinsn_from_chars and
322         xtensa_insnbuf_to_chars.  Call tinsn_immed_from_frag.  Change check
323         for loop opcode to an assertion.  Mark all frags up to the end of the
324         loop as not transformable.
325         (get_last_insn_flags, set_last_insn_flags): Use get_subseg_info.
326         (get_subseg_info): New.
327         (xtensa_move_literals): Call xtensa_set_frag_assembly_state.  Add null
328         check for dest_seg.
329         (xtensa_switch_to_literal_fragment): Rewrite to handle absolute
330         literals and use xtensa_switch_to_non_abs_literal_fragment otherwise.
331         (xtensa_switch_to_non_abs_literal_fragment): New.
332         (cache_literal_section): Add is_code parameter and pass it through to
333         retrieve_literal_seg.
334         (retrieve_literal_seg): Add is_code parameter and use it to set the
335         flags on the literal section.  Handle case where head parameter is 0.
336         (get_frag_is_no_transform, set_frag_is_specific_opcode,
337         set_frag_is_no_transform): New.
338         (xtensa_create_property_segments): Add end_property_function parameter
339         and pass it through to add_xt_block_frags.  Call bfd_get_section_flags
340         and skip SEC_DEBUGGING and !SEC_ALLOC sections.
341         (xtensa_create_xproperty_segments, section_has_xproperty): New.
342         (add_xt_block_frags): Add end_property_function parameter and call it
343         if it is non-zero.  Call xtensa_frag_flags_init.
344         (xtensa_frag_flags_is_empty, xtensa_frag_flags_init,
345         get_frag_property_flags, frag_flags_to_number,
346         xtensa_frag_flags_combinable, xt_block_aligned_size,
347         xtensa_xt_block_combine, add_xt_prop_frags,
348         init_op_placement_info_table, opcode_fits_format_slot,
349         xg_get_single_size, xg_get_single_format): New.
350         (istack_push): Inline call to tinsn_copy.
351         (tinsn_copy): Delete.
352         (tinsn_has_invalid_symbolic_operands): Handle O_hi16 and O_lo16 and
353         CONST16 opcodes.  Handle O_big, O_illegal, and O_absent.
354         (tinsn_has_complex_operands): Handle O_hi16 and O_lo16.
355         (tinsn_to_insnbuf): Use xg_get_single_format and new xtensa-isa.h
356         functions.  Handle invisible operands.
357         (tinsn_to_slotbuf): New.
358         (tinsn_check_arguments): Use new xtensa-isa.h functions.
359         (tinsn_from_chars): Add slot parameter.  Rewrite using xg_init_vinsn,
360         vinsn_from_chars, and xg_free_vinsn.
361         (tinsn_from_insnbuf): New.
362         (tinsn_immed_from_frag): Add slot parameter and handle multislot
363         instructions.  Handle symbol differences.
364         (get_num_stack_text_bytes): Use xg_get_single_size.
365         (xg_init_vinsn, xg_clear_vinsn, vinsn_has_specific_opcodes,
366         xg_free_vinsn, vinsn_to_insnbuf, vinsn_from_chars, expr_is_register,
367         get_expr_register, set_expr_symbol_offset_diff): New.
368         * config/tc-xtensa.h (MAX_SLOTS): Define.
369         (xtensa_relax_statesE): Move from tc-xtensa.c. Add
370         RELAX_CHECK_ALIGN_NEXT_OPCODE, RELAX_MAYBE_DESIRE_ALIGN, RELAX_SLOTS,
371         RELAX_FILL_NOP, RELAX_UNREACHABLE, RELAX_MAYBE_UNREACHABLE, and
372         RELAX_NONE types.
373         (RELAX_IMMED_MAXSTEPS): Move from tc-xtensa.c.
374         (xtensa_frag_type struct): Add is_assembly_state_set,
375         use_absolute_literals, relax_seen, is_unreachable, is_specific_opcode,
376         is_align, is_text_align, alignment, and is_first_loop_insn fields.
377         Replace is_generics and is_relax fields by is_no_transform field.
378         Delete is_text and is_longcalls fields.  Change text_expansion and
379         literal_expansion to arrays of MAX_SLOTS entries.  Add arrays of
380         per-slot information: literal_frags, slot_subtypes, slot_symbols,
381         slot_sub_symbols, and slot_offsets.  Add fr_prev field.
382         (xtensa_fix_data struct): New.
383         (xtensa_symfield_type struct): Delete plt field.
384         (xtensa_block_info struct): Move definition to tc-xtensa.h.  Add
385         forward declaration here.
386         (xt_section_type enum): Delete xt_insn_sec.  Add xt_prop_sec.
387         (XTENSA_SECTION_RENAME): Undefine.
388         (TC_FIX_TYPE, TC_INIT_FIX_DATA, TC_FORCE_RELOCATION, NO_PSEUDO_DOT,
389         tc_unrecognized_line, md_do_align, md_elf_section_change_hook,
390         HANDLE_ALIGN, TC_LINKRELAX_FIXUP, SUB_SEGMENT_ALIGN): Define.
391         (TC_CONS_FIX_NEW, tc_symbol_new_hook): Delete.
392         (unit_num_copies_func, opcode_num_units_func,
393         opcode_funcUnit_use_unit_func, opcode_funcUnit_use_stage_func): New.
394         (resource_table struct): New.
395         * config/xtensa-istack.h (MAX_INSN_ARGS): Increase from 6 to 10.
396         (TInsn struct): Add keep_wide, loc, fixup, record_fix, subtype,
397         literal_space, symbol, sub_symbol, offset, and literal_frag fields.
398         (tinsn_copy): Delete prototype.
399         (vliw_insn struct): New.
400         * config/xtensa-relax.c (insn_pattern_struct): Add options field.
401         (widen_spec_list): Add option conditions for density and boolean
402         instructions.  Add expansions using CONST16 and conditions for using
403         CONST16 vs. L32R.  Use new Xtensa LX RSR/WSR syntax.  Add entries for
404         predicted branches.
405         (simplify_spec_list): Add option conditions for density instructions.
406         Add entry for NOP instruction.
407         (append_transition): Add cmp function pointer parameter and use it to
408         insert the new entry in order.
409         (operand_function_LOW16U, operand_function_HI16U): New.
410         (xg_has_userdef_op_fn, xg_apply_userdef_op_fn): Handle
411         OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
412         (enter_opname, split_string): Use xstrdup instead of strdup.
413         (init_insn_pattern): Initialize new options field.
414         (clear_req_or_option_list, clear_req_option_list,
415         clone_req_or_option_list, clone_req_option_list, parse_option_cond):
416         New.
417         (parse_insn_pattern): Parse option conditions.
418         (transition_applies): New.
419         (build_transition): Use new xtensa-isa.h functions.  Fix incorrectly
420         swapped last arguments in calls to append_constant_value_condition.
421         Call clone_req_option_list.  Add warning about invalid opcode.
422         Handle LOW16U and HI16U function names.
423         (build_transition_table): Add cmp parameter and use it in calls to
424         append_transition.  Use new xtensa-isa.h functions.  Check
425         transition_applies before adding entries.
426         (xg_build_widen_table, xg_build_simplify_table): Add cmp parameter and
427         pass it through to build_transition_table.
428         * config/xtensa-relax.h (ReqOrOptionList, ReqOrOption, ReqOptionList,
429         ReqOption, transition_cmp_fn): New types.
430         (OpType enum): Add OP_OPERAND_LOW16U and OP_OPERAND_HI16U.
431         (transition_rule struct): Add options field.
432         * doc/as.texinfo (Overview): Update Xtensa options.
433         * doc/c-xtensa.texi (Xtensa Options): Delete --[no-]density,
434         --[no-]relax, and --[no-]generics options.  Update descriptions of
435         --text-section-literals and --[no-]longcalls.  Add
436         --[no-]absolute-literals and --[no-]transform.
437         (Xtensa Syntax): Add description of syntax for FLIX instructions.
438         Remove use of "generic" and "specific" terminology for opcodes.
439         (Xtensa Registers): Generalize the syntax description to include
440         user-defined register files.
441         (Xtensa Automatic Alignment): Update.
442         (Xtensa Branch Relaxation): Mention limitation of unconditional jumps.
443         (Xtensa Call Relaxation): Linker can now remove most of the overhead.
444         (Xtensa Directives): Remove confusing rules about precedence.
445         (Density Directive, Relax Directive): Delete.
446         (Schedule Directive): New.
447         (Generics Directive): Rename to ...
448         (Transform Directive): ... this node.
449         (Literal Directive): Update for absolute literals.  Missing
450         literal_position directive is now an error.
451         (Literal Position Directive): Update for absolute literals.
452         (Freeregs Directive): Delete.
453         (Absolute Literals Directive): New.
454         (Frame Directive): Minor editing.
455         * Makefile.am (DEPTC_xtensa_elf, DEPOBJ_xtensa_elf, DEP_xtensa_elf):
456         Update dependencies.
457         * Makefile.in: Regenerate.
458
459 2004-10-07  Richard Sandiford  <[email protected]>
460
461         * config/tc-mips.c (append_insn): Use fix_new rather than fix_new_exp
462         to build the second and third fixups for a composite relocation.
463         (macro_read_relocs): New function.
464         (macro_build): Use it.
465         (s_cpsetup): Pass all three composite relocation codes to macro_build.
466         Simplify fragging code accordingly.
467         (s_gpdword): Use fix_new rather than fix_new_exp for the second part
468         of the composite relocation.  Set fx_tcbit in both fixups.
469
470 2004-10-07  Richard Sandiford  <[email protected]>
471
472         * config/tc-mips.c (append_insn): Set fx_tcbit for composite relocs.
473         (md_apply_fix3): Don't treat composite relocs as done.
474
475 2004-10-07  Jan Beulich <[email protected]>
476
477         * macro.c (macro_expand_body): When ELF, use .LL rather than LL as
478         prefix for symbol names generated from the LOCAL macro directive.
479
480         * dw2gencfi.c (select_cie_for_fde): When separating CIE out from
481         FDE, treat a DW_CFA_remember_state as we do a DW_CFA_advance_loc.
482
483 2004-10-07  Tomer Levi  <[email protected]>
484
485         * config/tc-crx.c (preprocess_reglist): Handle Co-processor
486         Special registers. 
487         (md_assemble): Add error checking for Co-Processor instructions.
488         (get_cinv_parameters): Add 'b' option to invalidate the
489         branch-target cache.
490
491 2004-10-05  Paul Brook  <[email protected]>
492
493         * config/tc-arm.c (unwind): New variable.
494         (vfp_sp_encode_reg): New function.
495         (vfp_sp_reg_required_here): Use it.
496         (vfp_sp_reg_list, vfp_dp_reg_list): Remove.
497         (vfp_parse_reg_list): New function.
498         (s_arm_unwind_fnstart, s_arm_unwind_fnend, s_arm_unwind_cantunwind,
499         s_arm_unwind_personality, s_arm_unwind_personalityindex,
500         s_arm_unwind_handlerdata, s_arm_unwind_save, s_arm_unwind_movsp,
501         s_arm_unwind_pad, s_arm_unwind_setfp, s_arm_unwind_raw): New
502         functions.
503         (md_pseudo_table): Add them.
504         (do_vfp_reg2_from_sp2): Use vfp_parse_reg_list and vfp_sp_encode_reg.
505         (do_vfp_sp2_from_reg2, vfp_sp_ldstm, vfp_dp_ldstm): Ditto.
506         (set_section, add_unwind_adjustsp, flush_pending_unwind,
507         finish_unwind_opcodes, start_unwind_section, create_unwind_entry,
508         require_hashconst, add_unwind_opcode): New functions.
509         * doc/tc-arm.text: Document unwinding opcodes.
510         * NEWS: Mention the new feature.
511
512 2004-10-04  Eric Christopher  <[email protected]>
513
514         * config/tc-mips.c (md_apply_fix3): Remove erroneous assert.
515
516 2004-10-01  H.J. Lu  <[email protected]>
517
518         * config/tc-ppc.c (md_apply_fix3): Call S_SET_THREAD_LOCAL for
519         TLS relocations.
520         * config/tc-s390.c (md_apply_fix3): Likewise.
521         * config/tc-sparc.c (md_apply_fix3): Likewise.
522
523 2004-10-01  Paul Brook  <[email protected]>
524
525         * config/tc-arm.c (arm_elf_section_type): New function.
526         (arm_elf_change_section): Set section link for exidx sections.
527         * config/tc-arm.h (arm_elf_section_type): Add prototype.
528         (md_elf_section_type): Define.
529
530 2004-10-01  Bill Farmer  <[email protected]>
531
532         * config/tc-pdp11.c (md_apply_fix3): Change to sign of the SOB
533         instruction's offset.
534
535 2004-10-01  Adam Nemet  <[email protected]>
536
537         * (TARGET_FORMAT): Remove LynxOS COFF definition.
538
539 2004-10-01  Ravi Ramaseshan  <[email protected]>
540
541         * config/tc-arc.c (tc_gen_reloc): Don't assume fixP->fx_addsy is an
542         asymbol *, instead use symbol_get_bfdsym.
543
544 2004-09-30  Linus Nielsen Feltzing  <[email protected]>
545
546         * config/tc-m68k.c (select_control_regs): Add mcf5249.
547
548 2004-09-30  Paul Brook  <[email protected]>
549
550         * config/tc-arm.c (do_smi, do_nop): New functions.
551         (insns): Add ARMv6ZK instructions.
552         (md_apply_fix3): Handle BFD_RELOC_ARM_SMI.
553         (tc_gen_reloc): Ditto.
554         (arm_cpus): Add mpcore and arm1176.
555         (arm_archs): Add armv6{k,z,zk}.
556         * doc/c-arm.texi: Document new cores and architectures.
557
558 2004-09-30  Nick Clifton  <[email protected]>
559
560         * config/tc-arm.c: Use ISO C90 formatting.
561
562 2004-09-30  Vladimir Ivanov  <[email protected]>
563
564         * config/tc-arm.c (mav_reg_required_here): Allow REG_TYPE_CN
565         as alternative when REG_TYPE_MVF, REG_TYPE_MVD, REG_TYPE_MVFX or
566         REG_TYPE_MVDX is expected.
567
568 2004-09-29  Marc Bevand  <[email protected]>
569
570         * doc/c-i386.texi (i386-Mnemonics): Fix typo.
571
572 2004-09-21  James E Wilson  <[email protected]>
573
574         * config/tc-ia64.c (ENCODED_PSP_OFFSET): New.
575         (output_rp_psprel, output_pfs_psprel, output_preds_psprel,
576         output_spill_base, output_unat_psprel, output_lc_psprel,
577         output_fpsr_psprel, output_priunat_psprel, output_bsp_psprel,
578         output_bsprestore_psprel, output_rnat_psprel, output_spill_psprel,
579         output_spill_psprel_p): Use it.
580
581 2004-09-20  Tomer Levi  <[email protected]>
582
583         * config/tc-crx.c (handle_LoadStor): New function.
584         Handle load/stor unique instructions before parsing.
585
586 2004-09-17  Paul Brook  <[email protected]>
587
588         * config/tc-arm.c (s_arm_rel31): New funciton.
589         (md_pseudo_table): Add .rel31.
590         (md_apply_fix3): Handle BFD_RELOC_ARM_TARGET2,
591         BFD_RELOC_32_PCREL and BFD_RELOC_ARM_PREL31.
592         (tc_gen_reloc): Handle BFD_RELOC_ARM_PREL31 and BFD_RELOC_ARM_TARGET2.
593         (arm_fix_adjustable): Return 0 for BFD_RELOC_ARM_TARGET2.
594         (arm_parse_reloc): Add (target2).
595
596 2004-09-17  Alan Modra  <[email protected]>
597
598         * Makefile.am: Run "make dep-am".
599         * Makefile.in: Regenerate.
600         * aclocal.m4: Regenerate.
601         * configure: Regenerate.
602         * doc/Makefile.in: Regenerate.
603         * po/POTFILES.in: Regenerate.
604         * po/gas.pot: Regenerate.
605
606 2004-09-14  Hideki IWAMOTO  <[email protected]>
607
608         * config/tc-mmix.c [!LLONG_MIN]: Correct #elsif to #elif.
609         [!LLONG_MAX]: Ditto.
610
611 2004-09-13  Paul Brook  <[email protected]>
612
613         * config/tc-arm.c: Rename RELABS to TARGET1.
614
615 2004-09-13  Alan Modra  <[email protected]>
616
617         * messages.c (as_internal_value_out_of_range): Cast values passed
618         to as_bad_where or as_warn_where to proper type.
619
620 2004-09-11  Theodore A. Roth  <[email protected]>
621
622         * config/tc-avr.c: Add support for
623         atmega48, atmega88, atmega168, attiny13, attiny2313, at90can128.
624
625 2004-09-09  Alan Modra  <[email protected]>
626
627         * dw2gencfi.c (select_cie_for_fde): When separating CIE out
628         from FDE, treat a CFI_escape as we do a DW_CFA_advance_loc.
629
630 2004-09-08  Paul Brook  <[email protected]>
631
632         * config/obj-elf.c (obj_elf_section_type): Handle init_array,
633         fini_array and preinit_array section types.
634         * config/tc-ia64.c (ia64_elf_section_type): Remove init_array
635         and fini_array.
636         * doc/as.texinfo: Document extra section types.
637
638 2004-09-02  Mark Mitchell  <[email protected]>
639
640         * Makefile.am (TARG_ENV_HFILES): Add te-symbian.h.
641         * Makefile.in: Regenerated.
642         * configure.in: Set em for arm*-*-symbianelf*.
643         * configure: Regenerated.
644         * config/tc-arm.c (elf32_arm_target_format): Use Symbian target
645         vectors when appropriate.
646         * config/te-symbian.h: New file.
647
648 2004-09-03  Tomer Levi  <[email protected]>
649
650         * config/tc-crx.c (gettrap): Exception vector can be case
651         insensitive.
652         (process_label_constant): Fix a 32-bit displacement bug in branch
653         instructions.
654         (get_operandtype) : Bug fix, wrong operand was used.
655         (process_label_constant): Initialize relocation type to
656         BFD_RELOC_NONE
657
658 2004-09-01  Richard Earnshaw < [email protected]>
659
660         * tc-arm.c (arm_cpus, arm_fpus): Allow <cpu>-s as well as <cpu>s
661         for synthesizable cores.
662
663         * doc/c-arm.texi (ARM Options): Document canonical names of CPUs.
664
665 2004-08-25  Dmitry Diky  <[email protected]>
666
667         * config/tc-msp430.c:   Clean-up the code.
668         (md_relax_table): New relax table.
669         (mcu_types): Sort MCU types.
670         (md_pseudo_table): Add .profiler pseudo handler.
671         (pow2value): New function.
672         (msp430_profiler): New function.
673         (msp430_operands): Add new insns handlers.
674         (msp430_srcoperand): Add register operand handler, allow complex
675         expressions.
676         (md_estimate_size_before_relax): Rewritten.
677         (md_convert_frag): Rewritten.
678         (msp430_relax_frag): New function.
679         * config/tc-msp430.h (md_relax_frag): define macro
680         * doc/c-msp430.texi: Update information.
681
682 2004-08-24  Nick Clifton  <[email protected]>
683
684         * as.c (std_shortopts): Allow -g to take an optional argument.
685         (parse_args): Pass any switch starting with -g on to the backend
686         for parsing.
687
688 2004-08-18  Mark Mitchell  <[email protected]>
689
690         * configure.in (arm*-*-symbianelf*): New target.
691         (arm*-*-eabi*): Likewise.
692         * configure: Regenerated.
693
694 2004-08-18  Thiemo Seufer  <[email protected]>
695         * config/tc-mips.c (append_insn): Handle delay slots in branch likely
696         correctly.
697
698 2004-08-18  Jakub Jelinek  <[email protected]>
699
700         * config/tc-ia64.c (start_unwind_section): Add linkonce_empty
701         argument, don't do anything if current section is not
702         .gnu.linkonce.t.* and linkonce_empty is set.
703         (generate_unwind_image, dot_endp): Adjust callers, call
704         start_unwind_section (*, 1) if nothing will be put into the
705         section.
706
707 2004-08-17  Nick Clifton  <[email protected]>
708
709         * as.c (MD_DEBUG_FORMAT_SELECTOR): Provide default definition.
710         (show_usage): Add -g.
711         (std_longopts): Add --gen-debug.  Alpha sort the table.
712         (parse_args): Print an error message if a switch is not handled.
713         Handle the -g switch, calling md_debug_format_selector() if
714         necessary.
715         * NEWS: Mention new feature.
716         * doc/as.texinfo: Document new switch.
717         * doc/internals.texi: Document behaviour of md_parse_option.
718
719         * config/tc-arm.c (md_parse_option): Do not issue an error message
720         if the switch is not recognised.
721         * config/tc-m68k.c (md_parse_option): Likewise.
722         * config/tc-pdp11.c (md_parse_option): Likewise.
723         * config/tc-v850.c (md_parse_option): Likewise.
724
725         * as.h: Fix up formatting.
726         * tc.h: Likewise.
727
728 2004-08-16  Nick Clifton  <[email protected]>
729
730         * macro.c (macro_set_alternate): Use ISO C90 formatting.
731
732         * configure.in: Sort architecture based tables alphabetically.
733         * configure: Regenerate.
734
735 2004-08-16  Alan Modra  <[email protected]>
736
737         * config/tc-ppc.c (tc_ppc_regname_to_dw2regnum <regnames>): Replace
738         { "cc", 68 }, with { "cr", 70 }.
739
740 2004-08-13 Jan Beulich <[email protected]>
741            Nick Clifton <[email protected]>
742
743         * as.c: Add and handle new --alternate command line option.
744         * macro.c (macro_set_alternate): New.
745         * macro.h (macro_set_alternate): Declare.
746         * read.c: Add and handle new .altmacro and .noaltmacro directives.
747         * doc/as.texinfo: Document new command line option and pseudo-ops
748         as well as insert documentation originating from gasp about
749         alternate macro syntax.
750         * NEWS: Mention new command line option and pseudo-ops.
751
752 2004-08-10  Mark Mitchell  <[email protected]>
753
754         * expr.c (operand): Handle the "~", "-", and "!" operators applied
755         to bignums.
756
757 2004-08-06  Paul Brook  <[email protected]>
758
759         * config/tc-arm.c (md_apply_fix3, tc_gen_reloc, arm_parse_reloc):
760         Handle new relocations.
761         * include/elf/arm.h (elf_arm_reloc_type): Add new EABI relocations.
762
763 2004-08-05  Bob Wilson  <[email protected]>
764
765         * write.c (relax_segment): Use was_address instead of address when
766         setting fr_fix field for align frag due to backwards .org.
767
768 2004-07-29  Alexandre Oliva  <[email protected]>
769
770         Introduce SH2a support.
771         2004-02-24  Corinna Vinschen  <[email protected]>
772         * config/tc-sh.c (get_specific): Change arch_sh2a_up to
773         arch_sh2a_nofpu_up.
774         2004-02-24  Corinna Vinschen  <[email protected]>
775         * config/tc-sh.c (md_parse_option): Add sh2a-nofpu ISA handling.
776         2004-02-20  Corinna Vinschen  <[email protected]>
777         * config/tc-sh.c (sh_elf_final_processing): Move sh2a recognition
778         to end of conditional expression.
779         2004-02-20  Corinna Vinschen  <[email protected]>
780         * config/tc-sh.c: Add sh2a-nofpu support.
781         2003-12-29  DJ Delorie  <[email protected]>
782         * tc-sh.c: Add sh2a support.
783         (parse_reg): Add tbr.
784         (parse_at): Support @@(disp,tbr).
785         (get_specific): Support sh2a opcodes.
786         (insert4): New, for 4 byte relocs.
787         (build_Mytes): Support sh2a opcodes.
788         (md_apply_fix3_Mytes): Support sh2a opcodes.
789         2003-12-02  Michael Snyder  <[email protected]>
790         * config/tc-sh.c (md_parse_option): Handle sh2a.
791         (sh_elf_final_processing): Ditto.
792
793 2004-07-27  Jason Thorpe  <[email protected]>
794
795         * config/tc-hppa.h (TARGET_FORMAT): Set to "elf32-hppa-netbsd"
796         for TE_NetBSD.
797
798 2004-07-27  Alan Modra  <[email protected]>
799
800         * config/tc-ppc.c (ppc_frob_file_before_adjust): Warn if .toc too big.
801         (ppc_arch): Expand comment.
802
803 2004-07-27  Tomer Levi  <[email protected]>
804
805         * config/tc-crx.c: Support evaluating the difference between two
806         symbols.
807         * config/tc-crx.h: Likewise.
808
809 2004-07-26  H.J. Lu  <[email protected]>
810
811         * config/tc-ia64.c (start_unwind_section): Set the linked-to
812         section.
813         (ia64_elf_section_change_hook): Set the linked-to section for
814         SHT_IA_64_UNWIND.
815
816 2004-07-26  Dmitry Diky  <[email protected]>
817
818         * config/tc-msp430.c: Add new subtargets: msp430x1610,
819         msp430x1611, msp430x1612, msp430x415, msp430x417, msp430xG437,
820         msp430xG438, msp430xG439.
821
822 2004-07-25  Daniel Jacobowitz  <[email protected]>
823
824         * doc/as.texinfo (Section, PushSection): Correct documentation
825         for ELF.
826
827 2004-07-21  Jan Beulich  <[email protected]>
828
829         * config/tc-i386.c (optimize_imm): Adjust immediates to only those
830         permissible for the selected instruction suffix.
831         (match_template): Don't permit 64-bit general purpose operands in
832         32-bit mode.
833         (finalize_imm): Permit 64-bit immediates.
834         (build_modrm_byte): Don't treat 32-bit addressing in 64-bit mode
835         specially except for the width of the used base and/or index
836         registers.  For 32-bit displacements, use sign-extended
837         relocations only when using 64-bit addressing.
838         Force zero displacement on rip-relative addressing when there is
839         no other displacement.
840         (i386_index_check): Don't treat 32-bit addressing in 64-bit mode
841         specially except for the width of the used base and/or index
842         registers.
843         (parse_register): Disallow Reg64 registers in 32-bit mode.
844
845         * config/tc-i386.c: For DefaultSize instructions, don't guess a 'q'
846         suffix if the instruction doesn't support it.
847
848 2004-07-20  Maciej W. Rozycki  <[email protected]>
849
850         * config/tc-mips.c (append_insn): Handle constant expressions with
851         no associated relocation.
852         (mips_ip): Cancel the expression after use for the Q format
853         specifier.
854         (parse_relocation): Return no relocation for unsupported
855         operators.
856         (my_getSmallExpression): Return no relocation if no relocation
857         operators are used.
858
859 2004-07-19  John David Anglin  <[email protected]>
860
861         * config/obj-som.c (adjust_stab_sections): Add prototype.
862         (obj_som_compiler, obj_som_version, obj_som_copyright,
863         adjust_stab_sections): Add ATTRIBUTE_UNUSED to unused arguments.
864         * config/tc-hppa.c (update_subspace):  Likewise.
865         (is_defined_subspace): Amplify comment.
866         * config/obj-som.h (som_frob_file): Add prototype.
867
868 2004-07-19  Christopher Faylor  <[email protected]>
869             H.J. Lu  <[email protected]>
870
871         * subsegs.c (section_symbol): Don't create a new segment when
872         existing segment is undefined.
873
874 2004-07-16  Richard Earnshaw  <[email protected]>
875
876         * config/tc-arm.c: Include include/opcode/arm.h.
877         (ARM_EXT_*, ARM_ARCH_*, ARM_ANY, ARM_ALL, COPROC_ANY): Delete.
878         (FPU_FPA_EXT_* FPU_VFP_EXT_*, FPU_ANY, FPU_NONE, FPU_MAVERICK): Delete.
879         (FPU_ARCH_*): Delete.
880         * Makefile.am: Update dependencies.
881         * Makefile.in: Regenerate.
882
883 2004-07-15  Nick Clifton  <[email protected]>
884
885         * configure.in: Accept armbe as a big-endian arm configuration.
886         * configure: Regenerate.
887
888 2004-07-13  Thomas Nystrom  <[email protected]>
889
890         * config/tc-i386.c (T_SHIFTOP): New constant.
891         (intel_e05_1): Handle '&', '|' and T_SHIFTOP.
892         (intel_el1): Handle '~'.
893         (intel_get_token): Handle '<>', '&', '|' and '~'.
894
895 2004-07-13  Nick Clifton <[email protected]>
896
897         (md_assemble): Remove spurious newline from end of as_bad error
898         message.
899         (intel_e05_1): Likewise.
900         (intel_e11): Likewise.
901         (intel_match_token): Likewise.
902
903 2004-07-11  Andreas Schwab  <[email protected]>
904
905         * config/tc-m68k.c: Convert to C90.  Remove redundant
906         declarations.  Indentation fixup.
907         [M68KCOFF]: Include "obj-coff.h" instead of declaring
908         obj_coff_section ourselves.
909
910 2004-07-09  James E Wilson  <[email protected]>
911
912         * config/tc-ia64.c (default_big_endian): New.
913         (dot_byteorder, md_begin): Use it.
914         (md_parse_option): Set it.
915
916 2004-07-09  Nick Clifton  <[email protected]>
917
918         * configure.in: Change sh-sybmian-elf to sh-*-symbianelf.
919         * configure: Regenerate.
920         * NEWS: Change sh-sybmian-elf to sh-*-symbianelf.
921         * config/tc-sh.c (sh_elf_final_processing): Use renamed version of
922         sh_find_elf_flags if necessary.
923
924 2004-07-08  Richard Sandiford  <[email protected]>
925
926         * config/tc-mips.c (mips_fix_adjustable): If the full addend is
927         going to be split into more than one in-place addend, return 0
928         for relocations against mergeable sections.  Associate comments
929         with code.
930
931 2004-07-07  Tomer Levi  <[email protected]>
932
933         * Makefile.am (CPU_TYPES): Add crx.
934         (TARGET_CPU_CFILES): Add config/tc-crx.c.
935         (TARGET_CPU_HFILES): Add config/tc-crx.h.
936         (DEPTC_crx_elf): New target.
937         (DEPOBJ_crx_elf): Likewise.
938         (DEP_crx_elf): Likewise.
939         * Makefile.in: Regenerate.
940         * configure.in: Add crx* target.
941         * configure: Regenerate.
942         * config/tc-crx.c: New file.
943         * config/tc-crx.h: New file.
944         * NEWS: Mention new target.
945
946 2004-07-06  Nick Clifton  <[email protected]>
947
948         * config.in: Undefine TARGET_SYMBIAN by default.
949         * configure.in:
950         * configure: Regenerate. Add sh-symbian-elf target.  If
951         selected define TARGET_SYMBIAN.
952         * config/tc-sh.h (TARGET_FORMAT): Select a Symbian target
953         format if TARGET_SYMBIAN has been defined.
954
955         * output-file.c (output_file_create): Report the target format
956         chosen when bfd_openw reports that it is invalid.
957
958         * config/obj-coff.c (coff_pseudo_table): Only define the weak
959         pseudo for BFD based assemblers.
960
961 2004-07-05  Andrew Stubbs <[email protected]>
962
963         gas:
964         * config/tc-sh.c (md_assemble): Change isspace to ISSPACE.
965         (md_parse_option): Remove redundant -isa testing.
966         Make bfd_arch variable const.
967         (md_show_usage): Make bfd_arch variable const.
968
969 2004-07-03  James E Wilson  <[email protected]>
970
971         * config/tc-ia64.c (emit_one_bundle): Check and set insn_addr.
972         * config/tc-ia64.h (md_frag_check): Define.
973
974 2004-07-03  Aaron W. LaFramboise  <[email protected]>
975
976         * config/obj-coff.c (obj_coff_weak): New .weak syntax for PE weak
977         externals.
978         * doc/as.texinfo (Weak): Document PE weak symbols.
979
980 2004-07-03  Richard Sandiford  <[email protected]>
981
982         * config/tc-mips.c (HAVE_IN_PLACE_ADDENDS): New macro.
983         (reloc_needs_lo_p): Only return true if HAVE_IN_PLACE_ADDENDS.
984         (mips_frob_file): Rework so that only a single pass through the
985         relocs is needed.  Allow %lo()s to have higher offsets than their
986         corresponding %hi()s or %got()s.
987
988 2004-07-02  Nick Clifton  <[email protected]>
989
990         * config/tc-arm.c (md_apply_fix3:BFD_RELOC_ARM_IMMEDIATE): Do not
991         allow values which have come from undefined symbols.
992         Always consider this fixup to have been processed as a reloc
993         cannot be generated for it.
994
995 2004-07-02  Alan Modra  <[email protected]>
996
997         * frags.h (struct frag): Add has_code and insn_addr fields.
998         * write.c (cvt_frag_to_fill): Invoke md_frag_check.
999         * config/tc-ppc.c (md_assemble): Check and set insn_addr.
1000         * config/tc-ppc.h (md_frag_check): Define.
1001
1002 2004-06-28  Maciej W. Rozycki  <[email protected]>
1003
1004         * doc/Makefile.am (info): Rename goal to...
1005         (info-local): ... this, to preserve implicit dependencies.
1006         * doc/Makefile.in: Regenerate with automake 1.8.5.
1007
1008 2004-06-25  Kazuhiro Inaoka  <[email protected]>
1009
1010         * config/tc-m32r.c (md_convert_frag): Changed for @PLT.
1011         (m32r_cgen_record_fixup_exp): Changed for  @GOTOFF, @GOT.
1012         (m32r_fix_adjustable): Changed for  @GOTOFF, @GOT, @PLT.
1013         (tc_gen_reloc): Likewise.
1014         (m32r_end_of_match): Add for @GOTOFF, @GOT, @PLT.
1015         (m32r_parse_name): Likewise.
1016         (m32r_cgen_parse_fix_exp): Likewise.
1017         * config/tc-m32r.h (md_parse_name): Define for @GOTOFF, @GOT, @PLT.
1018         (O_PIC_reloc): Likewise.
1019         (TC_CGEN_PARSE_FIX_EXP): Likewise..
1020         * cgen.c (gas_cgen_parse_operand): Add TC_CGEN_PARSE_FIX_EXP
1021         for @GOTOFF, @GOT, @PLT.
1022
1023 2004-06-21 Jan Beulich  <[email protected]>
1024
1025         * gas/symbols.c: While discarding ordinary local absolute symbols
1026         when --strip-local-absolute is in effect, retain file symbols.
1027
1028 2004-06-20  Andreas Schwab  <[email protected]>
1029
1030         * config/tc-m68k.c (mri_chip): Replace current_chip, not augment.
1031         (md_parse_option): Likewise.
1032
1033 2004-06-17  Jan Beulich <[email protected]>
1034
1035         * config/tc-i386.c: Deal with LEX_QM the same way as with LEX_AT.
1036         * config/te-netware.h: New file.
1037         * config/te-ppcnw.h: Delete: Obsolete.
1038         * configure.in: Eliminate ill NetWare targets. Make generic
1039         NetWare target use proper emulation.
1040         * Makefile.am: Eliminate reference to obsolete te-ppcnw.h, add
1041         reference to new te-netware.h.
1042         * configure: Regenerate.
1043         * Makefile.in: Regenerate.
1044
1045 2004-06-15  Martin Schwidefsky  <[email protected]>
1046
1047         * config/tc-s390.c (s390_insn): Avoid incorrect signed/unsigned
1048         comparison in .insn pseudo operation.
1049
1050 2004-06-15  Alan Modra  <[email protected]>
1051
1052         * config/obj-coff.c (coff_adjust_section_syms): Use
1053         bfd_get_section_size instead of bfd_get_section_size_before_reloc.
1054         (coff_frob_section): Likewise.
1055         * config/tc-mips.c (md_apply_fix3): Likewise.
1056         * config/obj-elf.c (elf_frob_file): Use bfd_set_section_size.
1057         (elf_frob_file_after_relocs): Likewise.
1058
1059 2004-06-10  John David Anglin  <[email protected]>
1060
1061         * config/tc-hppa.c (log2): Rename to exact_log2.
1062         (pa_next_subseg): Delete unused function.
1063         (create_new_space): Mark unused arguments with ATTRIBUTE_UNUSED.
1064         (create_new_subspace): Likewise.
1065
1066         Bug gas/213
1067         * config/tc-hppa.c (hppa_fix_adjustable): Allow reduction of fake
1068         labels.  Fix warning.
1069
1070 2004-05-28  DJ Delorie  <[email protected]>
1071
1072         * config/tc-mn10300.h (tc_fix_adjustable): Define.
1073         * config/tc-mn10300.c (mn10300_fix_adjustable): Don't adjust debug
1074         or non-merged symbols.
1075
1076 2004-05-28  H.J. Lu  <[email protected]>
1077
1078         * config/tc-ia64.c (remove_marked_resource): Save, clear and
1079         restore the old slot when inserting srlz.i/srlz.d.
1080
1081 2004-05-28  Andrew Stubbs <[email protected]>
1082
1083         * Makefile.am: Regenerate dependecies.
1084         * Makefile.in: Regenerate.
1085         * config/tc-sh.c (valid_arch): Make unsigned.
1086         (preset_target_arch): Likewise.
1087         (md_begin): Use new architecture flags system.
1088         (get_specific): Likewise.
1089         (assemble_ppi): Likewise.
1090         (md_assemble): Likewise. Also fix error check for bad opcodes.
1091         (md_parse_option): Likewise. Also generate -isa values according
1092         to the table in bfd/cpu-sh.c instead of just constants. Also
1093         allow <arch>-up ISA variants.
1094         (sh_elf_final_processing): Replace if-else chain with a call to
1095         sh_find_elf_flags().
1096         * testsuite/gas/sh/arch: New directory.
1097         * testsuite/gas/sh/arch/arch.exp: New test script.
1098         * testsuite/gas/sh/arch/arch_expected.txt: New file.
1099         * testsuite/gas/sh/arch/sh.s: New file.
1100         * testsuite/gas/sh/arch/sh2.s: New file.
1101         * testsuite/gas/sh/arch/sh-dsp.s: New file.
1102         * testsuite/gas/sh/arch/sh2e.s: New file.
1103         * testsuite/gas/sh/arch/sh3-nommu.s: New file.
1104         * testsuite/gas/sh/arch/sh3.s: New file.
1105         * testsuite/gas/sh/arch/sh3-dsp.s: New file.
1106         * testsuite/gas/sh/arch/sh3e.s: New file.
1107         * testsuite/gas/sh/arch/sh4-nommu-nofpu.s: New file.
1108         * testsuite/gas/sh/arch/sh4-nofpu.s: New file.
1109         * testsuite/gas/sh/arch/sh4.s: New file.
1110         * testsuite/gas/sh/arch/sh4a-nofpu.s: New file.
1111         * testsuite/gas/sh/arch/sh4al-dsp.s: New file.
1112         * testsuite/gas/sh/arch/sh4a.s: New file.
1113
1114 2004-05-28  Peter Barada <[email protected]>
1115
1116         * config/gc-m68k.c(m68k_ip): Convert mode 5 addressing
1117         with zero offset into mode 2 addressing to save a word.
1118
1119 2004-05-27  H.J. Lu  <[email protected]>
1120
1121         * config/tc-ia64.c (ar_is_in_integer_unit): Removed.
1122         (ar_is_only_in_integer_unit): New.
1123         (ar_is_only_in_memory_unit): New.
1124         (generate_unwind_image): Silence gcc on 32bit host.
1125         (md_assemble): Use ar_is_only_in_integer_unit instead of
1126         ar_is_in_integer_unit. Check AR access.
1127
1128 2004-05-27  Peter Barada  <[email protected]>
1129
1130         * config/tc-m68k.c (md_begin): Sort the opcode table into
1131         alphabetical order.
1132         (m68k_compare_opcode): New function to do the sorting.
1133
1134 2004-05-24  Peter Barada  <[email protected]>
1135
1136         * config/m68k-parse.y(operand): Allow for MAC/EMAC mask
1137         addressing on MIT style operands.
1138         * config/m68k-parse.y(yylex): Allow '-&' for predecrement
1139         w/mask addressing.
1140         * config/tc-m68k.c(install_operand): Comment 'G' and 'H' type
1141         operands.
1142
1143 2004-05-23  Alan Modra  <[email protected]>
1144
1145         * expr.c (operand, operator): Don't reject '++' and '--'.
1146
1147 2004-05-20  Richard Sandiford  <[email protected]>
1148
1149         * config/tc-mips.c (append_insn): Use ISA-encoded addresses in MIPS16
1150         dwarf tables.
1151
1152 2004-05-17  Adam Nemet  <[email protected]>
1153
1154         * configure.in: Add ppc-*-lynxos*.  Update i386-*-lynxos* to ELF.
1155         * configure: Regenerate.
1156
1157 2004-05-13  Paul Brook  <[email protected]>
1158
1159         * dw2gencfi.c (output_cie):  Handle dwarf3 format CIE entries.
1160
1161 2004-05-13  Joel Sherrill <[email protected]>
1162
1163         * configure.in (or32-*-rtems*): Switch to elf.
1164         * configure: Regenerate.
1165
1166 2004-05-13  Nick Clifton  <[email protected]>
1167
1168         * po/fr.po: Updated French translation.
1169
1170 2004-05-11  Nick Clifton  <[email protected]>
1171
1172         * doc/as.texinfo (Section): Document G and T flags to .section
1173         directive.  Document the extra arguments that the G flag
1174         requires.  Document the #tls flag.
1175
1176 2004-05-11  H.J. Lu  <[email protected]>
1177
1178         * subsegs.c (section_symbol): Create a new section symbol if
1179         the existing one doesn't match.
1180         * symbols.c (symbol_set_bfdsym): Don't reset BFD section symbol.
1181
1182 2004-05-07  Richard Sandiford  <[email protected]>
1183
1184         * config/tc-mips.c (append_insn, mips_emit_delays): Extend -mfix-vr4120
1185         to cope with VR4181A errata MD(1) and MD(4).
1186
1187 2004-05-07  Brian Ford  <[email protected]>
1188
1189         * NEWS: Mention .secrel32 for pe[i]-i386.
1190
1191 2004-05-07  Alexandre Oliva  <[email protected]>
1192
1193         * config/tc-frv.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1194         (HANDLE_ALIGN): New.
1195
1196 2004-05-06  Daniel Jacobowitz  <[email protected]>
1197
1198         * Makefile.am (DIST_SUBDIRS): Define.
1199         * aclocal.m4: Regenerate with automake 1.8.4.
1200         * Makefile.in: Likewise.
1201         * doc/Makefile.in: Likewise.
1202
1203 2004-05-06  David Mosberger-Tang  <[email protected]>
1204
1205         * config/tc-ia64.c (dot_serialize): Declare.
1206         (dot_serialize): New function.
1207         (md_pseudo_table): Add ".serialize.data" and
1208         ".serialize.instruction" directives.
1209
1210 2004-05-06  Nick Clifton  <[email protected]>
1211
1212         * messages (as_internal_value_out_of_range): Print a message about
1213         a value being out of range.  Be consistent about whether the
1214         values are printed in decimal or hexadecimal.
1215         (as_warn_value_out_of_range): Generate a warning message about an
1216         out of range value.
1217         (as_bad_value_out_of_range): Generate an error message about an
1218         out of range value.
1219         * as.h: Prototype the new functions.
1220         * config/tc-alpha.c (insert_operand): Use new function.
1221         * config/tc-arc.c (arc_insert_operand): Likewise.
1222         * config/tc-mn10200.c (mn10200_insert_operand): Likewise.
1223         * config/tc-mn10300.c (mn10300_insert_operand): Likewise.
1224         * config/tc-ppc.c (ppc_insert_operand): Likewise.
1225         * config/tc-s390.c (s390_insert_operand): Likewise.
1226         * config/tc-v850.c (v850_insert_operand): Likewise.
1227
1228 2004-05-05  Alexandre Oliva  <[email protected]>
1229
1230         * configure.in: Set em=linux for frv-*-*linux*.
1231         * configure: Rebuilt.
1232         * config/tc-frv.h (TARGET_FORMAT): Use elf32-frvfdpic if...
1233         (frv_md_fdpic_enabled): New.
1234         * config/tc-frv.c (frv_md_fdpic_enabled): New.
1235         (DEFAULT_FDPIC): New.
1236         (frv_flags): Use DEFAULT_FDPIC.
1237         (frv_pic_flag): Likewise.
1238         (OPTION_NOPIC): New.
1239         (md_longopts): Add -mnopic.
1240         (md_parse_option): Handle it.
1241         (md_show_usage): Add -mfdpic and -mnopic.
1242
1243 2004-05-05  Peter Barada  <[email protected]>
1244
1245         * config/tc-m68k.c: Add find_cf_chip to print list of valid
1246         chips for invalid coldfire instructions, rename selectors
1247         for ColdFire sub-variants, add 521x,5249,547x,548x and aliases,
1248         add current_chip to track which chip is referred to(including save/restore),
1249         use current_chip to select control registers, not current_arch.
1250         (md_show_usage): Add new chips.
1251         * doc/c-m68k.texi: Document new command line switches.
1252
1253 2004-05-05  Jakub Jelinek  <[email protected]>
1254
1255         * tc-s390.h (md_do_align, HANDLE_ALIGN): Remove.
1256         (NOP_OPCODE): Define.
1257         (s390_align_code): Remove prototype.
1258         * tc-s390.c (s390_align_code): Remove.
1259
1260 2004-05-04  H.J. Lu  <[email protected]>
1261
1262         * config/tc-ia64.c (make_unw_section_name): Removed.
1263         (start_unwind_section): New function.
1264         (generate_unwind_image): Take const segT instead of const
1265         char *.
1266         (dot_handlerdata): Adjusted.
1267         (dot_endp): Likewise.
1268
1269 2004-05-02  H.J. Lu  <[email protected]>
1270
1271         * config/obj-elf.c (obj_elf_change_section): Allow the
1272         ".note.GNU-stack" section has SHF_EXECINSTR.
1273
1274 2004-05-02  H.J. Lu  <[email protected]>
1275
1276         * config/obj-elf.c (get_section): Return bfd_boolean.
1277         (obj_elf_change_section): Call bfd_get_section_by_name_if
1278         instead of bfd_map_over_sections.
1279
1280 2004-04-30  H.J. Lu  <[email protected]>
1281
1282         * config/obj-elf.c (get_section): New function.
1283         (obj_elf_change_section): Support multiple sections with same
1284         name.
1285
1286 2004-04-30  Nick Clifton  <[email protected]>
1287
1288         * config/tc-arm.c (create_register_alias): Fix typo checking for
1289         case sensitive register aliases.
1290         (co_proc_number): Use error message string in all_reg_maps[]
1291         array.
1292         (cp_reg_required_here): Likewise.
1293         (fp_reg_required_here): Likewise.
1294
1295 2004-04-29  Brian Ford  <[email protected]>
1296
1297         * dwarf2dbg.c (dwarf2_finish): Add SEC_DEBUGGING to section flags.
1298
1299 2004-04-28  Chris Demetriou  <[email protected]>
1300
1301         * config/tc-mips.c (HAVE_32BIT_ADDRESSES, append_insn, macro_build)
1302         (load_address, macro, mips_ip, md_parse_option)
1303         (mips_force_relocation, mips_validate_fix, md_apply_fix3)
1304         (s_change_sec, pic_need_relax, tc_gen_reloc): Remove all
1305         embedded-PIC handling, and update comments.
1306         (SWITCH_TABLE): Remove.
1307         * config/tc-mips.h (DIFF_EXPR_OK): Delete.
1308         (enum mips_pic_level): Remove EMBEDDED_PIC.
1309         (EXTERN_FORCE_RELOC): Remove embedded-PIC handling.
1310         (TC_FORCE_RELOCATION): Update comment.
1311         * ecoff.c (ecoff_build_lineno): Add comment about some code that
1312         might be safe to remove now that MIPS embedded-PIC is gone.
1313
1314 2004-04-28  John David Anglin  <[email protected]>
1315
1316         * config/obj-som.c (obj_som_init_stab_section): Add new arguments in
1317         call to obj_set_subsection_attributes.
1318         (obj_som_init_stab_section): Likewise.
1319         * config/tc-hppa.c (default_subspace_dict): Add comdat field.
1320         (pa_def_subspaces): Provide comdat default.
1321         (pa_subspace): Handle new "comdat" parameter.  Set SEC_LINK_ONCE and
1322         not SEC_IS_COMMON if section is comdat, common or dup_common.  Update
1323         calls to create_new_subspace and update_subspace to pass comdat flag.
1324         (create_new_subspace, update_subspace): Add new comdat argument.  Use
1325         it in calls to obj_set_subsection_attributes.
1326         * doc/c-hppa.texi (.subspa, .nsubspa): Document new comdat parameter
1327         and use of comdat, common and dup_comm parameters.
1328
1329 2004-04-26  H.J. Lu  <[email protected]>
1330
1331         * config/obj-elf.c (obj_elf_change_section): Check if the old
1332         group name is NULL before comparison.
1333
1334 2004-04-23  Chris Demetriou  <[email protected]>
1335
1336         * config/tc-mips.h (mips_dwarf2_addr_size): Prototype.
1337
1338 2004-04-23  Thiemo Seufer  <[email protected]>
1339
1340         * config/tc-mips.c (s_mipsset): Set default CPU type for .set mipsN.
1341
1342 2004-04-23  Chris Demetriou  <[email protected]>
1343
1344         * config/tc-mips.c (md_longopts): Remove -membedded-pic option.
1345         (OPTION_MEMBEDDED_PIC): Remove.
1346         (OPTION_TRAP, OPTION_BREAK, OPTION_EB, OPTION_EL)
1347         (OPTION_FP32, OPTION_GP32, OPTION_CONSTRUCT_FLOATS)
1348         (OPTION_NO_CONSTRUCT_FLOATS, OPTIONS_FP64, OPTION_GP64)
1349         (OPTION_RELAX_BRANCH, OPTION_NO_RELAX_BRANCH)
1350         (OPTION_ELF_BASE): Renumber.
1351         (md_parse_option): Remove OPTION_MEMBEDDED_PIC handling.
1352         (md_show_usage): Remove mention of -membedded-pic.
1353         * doc/as.texinfo: Remove mention of -membedded-pic.
1354
1355 2004-04-23  Thiemo Seufer  <[email protected]>
1356
1357         * config/tc-mips.h (USE_GLOBAL_POINTER_OPT): Remove.
1358         * config/tc-mips.c (RDATA_SECTION_NAME, mips_target_format): Remove
1359         a.out support.
1360         (md_begin, mips_ip, md_parse_option, s_change_sec, s_option,
1361         s_abicalls, nopic_need_relax, tc_gen_reloc): Remove uses of
1362         USE_GLOBAL_POINTER_OPT.
1363
1364 2004-04-22  Thiemo Seufer  <[email protected]>
1365
1366         * config/tc-mips.c (macro): One more use of load_delay_nop.
1367
1368 2004-04-22  Atsushi Nemoto  <[email protected]>
1369
1370         * config/tc-mips.c (load_delay_nop): New function.
1371         (load_address, macro): Use load_delay_nop() to build a nop
1372         which can be omitted with gpr_interlocks.
1373
1374 2004-04-22  Thiemo Seufer  <[email protected]>
1375
1376         * config/tc-mips.c (hilo_interlocks, gpr_interlocks,
1377         cop_interlocks): Remove superfluous CPU entries.
1378
1379 2004-04-22  Paul Brook  <[email protected]>
1380
1381         * config/tc-arm.c (mav_parse_offset): Value must be multiple of 4.
1382
1383 2004-04-22  Peter Barada <[email protected]>
1384
1385         * NEWS: Added support for EMAC instructions and MAC/EMAC
1386         Motorola syntax.
1387         * config/m68k-parse.h: Add ACC[123], ACCEXT{01,23}, MAC/EMAC
1388         scale factor tokens, trailing_ampersand to mark mask addressing
1389         for MAC/EMAC instructions.
1390         * config/m68k-parse.y: Add options_ampersand clause, '<<',
1391         '>>'.
1392         (yylex): Handle '>', '<', and '&' following '+'.
1393         * config/tc-m68k.c: Set mcfmac/mcfemac on appropriate ColdFire
1394         architectures in archs[].
1395         (m68k-ip): Add '4', 'e', 'g', 'i', cases to handle mask addressing
1396         for MAC/EMAC instructions, ACC[0123], ACCEXT{01,23}, and '<<'/'>>'
1397         respectively.
1398         (m68k_ip): Handle trailing '&' on MAC/EMAC insns.
1399         (install_operand): Fix 'n' case, Add 'F', 'f', 'G', 'H', 'I', ']'
1400         cases.
1401         Add EMAC operands to init_table[].
1402
1403 2004-04-22  Bruno De Bus <[email protected]>
1404
1405         * config/tc-arm.h (enum mstate): Move here, add MAP_UNDEFINED
1406         state.
1407         (TC_SEGMENT_INFO_TYPE): Define to enum mstate.
1408         * config/tc-arm.c (enum mstate): Delete from here.
1409         (mapping_state): Remove the static mapstate variable and instead
1410         store the state in the segment.  This allows a per-section mapping
1411         state.  Handle and ignore MAP_UNDEFINED states.
1412         (arm_elf_change_section): Get the current mapping state from the
1413         new section.
1414         (s_ltorg): Set the mapping state to MAP_DATA.
1415         (arm_cleanup): Use arm_elf_change_section to get the mapping state
1416         for each pool as it is emitted.
1417
1418 2004-04-22  Nick Clifton  <[email protected]>
1419
1420         * config/tc-arm.h: Formatting tidy ups.
1421
1422 2004-04-20  Chris Demetriou  <[email protected]>
1423
1424         * NEWS: Note that MIPS -membedded-pic option is deprecated.
1425
1426 2004-04-20  DJ Delorie  <[email protected]>
1427
1428         * config/tc-i386.h [TE_PE] (TC_CONS_FIX_NEW): Define.
1429         * config/tc-i386.c (md_pseudo_table) [TE_PE]: Add "secrel32".
1430         [TE_PE] (O_secrel): Define.
1431         [TE_PE] (x86_pe_cons_fix_new): New.
1432         [TE_PE] (pe_directive_secrel): Likewise.
1433         (tc_gen_reloc) [TE_PE]: Support BFD_RELOC_32_SECREL.
1434
1435 2004-04-19  Eric Christopher  <[email protected]>
1436
1437         * config/tc-mips.c (mips_dwarf2_addr_size): Revert part
1438         of previous patch for fix in gcc.
1439
1440 2004-04-19  Jakub Jelinek  <[email protected]>
1441
1442         * config/tc-xtensa.c (xg_assembler_literal): Fix a typo.
1443
1444 2004-04-19  Nathan Sidwell  <[email protected]>
1445
1446         * read.c (do_align): Call md_flush_pending_output, if defined.
1447
1448 2004-04-16  Alan Modra  <[email protected]>
1449
1450         * expr.c (operand): Correct checks for ++ and --.
1451
1452 2004-04-14  H.J. Lu  <[email protected]>
1453
1454         * config/tc-generic.c: Add some comments.
1455
1456 2004-04-14  Richard Sandiford  <[email protected]>
1457
1458         * doc/c-mips.texi (-m{no-,}fix-vr4120): Renamed from
1459         -{no-}mfix-vr4122-bugs.
1460         * config/tc-mips.c (mips_fix_vr4120): Renamed from mips_fix_4122_bugs.
1461         (append_insn, mips_emit_delays): Update accordingly.
1462         (OPTION_FIX_VR4120, OPTION_NO_FIX_VR4120): Renamed from *VR4122.
1463         (md_longopts): Change -{no-,}mfix-vr4122-bugs to -m{no-,}fix-vr4120.
1464         (md_parse_option): Update after above changes.
1465         (md_show_usage): Add -mfix-vr4120.
1466
1467 2004-04-13  Bob Wilson  <[email protected]>
1468
1469         * doc/as.texinfo (Sub-Sections): Conditionalize COFF-specific use
1470         of .section directive; add a reference to the ELF .subsection
1471         directive.
1472
1473 2004-04-13  Kazuhiro Inaoka  <[email protected]>
1474
1475         * config/tc-m32r.c (md_assemble): Fixed infinite loop bug
1476         in parallel.
1477
1478 2004-04-11  Thiemo Seufer  <[email protected]>
1479
1480         * Makefile.am: Remove mips from aout targets.
1481         * Makefile.in: Regenerate.
1482         * configure.in: Remove mips-dec-bsd* target.
1483         * configure: Regenerate.
1484
1485 2004-04-07  Alan Modra  <[email protected]>
1486
1487         PR 96
1488         * config/tc-ppc.c (ppc_elf_suffix): Add valid32 and valid64 fields
1489         to struct map_bfd.  Adjust MAP macro, and define MAP32, MAP64.
1490         Update "mapping".  Restrict some @ modifiers to 32 bit.
1491
1492 2004-04-01  Asgari Jinia  <[email protected]>
1493             Dhananjay Deshpande <[email protected]>
1494
1495         * config/tc-sh.c (dont_adjust_reloc_32): New variable.
1496         (sh_fix_adjustable): Avoid adjusting BFD_RELOC_32 when
1497         dont_adjust_reloc_32 is set.
1498         (md_longopts): Add option -renesas.
1499         (md_parse_option, md_show_usage): Likewise.
1500         * doc/c-sh.texi: Likewise.
1501
1502 2004-04-01  Dave Korn  <[email protected]>
1503
1504         * config/tc-dlx.c (md_assemble): set fx_no_overflow flag for
1505         hi16 and lo16 fixS structs.
1506         (md_assemble): generate bit_fixS for RELOC_DLX_LO16 in
1507         exactly the same way as for RELOC_DLX_REL16.
1508         (machine_ip): properly respect LO flag in the_insn and
1509         output RELOC_DLX_LO16 rather than RELOC_DLX_16.
1510         (md_apply_fix3): apply RELOC_DLX_LO16.
1511
1512 2004-03-30  Stan Shebs  <[email protected]>
1513
1514         Remove long-obsolete MPW support.
1515         * mpw-config.in, mpw-make.sed, mac-as.r: Remove files.
1516         * configure.in: Remove mention of ppc-*-mpw* config.
1517         * configure.in: Likewise.
1518
1519 2004-03-30  Nick Clifton  <[email protected]>
1520
1521         * config/tc-arm.c (meabi_flags): Make its use conditional upon
1522         OBJ_ELF being defined.
1523
1524 2004-03-27  Alan Modra  <[email protected]>
1525
1526         * config/obj-aout.c (obj_aout_type): Remove #ifdef BFD_ASSEMBLER code.
1527
1528 2004-03-23  Paul Brook  <[email protected]>
1529
1530         * config/tc-arm.c (meabi_flags): New variable.
1531         (arm_parse_eabi): New function.
1532         (md_begin): Set flags for EABI v3.
1533         (arm_eabis): Add.
1534         (arm_long_opts): Add meabi.
1535         * doc/as.texinf <ARM>: Document -meabi.
1536         * doc/c-arm.texi: Ditto.
1537
1538 2004-03-22  Bob Wilson  <[email protected]>
1539
1540         * config/tc-xtensa.c (xtensa_post_relax_hook): Create literal
1541         tables even when use_literal_section flag is not set.
1542
1543 2004-03-22  Alan Modra  <[email protected]>
1544
1545         * config/tc-sh.c: Remove trailing whitespace.
1546
1547 2004-03-22  Hans-Peter Nilsson  <[email protected]>
1548
1549         * doc/c-cris.texi (CRIS-Opts): Document --no-mul-bug-abort,
1550         --mul-bug-abort and the default behavior.
1551         * config/tc-cris.c (cris_insn_kind): New member CRIS_INSN_MUL.
1552         (err_for_dangerous_mul_placement): New variable.
1553         (STATE_MUL, OPTION_MULBUG_ABORT_ON, OPTION_MULBUG_ABORT_OFF): New
1554         macros.
1555         (md_cris_relax_table): Have placeholder for STATE_MUL.
1556         (md_longopts): New options --mul-bug-abort and --no-mul-bug-abort.
1557         (cris_relax_frag) <case ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: New
1558         case doing nothing.
1559         (md_estimate_size_before_relax) <case ENCODE_RELAX (STATE_MUL,
1560         STATE_BYTE)>: Ditto.
1561         (md_convert_frag) <ENCODE_RELAX (STATE_MUL, STATE_BYTE)>: Check
1562         alignment and position of this frag, emit error message if
1563         suspicious.
1564         (md_assemble): For a multiply insn and when checking it,
1565         transform the current frag into a special frag for that purpose.
1566         (md_parse_option) <case OPTION_MULBUG_ABORT_OFF, case
1567         OPTION_MULBUG_ABORT_ON>: Handle new options.
1568
1569 2004-03-19  Bob Wilson  <[email protected]>
1570
1571         * config/tc-xtensa.c (mark_literal_frags): New function.
1572         (xtensa_move_literals): Call mark_literal_frags for all literal
1573         segments, including init and fini literal segments.
1574         (xtensa_post_relax_hook): Swap use of xt_insn_sec and xt_literal_sec.
1575
1576 2004-03-19  John David Anglin  <[email protected]>
1577
1578         * tc-hppa.c (cons_fix_new_hppa): Check for PC relative base type.
1579         (pa_comm): Set BSF_OBJECT in symbol flags.
1580
1581 2004-03-19  Alan Modra  <[email protected]>
1582
1583         * Makefile.am: Run "make dep-am".
1584         * Makefile.in: Regenerate.
1585         * doc/Makefile.in: Regenerate.
1586         * config.in: Regenerate.
1587         * po/gas.pot: Regenerate.
1588
1589 2004-03-18  Nathan Sidwell  <[email protected]>
1590
1591         * read.c (read_a_source_file): Use demand_empty_rest_of_line.
1592         (demand_empty_rest_of_line): Issue an error here.
1593         (ignore_rest_of_line): Silently skip to end.
1594         (demand_copy_string): Issue an error, not warning.
1595         (equals): Likewise.
1596         * config/obj-elf.c (obj_elf_section_name): Likewise.
1597         (obj_elf_section): Likewise.
1598         * config/tc-arc.c (arc_extoper): Remove bogus NULL checks.
1599         (arc_extinst): Likewise.
1600         * config/tc-ia64.c (dot_saveb): Use demand_empty_rest_of_line.
1601         (dot_spill): Likewise.
1602         (dot_unwabi): Likewise.
1603         (dot_prologue): Likewise.
1604
1605         * expr.c (operand): Reject ++ and --.
1606         (operator): Likewise.
1607
1608 2004-03-17  Kaz Kojima  <[email protected]>
1609
1610         * config/tc-sh.c: Include dw2gencfi.h.
1611         (sh_cfi_frame_initial_instructions): New function.
1612         (sh_regname_to_dw2regnum): Likewise.
1613         * config/tc-sh.h (DWARF2_LINE_MIN_INSN_LENGTH): Move to the end of
1614         file.
1615         (TARGET_USE_CFIPOP): Define.
1616         (tc_cfi_frame_initial_instructions): Likewise.
1617         (tc_regname_to_dw2regnum): Likewise.
1618         (DWARF2_DEFAULT_RETURN_COLUMN, DWARF2_CIE_DATA_ALIGNMENT): Likewise.
1619         * Makefile.am: Update dependencies.
1620         * Makefile.in: Regenerate.
1621
1622 2004-03-17  Ralf Corsepius <[email protected]>
1623
1624         * configure.in: Switch sh-*-rtems* to ELF.  Add sh-*-rtemscoff*.
1625         * configure: Regenerate.
1626
1627 2004-03-12  Bob Wilson  <[email protected]>
1628
1629         * read.c (s_leb128): Call md_flush_pending_output.
1630
1631 2004-03-12  Michal Ludvig  <[email protected]>
1632
1633         * config/tc-i386.c (output_insn): Handle PadLock instructions.
1634         * config/tc-i386.h (CpuPadLock): New define.
1635         (CpuUnknownFlags): Added CpuPadLock.
1636
1637 2004-03-07  Andreas Schwab  <[email protected]>
1638
1639         * doc/c-hppa.texi (HPPA Directives): Fix typo.
1640
1641 2004-03-07  Richard Henderson  <[email protected]>
1642
1643         * dw2gencfi.c (output_cie): Align length to 4 byte boundary.
1644         (cfi_finish): Likewise for fde.
1645
1646 2004-03-05  H.J. Lu  <[email protected]>
1647
1648         * config/tc-ia64.c (md_assemble): Properly handle NULL
1649         align_frag.
1650         (ia64_handle_align): Don't abort if failed to add a stop bit.
1651
1652 2004-03-04  H.J. Lu  <[email protected]>
1653
1654         * Makefile.in: Regenerated.
1655         * aclocal.m4: Likewise.
1656         * configure: Likewise.
1657         * doc/Makefile.in: Likewise.
1658
1659 2004-03-03  H.J. Lu  <[email protected]>
1660
1661         * config/tc-ia64.c (dot_align): New.
1662         (ia64_do_align): Make it static.
1663         (md_pseudo_table): Use "dot_align" for "align".
1664         (ia64_md_do_align): Don't set align_frag here.
1665         (ia64_handle_align): Add a stop bit to the previous bundle if
1666         needed.
1667
1668         * config/tc-ia64.h (ia64_do_align): Removed.
1669
1670 2003-03-03  Andrew Stubbs  <[email protected]>
1671
1672         * config/tc-sh.c (md_parse_option): Add -isa=sh4-nofpu and
1673         -isa=sh4-nommu-nofpu options. Adjust help messages accordingly.
1674         (sh_elf_final_processing): Output BFD type sh4_nofpu if that is
1675         the most general type or the user specifically requested it.
1676         (md_assemble): Add a new error message for when an instruction
1677         is understood, but is not allowed due to an -isa option.
1678
1679 2004-03-02  H.J. Lu  <[email protected]>
1680
1681         * config/tc-ia64.c (align_frag): New.
1682         (md_assemble): Set the tc_frag_data field in align_frag for
1683         IA64_OPCODE_FIRST instructions.
1684         (ia64_md_do_align): Set align_frag.
1685         (ia64_handle_align): Add a stop bit if needed.
1686
1687         * config/tc-ia64.h (TC_FRAG_TYPE): New.
1688         (TC_FRAG_INIT): New.
1689
1690 2004-03-01  Richard Sandiford  <[email protected]>
1691
1692         * config/tc-frv.c (fr400_audio): New variable.
1693         (md_parse_option, md_show_usage): Add -mcpu=fr405 and -mcpu=fr450.
1694         (md_parse_option): Set fr400_audio for -mcpu=fr400 and -mcpu=fr405.
1695         (target_implements_insn_p): New function.
1696         (md_assemble): Report an error if the processor doesn't implement
1697         the instruction.
1698
1699 2004-02-27  Kazuhiro Inaoka  <[email protected]>
1700
1701         * config/tc-m32r.c (md_longopts): Added -no-bitinst option.
1702         (md_parse_option): Ditto.
1703         (OPTION_NO_SPECIAL_M32R): Added.
1704         (md_show_usage): Document it.
1705         (enable_speial_m32r): Changed a default value from 0 to 1.
1706         * doc/c-m32r.texi: Document the -no-bitinst option.
1707
1708 2004-02-27  Nick Clifton  <[email protected]>
1709
1710         * config/tc-sh.c (get_operand): Revert previous delta.
1711         (tc_gen_reloc): Check for an unknown reloc type before processing
1712         the addend.
1713
1714 2004-02-27  Hannes Reinecke  <[email protected]>
1715
1716         * config/tc-s390.c (s390_insn): Correct range check for opcode in
1717         .insn pseudo operation.
1718
1719 2004-02-27  Anil Paranjpe  <[email protected]>
1720
1721         * config/tc-sh.c (get_operand):  In case of #Imm, check has been
1722         added for wrong syntax.
1723
1724 2004-02-26  Eric Christopher  <[email protected]>
1725
1726         * config/tc-mips.c (mips_dwarf2_addr_size): New.
1727         * config/tc-mips.h (DWARF2_ADDR_SIZE): Use.
1728
1729 2004-02-26  Andrew Stubbs <[email protected]>
1730
1731         * config/tc-sh.c (build_Mytes): Add REG_N_D and REG_N_B01
1732         nibble types to assembler.
1733
1734 2004-02-25  Fred Fish  <[email protected]>
1735
1736         * config/tc-iq2000.c: Add missing \n\ in multiline string literal.
1737
1738 2004-02-20  James E Wilson  <[email protected]>
1739
1740         * config/tc-ia64.c (slot_index): New arg before_relax.  Use instead of
1741         finalize_syms.
1742         (fixup_unw_records): New arg before_relax.  Pass to slot_index.
1743         (ia64_estimate_size_before_relax): New.
1744         (ia64_convert_frag): Pass 0 to fixup_unw_records.  Add comment.
1745         (generate_unwind_image): Pass 1 to fixup_unw_records.
1746         * config/tc-ia64.h (ia64_estimate_size_before_relax): Declare.
1747         (md_estimate_size_before_relax): Call ia64_estimate_size_before_relax.
1748
1749 2004-02-19  Jakub Jelinek  <[email protected]>
1750
1751         * stabs.c (generate_asm_file): Avoid warning about use of
1752         uninitialized variable.
1753
1754 2004-02-18  David Mosberger  <[email protected]>
1755
1756         * config/tc-ia64.c (ia64_flush_insns): In addition to prologue,
1757         body, and endp, allow unwind records which do not have a "t"
1758         (time/instruction) field.
1759
1760 2004-02-17  Petko Manolov  <[email protected]>
1761
1762         * config/tc-arm.c (do_mav_dspsc_1): Correct offset of CRn.
1763         (do_mav_dspsc_2): Likewise.
1764         Fix accumulator registers move opcodes.
1765
1766 2004-02-13  Hannes Reinecke  <[email protected]>
1767             Jakub Jelinek  <[email protected]>
1768
1769         * dwarf2dbg.c (get_filenum): Do not read beyond allocated memory.
1770
1771 2004-02-10  Steve Ellcey  <[email protected]>
1772
1773         * config/tc-ia64.h (ia64_frob_symbol): New declaration.
1774         (tc_frob_symbol): New macro definition.
1775         * config/tc-ia64.c (ia64_frob_symbol): New routine.
1776
1777 2004-02-09  Daniel Jacobowitz  <[email protected]>
1778
1779         * config/tc-arm.c (md_begin): Mark .note.gnu.arm.ident as
1780         read-only.
1781
1782 2004-02-09  Nathan Sidwell  <[email protected]>
1783
1784         * read.h (IGNORE_OPCODE_CASE): Do not define. Replace with ...
1785         (TC_CASE_SENSITIVE): ... this.
1786         * read.c: Replace IGNORE_OPCODE_CASE with TC_CASE_SENSITIVE.
1787         * doc/internals.texi (TC_CASE_SENSITIVE): Document.
1788
1789 2004-02-06  James E Wilson  <[email protected]>
1790
1791         * config/tc-ia64.c (dot_endp): Delete call to output_endp.
1792         (generate_unwind_image): Re-add it here.
1793
1794 2004-02-06  Nathan Sidwell  <[email protected]>
1795
1796         * dwarf2dbg.c (DWARF2_ADDR_SIZE): Remove trailing ';'
1797         * read.h (SKIP_WHITESPACE): Turn into an expression.
1798         * read.c (read_a_source_file): A pseudo is removed by having a
1799         NULL handler.
1800
1801 2004-02-05  James E Wilson  <[email protected]>
1802
1803         * config/tc-ia64.c (output_endp): New.
1804         (count_bits): Delete.
1805         (ia64_flush_insns, process_one_record, optimize_unw_records): Handle
1806         endp unwind records.
1807         (fixup_unw_records): Handle endp unwind records.  Delete code for
1808         shortening prologue regions not followed by a body record.
1809         (dot_endp): Call add_unwind_entry to emit endp unwind record.
1810         * config/tc-ia64.h (unw_record_type): Add endp.
1811
1812 2004-02-03  James E Wilson  <[email protected]>
1813
1814         * config/tc-ia64.c (ia64_convert_frag): Call md_number_to_chars to
1815         fill padding bytes with zeroes.
1816         (emit_one_bundle): New locals last_ptr, end_ptr.  Rewrite code that
1817         sets unwind_record slot_number and slot_frag fields.
1818
1819 2004-02-02  Maciej W. Rozycki  <[email protected]>
1820
1821         * config/tc-mips.c (add_got_offset_hilo): New function.
1822         (macro): Use load_register() and add_got_offset_hilo() to load
1823         constants instead of hardcoding code sequences throughout.
1824
1825 2004-01-28  H.J. Lu  <[email protected]>
1826
1827         * config/tc-ia64.c (emit_one_bundle): Add proper indentation.
1828
1829 2004-01-26  Bernardo Innocenti  <[email protected]>
1830
1831         * config/tc-m68k.h (EXTERN_FORCE_RELOC): Handle m68k-uclinux specially,
1832         like m68k-elf.
1833         * config/tc-m68k.c (RELAXABLE_SYMBOL): Use EXTERN_FORCE_RELOC instead
1834         of hard-coded test for TARGET_OS=elf.
1835
1836 2004-01-24  Chris Demetriou  <[email protected]>
1837
1838         * config/tc-mips.c (hilo_interlocks): Change definition
1839         so that MIPS32, MIPS64 and later ISAs are included, along with
1840         the already-included machines.  Update comments.
1841
1842 2004-01-23  Daniel Jacobowitz  <[email protected]>
1843
1844         * config/tc-arm.c (tc_gen_reloc): Improve error message for
1845         undefined local labels.
1846
1847 2004-01-23  Richard Sandiford  <[email protected]>
1848
1849         * config/tc-mips.c (load_address, macro): Update comments about
1850         NewABI GP relaxation.
1851
1852 2004-01-23  Richard Sandiford  <[email protected]>
1853
1854         * config/tc-mips.c (macro_build): Remove place and counter arguments.
1855         (mips_build_lui, macro_build_ldst_constoffset): Likewise.
1856         (mips16_macro_build, macro_build_jalr): Remove counter argument.
1857         (set_at, load_register, load_address, move_register): Likewise.
1858         (load_got_offset, add_got_offset): Likewise.
1859         Update all calls and tidy accordingly.
1860
1861 2004-01-23  Richard Sandiford  <[email protected]>
1862
1863         * config/tc-mips.c (RELAX_ENCODE): Remove WARN argument.
1864         (RELAX_FIRST, RELAX_SECOND): Turn into 8-bit quantities.
1865         (RELAX_USE_SECOND): Bump to 0x10000.
1866         (RELAX_SECOND_LONGER, RELAX_NOMACRO, RELAX_DELAY_SLOT): New flags.
1867         (mips_macro_warning): New variable.
1868         (md_assemble): Wrap macro expansion in macro_start() and macro_end().
1869         (s_cpload, s_cpsetup, s_cprestore, s_cpreturn): Likewise.
1870         (relax_close_frag): Set mips_macro_warning.first_frag.  Adjust use
1871         of RELAX_ENCODE.
1872         (append_insn): Update mips_macro_warning.sizes.
1873         (macro_start, macro_warning, macro_end): New functions.
1874         (macro_build): Don't emit warnings here.
1875         (macro_build_lui, md_estimate_size_before_relax): ...or here.
1876         (md_convert_frag): Check for cases where one macro alternative
1877         needs a warning and the other doesn't.  Emit a warning if the
1878         longer sequence was chosen.
1879
1880 2004-01-23  Richard Sandiford  <[email protected]>
1881
1882         * config/tc-mips.h (tc_frag_data_type, TC_FRAG_TYPE): Remove.
1883         * config/tc-mips.c (RELAX_ENCODE): Take three arguments: the size of
1884         the first sequence, the size of the second sequence, and a flag
1885         that says whether we should warn.
1886         (RELAX_OLD, RELAX_NEW, RELAX_RELOC[123]): Delete.
1887         (RELAX_FIRST, RELAX_SECOND): New.
1888         (mips_relax): New variable.
1889         (relax_close_frag, relax_start, relax_switch, relax_end): New fns.
1890         (append_insn): Remove "place" argument.  Use mips_relax.sequence
1891         rather than "place" to check whether we're expanding the second
1892         alternative of a relaxable macro.  Remove redundant check for
1893         branch relaxation.  If generating a normal insn, and there
1894         is not enough room in the current frag, call relax_close_frag()
1895         to close it.  Update mips_relax.sizes[].  Emit fixups for the
1896         second version of a relaxable macro.  Record the first relaxable
1897         fixup in mips_relax.  Remove tc_gen_reloc workaround.
1898         (macro_build): Remove all uses of "place".  Use mips_relax.sequence
1899         in the same way as in append_insn.
1900         (mips16_macro_build): Remove "place" argument.
1901         (macro_build_lui): As for macro_build.  Don't drop the add_symbol
1902         when generating the second version of a relaxable macro.
1903         (load_got_offset, add_got_offset): New functions.
1904         (load_address, macro): Use new relaxation machinery.  Remove
1905         tc_gen_reloc workarounds.
1906         (md_estimate_size_before_relax): Set RELAX_USE_SECOND if the second
1907         version of a relaxable macro is needed.  Return -RELAX_SECOND if the
1908         first version is needed.
1909         (tc_gen_reloc): Remove relaxation handling.
1910         (md_convert_frag): Go through the fixups for a relaxable macro and
1911         mark those that belong to the unneeded alternative as done.  If the
1912         second alternative is needed, adjust the fixup addresses to account
1913         for the deleted first alternative.
1914
1915 2004-01-23  Richard Sandiford  <[email protected]>
1916
1917         * frags.h (frag_room): Declare.
1918         * frags.c (frag_room): New function.
1919         * doc/internals.texi: Document it.
1920
1921 2004-01-22  Thiemo Seufer <[email protected]>
1922
1923         * config/tc-mips.c (append_insn): Don't do r3900 interlock
1924         optimization for -mtune=r3900, as this will break on other CPUs.
1925
1926 2004-01-11  Tom Rix   <[email protected]>
1927
1928         * config/tc-m68hc11.c (build_indexed_byte): movb and movw cannot
1929         be relaxed, use fixup.
1930         (md_apply_fix3): Use 5 bit reloc from movb and movw fixup.
1931
1932 2004-01-19  Jakub Jelinek  <[email protected]>
1933
1934         * config/tc-sparc.c (sparc_ip): Disallow %f32-%f63 for single
1935         precision operands.
1936
1937 2004-01-14  Maciej W. Rozycki  <[email protected]>
1938
1939         * config/tc-mips.c (append_insn): Properly detect variant frags
1940         that preclude swapping of relaxed branches.  Correctly swap
1941         instructions between frags when dealing with relaxed branches.
1942
1943 2004-01-14  Maciej W. Rozycki  <[email protected]>
1944
1945         * acinclude.m4: Quote names of macros to be defined by AC_DEFUN
1946         throughout.
1947         * aclocal.m4: Regenerate.
1948         * configure: Regenerate.
1949
1950 2004-01-12  Anil Paranjpe  <[email protected]>
1951
1952         * config/tc-h8300.c (build_bytes): Apply relaxation to bit
1953         manipulation insns.
1954
1955 2004-01-12  Richard Sandiford  <[email protected]>
1956
1957         * config/tc-mips.c (macro_build_jalr): When adding an R_MIPS_JALR
1958         reloc, reserve space for the delay slot as well as the jalr itself.
1959
1960 2004-01-09  Paul Brook  <[email protected]>
1961
1962         * config/tc-arm.c (do_vfp_reg2_from_sp2): Rename from do_vfp_sp_reg2.
1963         (do_vfp_sp2_from_reg2): New function.
1964         (insns): Use them.
1965         (do_vfp_dp_from_reg2): Check return values properly.
1966
1967 2004-01-08  Ian Lance Taylor  <[email protected]>
1968
1969         * config/tc-mips.c (warn_nops): Remove static variable.
1970         (macro): Remove test of warn_nops.
1971         (md_shortops): Remove 'n'.
1972         (md_parse_option): Remove 'n' case.
1973         (md_show_usage): Remove -n.
1974         * doc/as.texinfo (Overview): Remove MIPS -n option.
1975         * doc/c-mips.texi (MIPS Opts): Remove mention -n.
1976         * NEWS: Mention removal of MIPS -n option.
1977
1978         * config/tc-mips.c (ISA_HAS_COPROC_DELAYS): Remove.
1979         (cop_interlocks): Check ISA level.
1980         (cop_mem_interlocks): Define.
1981         (reg_needs_delay): Check cop_interlocks rather than
1982         ISA_HAS_COPROC_DELAYS.
1983         (append_insn): Likewise.  Use cop_mem_interlocks rather than
1984         directly checking mips_opts.isa.
1985         (mips_emit_delays): Likewise.
1986
1987 2004-01-07  H.J. Lu  <[email protected]>
1988
1989         * config/tc-ia64.c (unwind): Move next_slot_number and
1990         next_slot_frag to ...
1991         (unw_rec_list): Here.
1992         (free_list_records): Removed.
1993         (output_unw_records): Likewise.
1994         (generate_unwind_image): Make it void.
1995         (alloc_record): Initialize next_slot_number and next_slot_frag.
1996         (slot_index): Take .org, .space and .align into account.
1997         (fixup_unw_records): Don't set slot_number to 0. Use
1998         list->next_slot_number and list->next_slot_frag instead of
1999         unwind.next_slot_number and unwind.next_slot_frag.
2000         (ia64_convert_frag): New.
2001         (generate_unwind_image): Generate a rs_machine_dependent frag
2002         for unwind record.
2003         (emit_one_bundle): Use list->next_slot_number and
2004         list->next_slot_frag instead of unwind.next_slot_number and
2005         unwind.next_slot_frag.
2006
2007         * config/tc-ia64.h (md_convert_frag): Defined as
2008         ia64_convert_frag.
2009         (md_estimate_size_before_relax): Defined as (f)->fr_var.
2010
2011 2004-01-06  Alexandre Oliva  <[email protected]>
2012
2013         2003-12-19  Alexandre Oliva  <[email protected]>
2014         * config/tc-frv.h (md_apply_fix3): Don't define.
2015         * config/tc-frv.c (md_apply_fix3): New.  Shift/truncate %hi/%lo
2016         operands.
2017         * config/tc-frv.h (TC_FORCE_RELOCATION_SUB_LOCAL): Define.
2018         2003-10-07  Alexandre Oliva  <[email protected]>
2019         * config/tc-frv.c (line_separator_chars): Add `!'.
2020         2003-09-19  Alexandre Oliva  <[email protected]>
2021         * config/tc-frv.c (md_assemble): Clear insn upfront.
2022         2003-09-18  Alexandre Oliva  <[email protected]>
2023         * config/tc-frv.c (OPTION_FDPIC): New macro.
2024         (md_longopts): Add mfdpic.
2025         (md_parse_option): Handle it.
2026         2003-08-04  Alexandre Oliva  <[email protected]>
2027         * config/tc-frv.c (md_cgen_lookup_reloc) <FRV_OPERAND_D12,
2028         FRV_OPERAND_S12>: Use reloc type encoded in fix-up.
2029         (frv_pic_ptr): Parse funcdesc.
2030
2031 2004-01-05  Maciej W. Rozycki  <[email protected]>
2032
2033         * doc/as.texinfo: Let texi2pod parse asconfig.texi and
2034         gasver.texi.  Remove duplicate symbol definitions for texi2pod.
2035
2036 2004-01-05  Maciej W. Rozycki  <[email protected]>
2037
2038         * Makefile.am (Makefile): Move the dependency on
2039         $(BFDDIR)/configure.in to...
2040         (CONFIG_STATUS_DEPENDENCIES): ... here.
2041         (AUTOMAKE_OPTIONS): Require automake 1.8.
2042         * Makefile.in: Regenerate.
2043         * doc/Makefile.am (BASEDIR, BFDDIR): Define.
2044         (CONFIG_STATUS_DEPENDENCIES): Add a dependency on
2045         $(BFDDIR)/configure.in here as well.
2046         * doc/Makefile.in: Regenerate.
2047
2048 2004-01-05  Maciej W. Rozycki  <[email protected]>
2049
2050         * Makefile.am (install, install-info, RECURSIVE_TARGETS): Remove.
2051         * Makefile.in: Regenerate.
2052         * aclocal.m4: Regenerate.
2053         * doc/Makefile.am (install, install-info): Remove.
2054         (install-data-local): A new hook for install-info.
2055         (AUTOMAKE_OPTIONS): Require automake 1.8.
2056         * doc/Makefile.in: Regenerate.
2057
2058 2004-01-02  Nutan Singh <[email protected]>
2059
2060         * doc/c-sh.texi: Update description about floating point behavior
2061         of SH family.
2062
2063 2004-01-02  Bernardo Innocenti  <[email protected]>
2064
2065         * configure.in: Add m68k-uClinux target.
2066         * configure: Regenerate.
2067
2068 For older changes see ChangeLog-0203
2069 \f
2070 Local Variables:
2071 mode: change-log
2072 left-margin: 8
2073 fill-column: 74
2074 version-control: never
2075 End:
This page took 0.144461 seconds and 4 git commands to generate.