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