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