* doc/c-mips.texi: Document 74kc, 74kf, 74kx.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2007-02-20 Thiemo Seufer <ths@mips.com>
2
3 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
4
5 2007-02-20 Thiemo Seufer <ths@mips.com>
6
7 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
8
9 2007-02-20 Thiemo Seufer <ths@mips.com>
10 Chao-Ying Fu <fu@mips.com>
11
12 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
13 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
14 (macro_build): Add case '2'.
15 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
16 (validate_mips_insn): Add support for balign instruction.
17 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
18 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
19 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
20 command line options.
21 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
22 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
23 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
24 .set dspr2, .set nodspr2.
25
26 2007-02-20 Nathan Sidwell <nathan@codesourcery.com>
27
28 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
29 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
30
31 2007-02-18 Alan Modra <amodra@bigpond.net.au>
32
33 * write.c (TC_FX_SIZE_SLACK): Define.
34 (write_relocs): Reinstate check for fixup within frag.
35 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
36 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
37 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
38 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
39 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
40
41 2007-02-17 Mark Mitchell <mark@codesourcery.com>
42 Nathan Sidwell <nathan@codesourcery.com>
43 Vladimir Prus <vladimir@codesourcery.com
44 Joseph Myers <joseph@codesourcery.com>
45
46 * configure.in (--with-bugurl): New option.
47 * configure: Regenerate.
48 * dep-in.sed: Remove bin-bugs.h.
49 * Makefile.am (REPORT_BUGS_TO): Define.
50 (INCLUDES): Define REPORT_BUGS_TO.
51 (DEP_INCLUDES): Likewise.
52 ($(OBJS)): No longer depend on bin-bugs.h.
53 * Makefile.in: Regenerate.
54 * doc/Makefile.in: Regenerate.
55 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
56 * as.h: Remove include of bin-bugs.h.
57
58 2007-02-17 Alan Modra <amodra@bigpond.net.au>
59
60 * write.c: White space fixes.
61 (fixup_segment): Move symbol_mri_common_p adjustments..
62 (write_relocs): ..and symbol_equated_reloc_p adjustments..
63 (adjust_reloc_syms): ..to here.
64
65 2007-02-16 Alan Modra <amodra@bigpond.net.au>
66
67 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
68 xmalloc, memset. Don't bother assigning NULL to known zero mem.
69 (subseg_set_rest): Remove unnecessary cast.
70 * write.c: Include libbfd.h. Replace PTR with void * throughout.
71 Remove unnecessary forward declarations and casts.
72 (set_symtab): Delete extern bfd_alloc.
73 (fixup_segment): Move.
74
75 2007-02-15 Nathan Sidwell <nathan@codesourcery.com>
76
77 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
78 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
79 (mcf5475_ctrl, mcf5485_ctrl): New.
80 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
81 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
82 (init_table): Add asid, mmubar, adjust rombar0.
83
84 2007-02-14 Alan Modra <amodra@bigpond.net.au>
85
86 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
87 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
88 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
89 code, and test for these insns using a combination of
90 opcode_modifier and operand_types.
91
92 2007-02-07 Paul Brook <paul@codesourcery.com>
93
94 * configure.tgt: Add arm*-*-uclinux-*eabi.
95
96 2007-02-05 Dave Brolley <brolley@redhat.com>
97 Richard Sandiford <rsandifo@redhat.com>
98 DJ Delorie <dj@redhat.com>
99 Stan Cox <scox@redhat.com>
100 Jim Blandy <jimb@redhat.com>
101 Nick Clifton <nickc@redhat.com>
102 Jim Wilson <wilson@redhat.com>
103 Frank Ch. Eigler <fche@redhat.com>
104 Graydon Hoare <graydon@redhat.com>
105 Ben Elliston <bje@redhat.com>
106 John Healy <jhealy@redhat.com>
107 Richard Henderson <rth@redhat.com>
108
109 * Makefile.am (CPU_TYPES): Add mep.
110 (TARGET_CPU_CFILES): Add tc-mep.c.
111 (TARGET_CPU_HFILES): Add tc-mep.h.
112 (DEPTC_mep_elf): New variable.
113 (DEPTC_mep_coff): Likewise.
114 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
115 * configure.in: Support mep.
116 * configure.tgt: Likewise.
117 * config/tc-mep.c: New file.
118 * config/obj-elf.c: New file.
119 * config/tc-mep.c: New file.
120 * config/tc-mep.h: New file.
121 * testsuite/gas/mep: New testsuite with content.
122 * Makefile.in: Regenerate.
123 * configure: Regenerate.
124
125 2007-02-05 Dave Brolley <brolley@redhat.com>
126
127 * cgen.c (gas_cgen_install_complex_reloc): Removed.
128 (complex_reloc_installation_howto): Removed.
129
130 2007-02-05 Dave Brolley <brolley@redhat.com>
131 Graydon Hoare <graydon@redhat.com>
132 DJ Delorie <dj@redhat.com>
133 Catherine Moore <clm@redhat.com>
134 Michael Chastain <chastain@redhat.com>
135 Frank Ch. Eigler <fche@redhat.com>
136
137 * symbols.c (use_complex_relocs_for): New, to decide
138 when to use complex relocs. Add signed RELC support.
139 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
140 encode expression symbols as mangled complex relocation symbols (when
141 compiled with -DOBJ_COMPLEX_RELOC).
142 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
143 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
144 encode_addend with new args. Modify to get start, length from
145 ifield whenever it is set. Also change condition on which
146 self-describing relocs are encoded. Add hook into
147 gas_cgen_encode_addend.
148 (queue_fixup_recursively): Add signed RELC support. Change from masked
149 expr to trunc flag. Restore assignment of sub-field value to
150 temporary in fixups array. Reflect changed meaning of last arg to
151 queue_fixup_recursively.
152 (fixup): Add cgen_maybe_multi_ifield member.
153 (make_right_shifted_expr): New function.
154 (queue_fixup): Change to recursive function that fragments
155 fixups if operand has a multi-ifield.
156 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
157 symbols, call weak_operand_overflow_check, and fragment call
158 queue_fixup with operand fields.
159 (gas_cgen_finish_insn) Modify to manage ifield pointer.
160 (weak_operand_overflow_check): New function to try to select
161 insns correctly.
162 (gas_cgen_encode_addend): New function for relc.
163 (gas_cgen_install_complex_reloc): Likewise.
164 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
165 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
166 cgen_maybe_multi_ifield field to fx_cgen substructure.
167 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
168 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
169
170 2007-02-03 DJ Delorie <dj@delorie.com>
171
172 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
173 byte relocs.
174 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
175 (m32c_cons_fix_new): Prototype.
176
177 2007-02-02 Bob Wilson <bob.wilson@acm.org>
178
179 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
180 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
181
182 2007-02-02 Bob Wilson <bob.wilson@acm.org>
183
184 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
185 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
186 (map_suffix_reloc_to_operator): New.
187 (map_operator_to_reloc): New.
188 (expression_maybe_register): Fix incorrect test of return value from
189 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
190 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
191
192 2007-02-02 Bob Wilson <bob.wilson@acm.org>
193
194 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
195 (tinsn_get_tok): Delete prototype.
196 * config/tc-xtensa.c (tinsn_get_tok): Delete.
197
198 2007-02-02 Bob Wilson <bob.wilson@acm.org>
199
200 * config/xtensa-relax.h (struct build_instr): Delete id field.
201 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
202 and LABEL tokens.
203 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
204 set op_data fields to zero.
205 (parse_id_constant): Delete.
206 (build_transition): Remove code to handle numbered literals and labels.
207
208 2007-02-02 Bob Wilson <bob.wilson@acm.org>
209
210 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
211 (build_transition_table): Likewise.
212
213 2007-02-01 Bob Wilson <bob.wilson@acm.org>
214
215 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
216 fx_tcbit.
217 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
218
219 2007-02-02 Alan Modra <amodra@bigpond.net.au>
220
221 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
222 (struct fix <fx_plt>): Rename to tcbit2.
223 * write.c (fix_new_internal): Adjust.
224 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
225 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
226 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
227 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
228 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
229 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
230 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
231 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
232 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
233 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
234 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
235 Instead, compare fx_r_type.
236 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
237 fx_tcbit in place of fx_plt.
238 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
239 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
240 to fx_plt.
241
242 2007-01-30 Nick Clifton <nickc@redhat.com>
243
244 * as.c (main): Mark symbols created via the --defsym command line
245 option as volatile so that they can be overridden later on by a
246 .set directive. This maintains compatibility with the behaviour
247 of earlier versions of the assembler.
248 * doc/as.texinfo (--defsym): Document that the defined symbol's
249 value can be overridden via a .set directive.
250
251 2007-01-28 H.J. Lu <hongjiu.lu@intel.com>
252
253 * config/tc-i386.c (swap_imm_operands): Renamed to ...
254 (swap_2_operands): This. Take 2 ints.
255 (md_assemble): Updated.
256 (swap_operands): Call swap_2_operands to swap 2 operands.
257
258 2007-01-24 DJ Delorie <dj@redhat.com>
259
260 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
261
262 2007-01-22 Nick Clifton <nickc@redhat.com>
263
264 PR gas/3871
265 * tc-score.c: Remove unnecessary uses of _().
266 Make the err_msg[] a file level local array in order to save
267 storage space.
268 Remove unnecessary sprintf()s.
269
270 2007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
271
272 PR gas/3871
273 * config/tc-score.c : Using _() for const string.
274 Do not assign inst.error with a local string pointer.
275 (md_section_align): Pad section.
276
277 2007-01-13 H.J. Lu <hongjiu.lu@intel.com>
278
279 * config/tc-i386.c (build_modrm_byte): Check number of operands
280 when procssing memory/register operand.
281
282 2007-01-12 Nick Clifton <nickc@redhat.com>
283
284 PR gas/3856
285 * macro.c (expand_irp): Do not ignore spaces inside quoted
286 strings.
287
288 2007-01-12 Alan Modra <amodra@bigpond.net.au>
289
290 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
291 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
292 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
293 (TC_FORCE_RELOCATION): Define.
294 (TC_FORCE_RELOCATION_LOCAL): Define.
295 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
296
297 2007-01-12 Alan Modra <amodra@bigpond.net.au>
298
299 * input-file.c (input_file_open): Check fgets return.
300
301 2007-01-11 Paul Brook <paul@codesourcery.com>
302
303 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
304
305 2007-01-11 Nick Clifton <nickc@redhat.com>
306
307 PR gas/3707
308 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
309 variable.
310
311 * config/tc-mcore.c (md_number_to_chars): Use
312 number_to_chars_{big|little}endian.
313
314 2007-01-08 Kazu Hirata <kazu@codesourcery.com>
315
316 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
317 architecture by itself.
318 (m68k_ip): Don't issue a warning for tbl instructions on fido.
319 (m68k_elf_final_processing): Treat Fido as an architecture by
320 itself.
321
322 2007-01-08 Kai Tietz <kai.tietz@onevision.com>
323
324 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
325
326 2007-01-05 H.J. Lu <hongjiu.lu@intel.com>
327
328 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
329 depending on allow_naked_reg.
330
331 2007-01-04 Paul Brook <paul@codesourcery.com>
332
333 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
334
335 2007-01-04 H.J. Lu <hongjiu.lu@intel.com>
336
337 PR gas/3830
338 * config/tc-i386.c (register_prefix): New.
339 (set_intel_syntax): Set set_intel_syntax to "" if register
340 prefix isn't needed.
341 (check_byte_reg): Use register_prefix for error message.
342 (check_long_reg): Likewise.
343 (check_qword_reg): Likewise.
344 (check_word_reg): Likewise.
345
346 2006-01-04 Julian Brown <julian@codesourcery.com>
347
348 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
349 (do_neon_qshl_imm): Likewise.
350 (do_neon_rshl): New function. Handle rounding variants of
351 v{q}shl-by-register.
352 (insns): Use do_neon_rshl for vrshl, vqrshl.
353
354 2007-01-04 Paul Brook <paul@codesourcery.com>
355
356 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
357 and vacle.
358
359 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
360
361 * config/tc-i386.c (swap_operands): Remove branches.
362
363 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
364
365 * config/tc-i386.c: Update copyright year.
366 * config/tc-i386.h: Likewise.
367
368 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
369
370 * config/tc-i386.c (smallest_imm_type): Return unsigned int
371 instead of int.
372
373 2007-01-03 H.J. Lu <hongjiu.lu@intel.com>
374
375 * config/tc-i386.c: Convert to ISO C90 formatting
376 * config/tc-i386.h: Likewise.
377
378 2007-01-03 David Daney <ddaney@avtrex.com>
379
380 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
381 documentation.
382
383 For older changes see ChangeLog-2006
384 \f
385 Local Variables:
386 mode: change-log
387 left-margin: 8
388 fill-column: 74
389 version-control: never
390 End:
This page took 0.042212 seconds and 4 git commands to generate.