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