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