1 2007-02-14 Alan Modra <amodra@bigpond.net.au>
3 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
4 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
5 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
6 code, and test for these insns using a combination of
7 opcode_modifier and operand_types.
9 2007-02-07 Paul Brook <paul@codesourcery.com>
11 * configure.tgt: Add arm*-*-uclinux-*eabi.
13 2007-02-05 Dave Brolley <brolley@redhat.com>
14 Richard Sandiford <rsandifo@redhat.com>
15 DJ Delorie <dj@redhat.com>
16 Stan Cox <scox@redhat.com>
17 Jim Blandy <jimb@redhat.com>
18 Nick Clifton <nickc@redhat.com>
19 Jim Wilson <wilson@redhat.com>
20 Frank Ch. Eigler <fche@redhat.com>
21 Graydon Hoare <graydon@redhat.com>
22 Ben Elliston <bje@redhat.com>
23 John Healy <jhealy@redhat.com>
24 Richard Henderson <rth@redhat.com>
26 * Makefile.am (CPU_TYPES): Add mep.
27 (TARGET_CPU_CFILES): Add tc-mep.c.
28 (TARGET_CPU_HFILES): Add tc-mep.h.
29 (DEPTC_mep_elf): New variable.
30 (DEPTC_mep_coff): Likewise.
31 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
32 * configure.in: Support mep.
33 * configure.tgt: Likewise.
34 * config/tc-mep.c: New file.
35 * config/obj-elf.c: New file.
36 * config/tc-mep.c: New file.
37 * config/tc-mep.h: New file.
38 * testsuite/gas/mep: New testsuite with content.
39 * Makefile.in: Regenerate.
40 * configure: Regenerate.
42 2007-02-05 Dave Brolley <brolley@redhat.com>
44 * cgen.c (gas_cgen_install_complex_reloc): Removed.
45 (complex_reloc_installation_howto): Removed.
47 2007-02-05 Dave Brolley <brolley@redhat.com>
48 Graydon Hoare <graydon@redhat.com>
49 DJ Delorie <dj@redhat.com>
50 Catherine Moore <clm@redhat.com>
51 Michael Chastain <chastain@redhat.com>
52 Frank Ch. Eigler <fche@redhat.com>
54 * symbols.c (use_complex_relocs_for): New, to decide
55 when to use complex relocs. Add signed RELC support.
56 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
57 encode expression symbols as mangled complex relocation symbols (when
58 compiled with -DOBJ_COMPLEX_RELOC).
59 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
60 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
61 encode_addend with new args. Modify to get start, length from
62 ifield whenever it is set. Also change condition on which
63 self-describing relocs are encoded. Add hook into
64 gas_cgen_encode_addend.
65 (queue_fixup_recursively): Add signed RELC support. Change from masked
66 expr to trunc flag. Restore assignment of sub-field value to
67 temporary in fixups array. Reflect changed meaning of last arg to
68 queue_fixup_recursively.
69 (fixup): Add cgen_maybe_multi_ifield member.
70 (make_right_shifted_expr): New function.
71 (queue_fixup): Change to recursive function that fragments
72 fixups if operand has a multi-ifield.
73 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
74 symbols, call weak_operand_overflow_check, and fragment call
75 queue_fixup with operand fields.
76 (gas_cgen_finish_insn) Modify to manage ifield pointer.
77 (weak_operand_overflow_check): New function to try to select
79 (gas_cgen_encode_addend): New function for relc.
80 (gas_cgen_install_complex_reloc): Likewise.
81 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
82 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
83 cgen_maybe_multi_ifield field to fx_cgen substructure.
84 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
85 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
87 2007-02-03 DJ Delorie <dj@delorie.com>
89 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
91 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
92 (m32c_cons_fix_new): Prototype.
94 2007-02-02 Bob Wilson <bob.wilson@acm.org>
96 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
97 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
99 2007-02-02 Bob Wilson <bob.wilson@acm.org>
101 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
102 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
103 (map_suffix_reloc_to_operator): New.
104 (map_operator_to_reloc): New.
105 (expression_maybe_register): Fix incorrect test of return value from
106 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
107 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
109 2007-02-02 Bob Wilson <bob.wilson@acm.org>
111 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
112 (tinsn_get_tok): Delete prototype.
113 * config/tc-xtensa.c (tinsn_get_tok): Delete.
115 2007-02-02 Bob Wilson <bob.wilson@acm.org>
117 * config/xtensa-relax.h (struct build_instr): Delete id field.
118 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
120 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
121 set op_data fields to zero.
122 (parse_id_constant): Delete.
123 (build_transition): Remove code to handle numbered literals and labels.
125 2007-02-02 Bob Wilson <bob.wilson@acm.org>
127 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
128 (build_transition_table): Likewise.
130 2007-02-01 Bob Wilson <bob.wilson@acm.org>
132 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
134 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
136 2007-02-02 Alan Modra <amodra@bigpond.net.au>
138 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
139 (struct fix <fx_plt>): Rename to tcbit2.
140 * write.c (fix_new_internal): Adjust.
141 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
142 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
143 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
144 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
145 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
146 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
147 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
148 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
149 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
150 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
151 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
152 Instead, compare fx_r_type.
153 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
154 fx_tcbit in place of fx_plt.
155 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
156 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
159 2007-01-30 Nick Clifton <nickc@redhat.com>
161 * as.c (main): Mark symbols created via the --defsym command line
162 option as volatile so that they can be overridden later on by a
163 .set directive. This maintains compatibility with the behaviour
164 of earlier versions of the assembler.
165 * doc/as.texinfo (--defsym): Document that the defined symbol's
166 value can be overridden via a .set directive.
168 2007-01-28 H.J. Lu <hongjiu.lu@intel.com>
170 * config/tc-i386.c (swap_imm_operands): Renamed to ...
171 (swap_2_operands): This. Take 2 ints.
172 (md_assemble): Updated.
173 (swap_operands): Call swap_2_operands to swap 2 operands.
175 2007-01-24 DJ Delorie <dj@redhat.com>
177 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
179 2007-01-22 Nick Clifton <nickc@redhat.com>
182 * tc-score.c: Remove unnecessary uses of _().
183 Make the err_msg[] a file level local array in order to save
185 Remove unnecessary sprintf()s.
187 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
190 * config/tc-score.c : Using _() for const string.
191 Do not assign inst.error with a local string pointer.
192 (md_section_align): Pad section.
194 2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
196 * config/tc-i386.c (build_modrm_byte): Check number of operands
197 when procssing memory/register operand.
199 2007-01-12 Nick Clifton <nickc@redhat.com>
202 * macro.c (expand_irp): Do not ignore spaces inside quoted
205 2007-01-12 Alan Modra <amodra@bigpond.net.au>
207 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
208 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
209 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
210 (TC_FORCE_RELOCATION): Define.
211 (TC_FORCE_RELOCATION_LOCAL): Define.
212 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
214 2007-01-12 Alan Modra <amodra@bigpond.net.au>
216 * input-file.c (input_file_open): Check fgets return.
218 2007-01-11 Paul Brook <paul@codesourcery.com>
220 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
222 2007-01-11 Nick Clifton <nickc@redhat.com>
225 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
228 * config/tc-mcore.c (md_number_to_chars): Use
229 number_to_chars_{big|little}endian.
231 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
233 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
234 architecture by itself.
235 (m68k_ip): Don't issue a warning for tbl instructions on fido.
236 (m68k_elf_final_processing): Treat Fido as an architecture by
239 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
241 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
243 2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
245 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
246 depending on allow_naked_reg.
248 2007-01-04 Paul Brook <paul@codesourcery.com>
250 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
252 2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
255 * config/tc-i386.c (register_prefix): New.
256 (set_intel_syntax): Set set_intel_syntax to "" if register
258 (check_byte_reg): Use register_prefix for error message.
259 (check_long_reg): Likewise.
260 (check_qword_reg): Likewise.
261 (check_word_reg): Likewise.
263 2006-01-04 Julian Brown <julian@codesourcery.com>
265 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
266 (do_neon_qshl_imm): Likewise.
267 (do_neon_rshl): New function. Handle rounding variants of
269 (insns): Use do_neon_rshl for vrshl, vqrshl.
271 2007-01-04 Paul Brook <paul@codesourcery.com>
273 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
276 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
278 * config/tc-i386.c (swap_operands): Remove branches.
280 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
282 * config/tc-i386.c: Update copyright year.
283 * config/tc-i386.h: Likewise.
285 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
287 * config/tc-i386.c (smallest_imm_type): Return unsigned int
290 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
292 * config/tc-i386.c: Convert to ISO C90 formatting
293 * config/tc-i386.h: Likewise.
295 2007-01-03 David Daney <ddaney@avtrex.com>
297 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
300 For older changes see ChangeLog-2006
306 version-control: never