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