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