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