gas/
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
ec56d5c0
JB
12007-09-12 Jan Beulich <jbeulich@novell.com>
2
3 * config/tc-i386.c (md_assemble): Move handling of extrq/insertq
4 after generic operand swapping, and swap only the immediate operands.
5
8d100c32
KH
62007-09-11 Nathan Sidwell <nathan@codesourcery.com>
7
8 * config/tc-m68k.c (m68k_ip): Add mcfisa_c case.
9 (m68k_elf_final_processing): Add EF_M68K_CF_ISA_C_NODIV.
10
cf557b51
L
112007-09-09 H.J. Lu <hongjiu.lu@intel.com>
12
13 * tc-i386.c (output_insn): Only check SSE4.2 and ABM for 3
14 byte opcode.
15
c6fb90c8
L
162007-09-08 H.J. Lu <hongjiu.lu@intel.com>
17
18 * config/tc-i386.c (cpu_flags_check_x64): Renamed to ...
19 (cpu_flags_check_cpu64): This. Inline.
20 (uints_all_zero): New.
21 (uints_set): Likewise
22 (uints_equal): Likewise
23 (UINTS_ALL_ZERO): Likewise
24 (UINTS_SET): Likewise
25 (UINTS_CLEAR): Likewise
26 (UINTS_EQUAL): Likewise
27 (cpu_flags_and): Likewise.
28 (cpu_flags_or): Likewise.
29 (operand_type_and): Likewise.
30 (operand_type_or): Likewise.
31 (operand_type_xor): Likewise.
32 (cpu_flags_not): Inline and use switch instead of loop.
33 (cpu_flags_match): Updated.
34 (operand_type_match): Likewise.
35 (smallest_imm_type): Likewise.
36 (set_cpu_arch): Likewise.
37 (pt): Likewise.
38 (md_assemble): Likewise.
39 (parse_insn): Likewise.
40 (optimize_imm): Likewise.
41 (match_template): Likewise.
42 (process_suffix): Likewise.
43 (update_imm): Likewise.
44 (finalize_imm): Likewise.
45 (process_operands): Likewise.
46 (build_modrm_byte): Likewise.
47 (i386_immediate): Likewise.
48 (i386_displacement): Likewise.
49 (i386_index_check): Likewise.
50 (i386_operand): Likewise.
51 (i386_target_format): Likewise.
52 (intel_e11): Likewise.
53 (operand_type): Remove implicitregister.
54 (operand_type_check): Updated. Inline.
55 (cpu_flags_all_zero): Removed.
56 (operand_type_all_zero): Likewise.
57 (i386_array_biop): Likewise.
58 (cpu_flags_biop): Likewise.
59 (operand_type_biop): Likewise.
60
33169993
L
612007-09-08 H.J. Lu <hongjiu.lu@intel.com>
62
63 * Makefile.am: Run "make dep-am".
64 * Makefile.in: Regenerate.
65
40fb9820
L
662007-09-08 H.J. Lu <hongjiu.lu@intel.com>
67
68 * configure.in (AC_CHECK_HEADERS): Add limits.h.
69 * configure: Regenerated.
70 * config.in: Likewise.
71
72 * config/tc-i386.c: Include "opcodes/i386-init.h".
73 (_i386_insn): Use i386_operand_type for types.
74 (cpu_arch_flags): Updated to new types with bitfield.
75 (cpu_arch_tune_flags): Likewise.
76 (cpu_arch_isa_flags): Likewise.
77 (cpu_arch): Likewise.
78 (i386_align_code): Likewise.
79 (set_code_flag): Likewise.
80 (set_16bit_gcc_code_flag): Likewise.
81 (set_cpu_arch): Likewise.
82 (md_assemble): Likewise.
83 (parse_insn): Likewise.
84 (process_operands): Likewise.
85 (output_branch): Likewise.
86 (output_jump): Likewise.
87 (parse_real_register): Likewise.
88 (mode_from_disp_size): Likewise.
89 (smallest_imm_type): Likewise.
90 (pi): Likewise.
91 (type_names): Likewise.
92 (pt): Likewise.
93 (pte): Likewise.
94 (swap_2_operands): Likewise.
95 (optimize_imm): Likewise.
96 (optimize_disp): Likewise.
97 (match_template): Likewise.
98 (check_string): Likewise.
99 (process_suffix): Likewise.
100 (check_byte_reg): Likewise.
101 (check_long_reg): Likewise.
102 (check_qword_reg): Likewise.
103 (check_word_reg): Likewise.
104 (finalize_imm): Likewise.
105 (build_modrm_byte): Likewise.
106 (output_insn): Likewise.
107 (disp_size): Likewise.
108 (imm_size): Likewise.
109 (output_disp): Likewise.
110 (output_imm): Likewise.
111 (gotrel): Likewise.
112 (i386_immediate): Likewise.
113 (i386_displacement): Likewise.
114 (i386_index_check): Likewise.
115 (i386_operand): Likewise.
116 (parse_real_register): Likewise.
117 (i386_intel_operand): Likewise.
118 (intel_e09): Likewise.
119 (intel_bracket_expr): Likewise.
120 (intel_e11): Likewise.
121 (cpu_arch_flags_not): New.
122 (cpu_flags_check_x64): Likewise.
123 (cpu_flags_all_zero): Likewise.
124 (cpu_flags_not): Likewise.
125 (i386_cpu_flags_biop): Likewise.
126 (cpu_flags_biop): Likewise.
127 (cpu_flags_match); Likewise.
128 (acc32): New.
129 (acc64): Likewise.
130 (control): Likewise.
131 (reg16_inoutportreg): Likewise.
132 (disp16): Likewise.
133 (disp32): Likewise.
134 (disp32s): Likewise.
135 (disp16_32): Likewise.
136 (anydisp): Likewise.
137 (baseindex): Likewise.
138 (regxmm): Likewise.
139 (imm8): Likewise.
140 (imm8s): Likewise.
141 (imm16): Likewise.
142 (imm32): Likewise.
143 (imm32s): Likewise.
144 (imm64): Likewise.
145 (imm16_32): Likewise.
146 (imm16_32s): Likewise.
147 (imm16_32_32s): Likewise.
148 (operand_type): Likewise.
149 (operand_type_check): Likewise.
150 (operand_type_match): Likewise.
151 (operand_type_register_match): Likewise.
152 (update_imm): Likewise.
153 (set_code_flag): Also update cpu_arch_flags_not.
154 (set_16bit_gcc_code_flag): Likewise.
155 (md_begin): Likewise.
156 (parse_insn): Use cpu_flags_check_x64 to check 64bit support.
157 Use cpu_flags_match to match instructions.
158 (i386_target_format): Update cpu_arch_isa_flags and
159 cpu_arch_tune_flags to i386_cpu_flags type with bitfield.
160 (smallest_imm_type): Check cpu_arch_tune to tune for i486.
161 (match_template): Don't initialize overlap0, overlap1,
162 overlap2, overlap3 and operand_types.
163 (process_suffix): Handle crc32 with 64bit register.
164 (MATCH): Removed.
165 (CONSISTENT_REGISTER_MATCH): Likewise.
166
167 * config/tc-i386.h (arch_entry): Updated to i386_cpu_flags
168 type.
169
26186d74
L
1702007-09-06 H.J. Lu <hongjiu.lu@intel.com>
171
172 * config/tc-i386.c (match_template): Handle invlpga, vmload,
173 vmrun and vmsave in SVME.
174 (process_suffix): Likewise.
175
d946b91f
L
1762007-09-05 H.J. Lu <hongjiu.lu@intel.com>
177
178 * config/tc-i386.c (i386_index_check): Don't use RegRex
179 on the reg_type field.
180 (parse_real_register): Use `||' instead of `|'.
181
75178d9d
L
1822007-09-04 H.J. Lu <hongjiu.lu@intel.com>
183
184 * config/tc-i386.c (process_operands): Remove segment override
185 check on SVME instructions.
8aa20f82 186 (i386_index_check): Remove memory operand check on SVME
75178d9d
L
187 instructions.
188
7bc3e93c
AM
1892007-09-04 Alan Modra <amodra@bigpond.net.au>
190
191 * config/tc-spu.c (struct spu_insn): Delete "flag". Add "reloc".
192 (md_assemble): Update init of insn. Use insn.reloc instead of
193 calculating from flag.
194 (get_imm): Set reloc rather than flag.
195 (calcop): Formatting.
196
851feff8
DJ
1972007-08-29 Daniel Jacobowitz <dan@codesourcery.com>
198
199 * dwarf2dbg.c (dwarf2_directive_loc): Emit duplicate .loc directives.
200
ec744b67
DJ
2012007-08-28 Daniel Jacobowitz <dan@codesourcery.com>
202
203 * doc/c-arc.texi: Fix typo.
204
d9a5e5e5
L
2052007-08-28 H.J. Lu <hongjiu.lu@intel.com>
206
207 * config/tc-i386.c (process_suffix): Handle cmpxchg8b in
208 Intel mode.
209
def8fc92
KH
2102007-08-28 Nathan Sidwell <nathan@codesourcery.com>
211
212 * config/tc-m68k.c (mcf52235_ctrl): Add cache registers.
213 (mcf5253_ctrl): Add RAMBAR, MBAR, MBAR2.
214 (mcf5407_ctrl): New.
215 (m68k_cpus): Adjust 5407 entry.
216
f75192f2
KH
2172007-08-28 Maxim Kuvyrkov <maxim@codesourcery.com>
218
219 * config/tc-m68k.c (mcf51qe_ctrl): Define 51QE control registers.
220 (m68k_cpus): Define 51QE cpu.
221
7f6a71ff 2222007-08-28 Mark Shinwell <shinwell@codesourcery.com>
d9a5e5e5 223 Joseph Myers <joseph@codesourcery.com>
7f6a71ff
JM
224
225 * as.c (main): Flush stderr before printing listings to ensure
226 consistent output order across platforms.
227
0b3e17e9
NC
2282007-08-28 Robert Sebastian Gerus <arachnist@gmail.com>
229
230 * configure.tgt: Add support for i[3-7]86-*-dragonfly*.
231
3d6b762c 2322007-08-24 Joseph Myers <joseph@codesourcery.com>
d9a5e5e5 233 Paul Brook <paul@codesourcery.com>
3d6b762c
JM
234
235 * remap.c: New.
236 * as.h (remap_debug_filename, add_debug_prefix_map): Declare.
237 * as.c (show_usage): Document --debug-prefix-map option.
238 (parse_args): Handle --debug-prefix-map.
239 * dwarf2dbg.c (out_file_list, out_debug_info): Remap debug paths.
240 * stabs.c (stabs_generate_asm_file): Remap debug paths.
241 * Makefile.am (GAS_CFILES): Add remap.c
242 (GENERIC_OBJS): Add remap.o.
243 Regenerate dependencies.
244 * Makefile.in: Regenerate.
245 * doc/as.texinfo (--debug-prefix-map): Document.
246
495bde8e
DJ
2472007-08-24 Aurelien Jarno <aurel32@debian.org>
248
249 * config/tc-arm.c (md_apply_fix): Cast bfd_vma values to long
250 before printing them.
251
67c11a9b
AM
2522007-08-24 Anders Waldenborg <anders@0x63.nu>
253 Alan Modra <amodra@bigpond.net.au>
254
255 * config/tc-i386.c (lex_got): Don't scan past a comma.
256
c3d65c1c
BE
2572007-08-23 Ben Elliston <bje@au.ibm.com>
258
259 * config/tc-ppc.c (parse_cpu): Handle "750cl".
260 (pre_defined_registers): Add "gqr0" to "gqr7", "gqr.0" to "gqr.7".
261 (md_show_usage): Document -m750cl.
262 (md_assemble): Handle two delimiters in succession (eg. `),').
263 * doc/c-ppc.texi (PowerPC-Opts): Document -m750cl.
264 * testsuite/gas/ppc/ppc.exp: Run ppc70ps dump tests.
265 * testsuite/gas/ppc/ppc750ps.s: New file.
266 * testsuite/gas/ppc/ppc750ps.d: Likewise.
267
f467aa98
BE
2682007-08-23 Ben Elliston <bje@au.ibm.com>
269
270 * doc/c-arm.texi (ARM Directives): Move brackets out of @vars.
271
3992d3b7
AM
2722007-08-17 Alan Modra <amodra@bigpond.net.au>
273
274 PR gas/4079
275 * config/tc-i386.c (x86_cons): Complain about invalid @got etc.
276 expressions.
277 (i386_immediate): Detect and complain about more cases of
278 invalid immediate expressions. Return failure rather than
279 converting them to zero.
280 (i386_displacement): Likewise.
281
e9f27433
AM
2822007-08-17 Alan Modra <amodra@bigpond.net.au>
283
284 * po/Make-in: Add --msgid-bugs-address to xgettext invocation.
285
cf738528
AS
2862007-08-14 Andreas Schwab <schwab@suse.de>
287
288 * config/tc-ia64.c (tc_gen_reloc): Return NULL if relocation is
289 unrepresentable.
290
9975e4c4
DJ
2912007-08-12 Matthias Klose <doko@ubuntu.com>
292
293 * doc/Makefile.am (AM_MAKEINFOFLAGS, TEXI2DVI): Include
294 $(top_srcdir)/../../bfd/doc.
295 * doc/Makefile.in: Regenerate.
296
7c3d153f
NC
2972007-08-10 Nick Clifton <nickc@redhat.com>
298
299 * NEWS: Add a marker for the 2.18 features.
300
4396b686
PB
3012007-08-09 Paul Brook <paul@codesourcery.com>
302
303 * config/tc-arm.c (relaxed_symbol_addr): Compensate for alignment.
304
c3ad16c0
L
3052007-08-09 H.J. Lu <hongjiu.lu@intel.com>
306
307 * config/tc-i386.c (check_byte_reg): Support pextrb and pinsrb.
308
34828aad
L
3092007-07-29 H.J. Lu <hongjiu.lu@intel.com>
310
311 * config/tc-i386.c (check_long_reg): Allow cvtss2si to convert
312 DWORD memory to Reg64 in Intel synax.
313 (check_qword_reg): Allow cvtsd2si to convert QWORD memory to
314 Reg32 in Intel syntax.
315
d12f9798
BW
3162007-07-25 Sterling Augustine <sterling@tensilica.com>
317
318 * config/tc-xtensa.c (xtensa_extui_opcode): New.
319 (xg_expand_assembly_insn): Check for invalid extui operands.
320 (md_begin): Initialize xtensa_extui_opcode.
321
9ce0cf56
NC
3222007-07-24 Nick Clifton <nickc@redhat.com>
323
324 * config/tc-mep.h (skip_whitespace): Remove definition.
325
76bc74dc
L
3262007-07-23 H.J. Lu <hongjiu.lu@intel.com>
327
328 * config/tc-i386.c (cpu_arch): Change i386 to PROCESSOR_I386.
329 (f32_15): Removed.
330 (jump_31): New.
331 (f32_patt): Remove f32_15.
332 (f16_patt): Likewise.
333 (i386_align_code): Updated to alt_long_patt for 64bit by
334 default.
335
336 * config/tc-i386.h (processor_type): Add PROCESSOR_I386.
337
3382007-07-23 Evandro Menezes <evandro.menezes@amd.com>
339
340 * config/tc-i386.c (i386_align_code): Enable alignment up to
341 MAX_MEM_FOR_RS_ALIGN_CODE bytes. Remove special treatment
342 for K8.
343
e6529493
L
344 * config/tc-i386.h (MAX_MEM_FOR_RS_ALIGN_CODE): Changed to 31.
345
fc5910c0
NC
3462007-07-20 Nick Clifton <nickc@redhat.com>
347
348 * app.c (do_scrub_chars): Provide a one character buffer to hold a
349 pushed back newline at the end of an unterminated quoted string.
350
d929913e
NC
3512007-07-14 Nick Clifton <nickc@redhat.com>
352
353 * config/tc-arm.c (create_register_alias): Return a boolean rather
354 than an integer.
355 Check the return value of insert_reg_alias and do not continue to
356 create aliases once an insertion has failed.
357 (s_unreq): Delete the all-upper-case and all-lower-case
358 alternatives as well.
359
d2df793a
NC
3602007-07-12 Kai Tietz <kai.tietz@onevision.com>
361
362 * symbols.c: Print bfd_hostptr_t to file via fprintf_vma.
363 * write.c: Likewise.
364
369943fe
DJ
3652007-07-11 Daniel Jacobowitz <dan@codesourcery.com>
366
367 * config/tc-mips.c (mips_dwarf2_format, mips_dwarf2_addr_size): Use
368 HAVE_64BIT_SYMBOLS.
369
0fdf1951
RS
3702007-07-04 Richard Sandiford <richard@codesourcery.com>
371
372 * config/tc-mips.c (mips_cpu_info_table): Add new entries for
373 {24k,24ke,34k,74k}f{2_1,1_1,x}. Also add an entry for 74kf3_2.
374 Deprecate *x and *fx.
375 * doc/c-mips.texi: Document the new CPU arguments. Deprecate
376 *x and *fx.
377
872ce6ff
L
3782007-07-04 H.J. Lu <hongjiu.lu@intel.com>
379
380 * config/obj-coff.h (x86_64_target_format): Renamed to ...
381 (i386_target_format): This
382 (TARGET_FORMAT): Use i386_target_format.
383
384 * config/tc-i386.c (x86_64_target_format): Removed.
385 (i386_target_format): Handle PE formats.
386
1a412f5f
NC
3872007-07-04 Nick Clifton <nickc@redhat.com>
388
389 * symbols.c (symbol_relc_make_value): Use bfd_sprintf_vma in order
390 to get the right length of printed value.
391
ec2655a6
NC
3922007-07-03 Nick Clifton <nickc@redhat.com>
393
394 * COPYING: Replace with GPLv3 text.
395 * app.c: Update copyright notice to refer to GPLv3.
396 * as.c, as.h, asintl.h, atof_generic.c, bignum.h, bit_fix.h,
397 cgen.c, cond.c, debug.c, depend.c, dw2gencfi.c, dw2gencfi.h,
398 dwarf2dbg.c, dwarf2dbg.h, ecoff.c, ecoff.h, ehopt.c, emul.h,
399 emul_target.h, expr.c, expr.h, flonum-copy.c, flonum.h,
400 flonum-konst.c, frags.c, frags.h, hash.c, hash.h, input-file.c,
401 input-file.h, input-scrub.c, ibtl-lex.h, itbl-lex.l, itbl-ops.c,
402 itbl-ops.h, itbl-parse.y, listing.c, listing.h, literal.c,
403 macro.c, messages.c, obj.h, output-file.c, output-file.h, read.c,
404 read.h, sb.c, sb,h, stabs.c, struc-symbol.h, subsegs.c, subsegs.h,
405 symbols.c, symbols.h, tc.h, write.c, write.h, config/aout_gnu.h,
406 config/config/atof-ieee.c, config/atof-vax.c, config/bfin-aux.h,
407 config/bfin-defs.h, config/bfin-lex.l, config/bfin-parse.y,
408 config/itbl-mips.h, config/m68k-parse.h, config/m68k-parse.y,
409 config/obj-aout.c, config/obj-aout.h, config/obj-coff.c,
410 config/obj-coff.h, config/obj-ecoff.c, config/obj-ecoff.h,
411 config/obj-elf.c, config/obj-elf.h, config/obj-evax.c,
412 config/obj-evax.h, config/obj-multi.h, config/obj-som.c,
413 config/obj-som.h, config/tc-alpha.c, config/tc-alpha.h,
414 config/tc-arc.c, config/tc-arc.h, config/tc-arm.c,
415 config/tc-arm.h, config/tc-avr.c, config/tc-avr.h,
416 config/tc-bfin.c, config/tc-bfin.h, config/tc-cr16.c,
417 config/tc-cr16.h, config/tc-cris.c, config/tc-cris.h,
418 config/tc-crx.c, config/tc-crx.h, config/tc-d10v.c,
419 config/tc-d10v.h, config/tc-d30v.c, config/tc-d30v.h,
420 config/tc-dlx.c, config/tc-dlx.h, config/tc-fr30.c,
421 config/tc-fr30.h, config/tc-frv.c, config/tc-frv.h,
422 config/tc-generic.c, config/tc-generic.h, config/tc-h8300.c,
423 config/tc-h8300.h, config/tc-hppa.c, config/tc-hppa.h,
424 config/tc-i370.c, config/tc-i370.h, config/tc-i386.c,
425 config/tc-i386.h, config/tc-i860.c, config/tc-i860.h,
426 config/tc-i960.c, config/tc-i960.h, config/tc-ia64.c,
427 config/tc-ia64.h, config/tc-ip2k.c, config/tc-ip2k.h,
428 config/tc-iq2000.c, config/tc-iq2000.h, config/tc-m32c.c,
429 config/tc-m32c.h, config/tc-m32r.c, config/tc-m32r.h,
430 config/tc-m68hc11.c, config/tc-m68hc11.h, config/tc-m68k.c,
431 config/tc-m68k.h, config/tc-maxq.c, config/tc-maxq.h,
432 config/tc-mcore.c, config/tc-mcore.h, config/tc-mep.c,
433 config/tc-mep.h, config/tc-mips.c, config/tc-mips.h,
434 config/tc-mmix.c, config/tc-mmix.h, config/tc-mn10200.c,
435 config/tc-mn10200.h, config/tc-mn10300.c, config/tc-mn10300.h,
436 config/tc-msp430.c, config/tc-msp430.h, config/tc-mt.c,
437 config/tc-mt.h, config/tc-ns32k.c, config/tc-ms32k.h,
438 config/tc-openrisc.c, config/tc-openrisc.h, config/tc-or32.c,
439 config/tc-or32.h, config/tc-pdp11.c, config/tc-pdp11.h,
440 config/tc-pj.c, config/tc-pj.h, config/tc-ppc.c, config/tc-ppc.h,
441 config/tc-s390.c, config/tc-s390.h, config/tc-score.c,
442 config/tc-score.h, config/tc-sh64.c, config/tc-sh64.h,
443 config/tc-sh.c, config/tc-sh.h, config/tc-sparc.c,
444 config/tc-sparc.h, config/tc-spu.c, config/tc-spu.h,
445 config/tc-tic30.c, config/tc-tic30.h, config/tc-tic4x.c,
446 config/tc-tic4x.h, config/tc-tic54x.c, config/tc-tic54x.h,
447 config/tc-v850.c, config/tc-v850.h, config/tc-vax.c,
448 config/tc-vax.h, config/tc-xc16x.c, config/tc-x16x.h,
449 config/tc-xstormy16.c, config/tc-xstormy16.h, config/tc-xtensa.c,
450 config/tc-xtensa.h, config/tc-z80.c, config/tc-z80.h,
451 config/tc-z8k.c, config/tc-z8k.h, config/te-386bsd.h,
452 config/te-freebsd.h, config/te-hppa.h, config/te-irix.h,
453 config/te-netware.h, config/te-sparcaout.h, config/te-tmips.h,
454 config/te-vxworks.h, config/vax-inst.h, config/xtensa-istack.h,
455 config/xtensa-relax.c, config/xtensa-relax.h: Likewise.
456
457 * flonum-mult.c: Likewise, and also correct typo referring to
458 non-existant GNU Assembler General Public License.
459 * config/tc-m68851.h: Likewise.
460 * NEWS: Mention the new license. Also note where the 2.17 release
461 happened.
462 * config/e-crisaout.c: Add copyright header.
463 * config/e-criself.c, config/e-i386aout.c, config/e-i386coff.c,
464 config/e-i386elf.c, config/e-mipscoff.c, config/e-mipself.c,
465 config/obj-multi.c, config/te-aix5.h, config/te-armeabi.h,
466 config/te-armlinuxeabi.h, config/te-dynix.h, config/te-epoc-pe.h,
467 config/te-generic.h, config/te-gnu.h, config/te-go32.h,
468 config/te-hppa64.h, config/te-hppalinux64.h, config/te-hpux.h,
469 config/te-i386aix.h, config/te-ia64aix.h, config/te-interix.h,
470 config/te-linux.h, config/te-lnews.h, config/te-lynx.h,
471 config/te-mach.h, config/te-macos.h, config/te-nbsd532.h,
472 config/te-nbsd.h, config/te-pc532mach.h, config/te-pe.h,
473 config/te-pep.h, config/te-psos.h, config/te-riscix.h,
474 config/te-sun3.h, config/te-svr4.h, config/te-symbian.h,
475 config/te-wince-pe.h: Likewise.
476
afa2158f
NS
4772007-07-03 Nathan Sidwell <nathan@codesourcery.com>
478
479 * config/tc-m68k.c (m68k_ip): Add j & K operand types.
480 (install_operand): Add E encoding.
481 (md_begin): Check and skip initial '.' arg character.
482 (get_num): Add 0..511 case.
483
ae4a729b
AM
4842007-07-03 Alan Modra <amodra@bigpond.net.au>
485
486 PR 4713
487 * config/obj-elf.c (elf_ecoff_set_ext): Make static when OBJ_MAYBE_ELF.
488 * config/obj-elf.h (obj_ecoff_set_ext): Comment.
489
df816087
AM
4902007-07-03 Mikkel Lauritsen <renard@nospam.dk>
491
492 PR 4722
493 * app.c (do_scrub_chars <state 5>): Check for output buffer full
494 after memcpy.
495
741d6ea8
JM
4962007-07-02 Joseph Myers <joseph@codesourcery.com>
497
498 * config/tc-mips.c (s_dtprelword, s_dtpreldword,
499 s_dtprel_internal): New.
500 (mips_pseudo_table): Add .dtprelword and .dtpreldword.
501 (md_apply_fix): Handle BFD_RELOC_MIPS_TLS_DTPREL32 and
502 BFD_RELOC_MIPS_TLS_DTPREL64.
503
ae351704
AM
5042007-07-02 Alan Modra <amodra@bigpond.net.au>
505
506 * Makefile.am: Run "make dep-am".
507 * Makefile.in: Regenerate.
508 * aclocal.m4: Regenerate.
509 * config.in: Regenerate.
510 * doc/Makefile.in: Regenerate.
511 * po/POTFILES.in: Regenerate.
512 * po/gas.pot: Regenerate.
513
8d452c78
AM
5142007-07-02 Alan Modra <amodra@bigpond.net.au>
515
516 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
517 coff section flag values to bfd section flag.
518
86b57e31
L
5192007-06-30 H.J. Lu <hongjiu.lu@intel.com>
520
521 * aclocal.m4: Regenerated.
522 * doc/Makefile.in: Likewise.
523 * Makefile.in: Likewise.
524
7ace4e4c
JM
5252007-06-29 Joseph Myers <joseph@codesourcery.com>
526
527 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
528
104d59d1
JM
5292007-06-29 Joseph Myers <joseph@codesourcery.com>
530
531 * as.c (create_obj_attrs_section): New.
532 (main): Call create_obj_attrs_section for ELF.
533 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
534 skip_past_comma, s_vendor_attribute): New.
535 (potable): Add gnu_attribute for ELF.
536 * read.h (s_vendor_attribute): Declare.
537 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
538 round s_vendor_attribute.
539 (aeabi_set_public_attributes): Update for new attributes
540 interfaces.
541 (arm_md_end): Remove attributes contents setting now done
542 generically.
543
3d3d428f
NC
5442007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
545
546 * Makefile.am: Add CR16 related entry.
547 * Makefile.in: Regenerate.
548 * config/tc-cr16.h: New file
549 * config/tc-cr16.c: New file
550 * doc/c-cr16.texi: New file for cr16
551 * doc/all.texi: Entry for cr16
552 * doc/Makefile.am: Added c-cr16.texi
553 * doc/Makefile.in: Regenerate
554 * doc/as.texinfo: Entry for CR16 target
555 * NEWS: Announce the support for the new target.
556
cd2cf30b
PB
5572007-06-26 Paul Brook <paul@codesourcery.com>
558
559 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
560 for OP_RVC.
561 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
562
5f15756d
L
5632007-06-25 H.J. Lu <hongjiu.lu@intel.com>
564
565 * config/tc-i386.c (process_operands): Replace regKludge
566 with RegKludge.
567
b314ec0e
RS
5682007-06-25 Richard Sandiford <richard@codesourcery.com>
569
570 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
571 * config/tc-mips.c (append_insn): Record which symbols have
572 R_MIPS16_26 relocations against them.
573 (mips_fix_adjustable): Don't reduce relocations against such symbols.
574
b81bf389
BW
5752007-06-22 Sterling Augustine <sterling@tensilica.com>
576
577 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
578 (frag_format_size): Handle RELAX_IMMED_STEP3.
579 (xtensa_relax_frag, md_convert_frag): Likewise.
580 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
581 (RELAX_IMMED_MAXSTEPS): Adjust.
582 * config/xtensa-relax.c (widen_spec_list): Add transitions from
583 wide branches to branch-over-jumps.
584 (build_transition): Handle wide branches in transition patterns.
585
e205caa7
L
5862007-06-22 H.J. Lu <hongjiu.lu@intel.com>
587
588 * config/tc-i386.c (disp_size): New.
589 (imm_size): Likewise.
590 (output_disp): Use disp_size and imm_size.
591 (output_imm): Use imm_size.
592
c48aaca0
BW
5932007-06-19 Sterling Augustine <sterling@tensilica.com>
594
595 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
596 use of literal_frag field.
597 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
598 in the literal_frag field.
599 (xtensa_move_literals): Use it here instead of searching. Update
600 literal_frag field with new value.
601
728ca7c9
PB
6022007-06-14 Paul Brook <paul@codesourcery.com>
603
604 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
605 narrow shift by immediate.
606
79887925
L
6072007-06-14 H.J. Lu <hongjiu.lu@intel.com>
608
609 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
610
611 * acinclude.m4: Don't include m4 files.
612 (BFD_BINARY_FOPEN): Removed.
613 Remove libtool kludge.
614
615 * Makefile.in: Regenerated.
616 * doc/Makefile.in: Likewise.
617 * aclocal.m4: Likewise.
618 * configure: Likewise.
619
99ded152
BW
6202007-06-11 Sterling Augustine <sterling@tensilica.com>
621 Bob Wilson <bob.wilson@acm.org>
622
623 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
624 (XTENSA_PROP_NO_TRANSFORM): ...this.
625 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
626 (xtensa_mark_frags_for_org): New.
627 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
628 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
629 (get_frag_property_flags): Adjust reference to is_no_transform flag.
630 (xtensa_frag_flags_combinable): Likewise.
631 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
632 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
633
dce323d1
PB
6342007-06-06 Paul Brook <paul@codesourcery.com>
635
636 * config/tc-arm.c (s_align): Pad code sections appropriately.
637
79d49516
PB
6382007-06-05 Paul Brook <paul@codesourcery.com>
639
640 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
641
dfeb0666
NC
6422007-06-05 Nick Clifton <nickc@redhat.com>
643
644 PR gas/4587
645 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
646
353ab861
AM
6472007-06-05 Alan Modra <amodra@bigpond.net.au>
648
649 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
650 number@ppu.
651 (tc_gen_reloc): Abort if neither addsy or subsy is set.
652 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
653 * config/tc-spu.h (md_operand): Handle @ppu without sym.
654
91568d08
PB
6552007-05-31 Paul Brook <paul@codesourcery.com>
656
657 * config/tc-arm.c (insns): Allow strex on M profile cores.
658
c699f087
JJ
6592007-05-29 David S. Miller <davem@davemloft.net>
660 Jakub Jelinek <jakub@redhat.com>
661
662 PR gas/4558
663 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
664 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
665
945370aa
AM
6662007-05-29 Alan Modra <amodra@bigpond.net.au>
667
668 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
669
98027b10
AM
6702007-05-29 Alan Modra <amodra@bigpond.net.au>
671
672 * config/tc-ppc.c: Convert to ISO C.
673 * config/tc-ppc.c: Likewise.
674
a32b816e
AM
6752007-05-29 Alan Modra <amodra@bigpond.net.au>
676
677 * write.h (EXEC_MACHINE_TYPE): Delete.
678 (string_byte_count, section_alignment): Delete.
679
1740b7b1
NS
6802007-05-28 Nathan Sidwell <nathan@codesourcery.com>
681
682 * app.c (do_scrub_chars): Cope with \ at end of buffer.
683
a1867a27
AM
6842007-05-26 Alan Modra <amodra@bigpond.net.au>
685
686 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
687 top 32 bits of 64 bit value if so doing results in passing
688 range check. Rewrite sign extension fudges similarly. Enable
689 fudges for powerpc64 too. Report user value if range check
690 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
691 range rather than value, also to report user value on failure.
692
efd81785
PB
6932007-03-25 Paul Brook <paul@codesourcery.com>
694
695 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
696 (do_t_add_sub): Correctly encode subs pc, lr, #const.
697 (do_t_mov_cmp): Correctly encode movs pc, lr.
698
37ad9514
SE
6992007-05-24 Steve Ellcey <sje@cup.hp.com>
700
701 * Makefile.in: Regnerate.
702 * configure: Regenerate.
703 * aclocal.m4: Regenerate.
704 * doc/Makefile.in: Regenerate.
705
4c8d1ad4
BW
7062007-05-22 Bob Wilson <bob.wilson@acm.org>
707
708 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
709 and index entries about automatic alignment of ENTRY instructions.
710
0e9517a9
NC
7112007-05-22 Nick Clifton <nickc@redhat.com>
712
713 * doc/as.texinfo: Use @copying around the copyright notice.
714
e6559e01
JM
7152007-05-18 Joseph Myers <joseph@codesourcery.com>
716
717 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
718 containing a comma.
719
4b7d318b
L
7202007-05-17 H.J. Lu <hongjiu.lu@intel.com>
721
722 PR gas/4517
723 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 724 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
725 .cfi_undefined, .cfi_same_value, .cfi_return_column,
726 .cfi_remember_state and .cfi_restore_state.
727
2b878742
NS
7282007-05-17 Nathan Sidwell <nathan@codesourcery.com>
729
730 * config/tc-m68k.c (md_apply_fix): Show value of out of range
731 fixups in error message.
732 (md_conver_frag_1): Propagate the fix source location and use
733 as_bad_where rather than fatal, for better error messages.
734
2b744c99
PB
7352007-05-16 Paul Brook <paul@codesourcery.com>
736
737 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
738
2a676888
MS
7392007-05-15 Mark Shinwell <shinwell@codesourcery.com>
740
741 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
742
1c3f20b4
NC
7432007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
744
745 PR gas/3041
746 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
747 addend is stored for relocs against weak symbols.
748 (md_apply_fix): So not loose track of addend for relocs against
749 weak symbols.
750
24471d42
TS
7512007-05-14 Thiemo Seufer <ths@mips.com>
752
753 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
754
b0253a53
ML
7552007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
756
24471d42
TS
757 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
758 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
759 (score_insns): Remove subis and subis.c.
760 (do_sub_rdi16): Delete.
761
ece5ef60
AM
7622007-05-11 Alan Modra <amodra@bigpond.net.au>
763
764 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
765 spu_cons for word.
766 (md_assemble): Tidy use of insn.flag.
767 (get_imm): Likewise. Handle uppercase input too.
768 (spu_cons): New function.
769 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
770 (TC_FORCE_RELOCATION): Don't resolve them either.
771
f9d4405b
MS
7722007-05-05 Mark Shinwell <shinwell@codesourcery.com>
773
774 * config/tc-arm.c (md_apply_fix): Generate more accurate
775 diagnostic when 8-bit immediate range is exceeded for
776 BFD_RELOC_ARM_OFFSET_IMM8.
777
0787a12d
AM
7782007-05-04 Alan Modra <amodra@bigpond.net.au>
779
780 PR gas/4460
781 * config/tc-i386.c (lex_got): Don't replace the reloc token with
782 a space if we already have a space.
783
20592a94
L
7842007-05-03 H.J. Lu <hongjiu.lu@intel.com>
785
786 * config/tc-i386.c (match_template): Don't explicitly check
787 suffix for crc32 in Intel mode.
788 (process_suffix): Issue an error for crc32 if the operand size
789 is ambiguous.
790
22184a77
NC
7912007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
792 Nick Clifton <nickc@redhat.com>
793
794 PR gas/3041
795 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
796 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
797 (md_apply_fix): Put zero values into the frags referencing weak
798 symbols.
799
3896c469
AM
8002007-05-02 Alan Modra <amodra@bigpond.net.au>
801
802 PR 4448
803 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
804 PPC_OPERAND_PLUS1.
805
9344ff29
L
8062007-05-01 H.J. Lu <hongjiu.lu@intel.com>
807
808 * config/tc-i386.c (match_template): Check suffix for crc32 in
809 Intel mdoe.
810 (process_suffix): Default the suffix of 8bit crc32 to
811 BYTE_MNEM_SUFFIX.
812 (check_byte_reg): Skip check for 8bit crc32.
813
a540244d
L
8142007-04-30 H.J. Lu <hongjiu.lu@intel.com>
815
816 * config/tc-i386.c (md_assemble): Use register_prefix in
817 error/warning message.
818 (check_byte_reg): Likewise.
819 (check_long_reg): Likewise.
820 (check_qword_reg): Likewise.
821 (check_word_reg): Likewise.
822 (process_operands): Likewise.
823
eb42fac1
AM
8242007-04-30 Alan Modra <amodra@bigpond.net.au>
825
826 PR 4436
827 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
828 min > max.
829
02ffd3e4
TS
8302007-04-28 Thiemo Seufer <ths@networkno.de>
831
832 * config/tc-mips.c: Fix comment.
833
8eb2af8e
DC
8342007-04-26 Anatoly Sokolov <aesok@post.ru>
835
836 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
837 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
838 * doc/c-avr.texi: Document new devices.
839
6d0f4cb4
AM
8402007-04-24 Alan Modra <amodra@bigpond.net.au>
841
842 * Makefile.am: Run "make dep-am".
843 * Makefile.in: Regenerate.
844
9a2e615a
NS
8452007-04-23 Nathan Sidwell <nathan@codesourcery.com>
846
847 * config/tc-m68k.c (mcf54455_ctrl): New.
848 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
849 (m68k_archs): Add isac.
850 (m68k_cpus): Add 54455 family.
851 (m68k_ip): Split Bg into Bb, Bs, Bg.
852 (m68k_elf_final_processing): Add ISA_C.
853 * doc/c-m68k.texi (M680x0 Options): Add isac.
854
d2bdaea8
AM
8552007-04-22 Alan Modra <amodra@bigpond.net.au>
856
857 * read.c (read_a_source_file): Skip multiple spaces to
858 cover hack in mmix md_start_line_hook which overwrites a
859 colon with a space. Delete sermon and needless assertion.
860
541d2ffd
AM
8612007-04-21 Alan Modra <amodra@bigpond.net.au>
862
863 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
864 (md_atof): Make number_of_chars unsigned. Revert last change.
865 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
866 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
867 * config/tc-sh.h (md_optimize_expr): Likewise.
868 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
869 assertion.
870 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
871
c13781b8
NC
8722007-04-21 Nick Clifton <nickc@redhat.com>
873
2523cd0a
NC
874 * config/atof-vax.c (md_atof): Fix comparison inside know().
875
c13781b8
NC
876 * config/tc-ia64.c (emit_one_bundle): Fix typo.
877
c43a438d
AM
8782007-04-21 Alan Modra <amodra@bigpond.net.au>
879
db557034
AM
880 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
881 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
882 Don't skip over NUL char.
883 (pseudo_set): Set X_op for registers to O_register.
884 * symbols.c (symbol_clone): Remove assertion that sym is defined.
885 (resolve_symbol_value): Resolve O_register symbols.
886 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
887 Instead find st(0) by hash lookup.
888 * config/tc-ppc.c (ppc_macro): Warning fix.
889
c43a438d
AM
890 * as.h (ENABLE_CHECKING): Default define to 0.
891 (know): Assert if ENABLE_CHECKING.
892 (struct relax_type): Remove superfluous declaration.
893 * configure.in (--enable-checking): New.
894 * configure: Regenerate.
895 * config.in: Regenerate.
896 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
897 Check for duplicate powerpc_operands entries.
898
78336706
NS
8992007-04-20 Nathan Sidwell <nathan@codesourcery.com>
900
d5be9593
NS
901 * config/tc-m68k.c (mcf5253_ctrl): New.
902 (mcf52223_ctrl): New.
903 (m68k_cpus): Add 5253, 52221, 52223.
904
78336706
NS
905 * config/m68k-parse.h (RAMBAR_ALT): New.
906 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
907 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
908 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
909 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
910 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
911 RAMBAR1.
912 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
913 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
914 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
915 to control register mapping.
916
931774a9
AM
9172007-04-20 Alan Modra <amodra@bigpond.net.au>
918
919 * messages.c (as_internal_value_out_of_range): Fix typo in
920 error message. Return after printing domain error.
921 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
922 in max when shifting right.
923
b84bf58a
AM
9242007-04-20 Alan Modra <amodra@bigpond.net.au>
925
926 * messages.c (as_internal_value_out_of_range): Extend to report
927 errors for values with invalid low bits set.
928 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
929 fields. Check that operands and opcode fields are disjoint.
930 (ppc_insert_operand): Check operands using mask rather than bit
931 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
932 insertion code.
933 (md_apply_fix): Adjust for struct powerpc_operand change.
934
076d447c
PB
9352007-04-19 Paul Brook <paul@codesourcery.com>
936
937 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
938 Thumb-1. Add sanity check for bogus relaxations.
939
16a4cf17
PB
9402007-04-19 Paul Brook <paul@codesourcery.com>
941
942 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
943
e30daadc
AM
9442007-04-19 Alan Modra <amodra@bigpond.net.au>
945
946 * Makefile.am: Run "make dep-am".
947 * Makefile.in: Regenerate.
948
7a467a28
AM
9492007-04-19 Nathan Froyd <froydnj@codesourcery.com>
950
951 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
952
d76f7bc1
L
9532007-04-18 H.J. Lu <hongjiu.lu@intel.com>
954
955 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
956
381d071f
L
9572007-04-18 H.J. Lu <hongjiu.lu@intel.com>
958
959 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
960 (match_template): Handle operand size for crc32 in SSE4.2.
961 (process_suffix): Handle operand type for crc32 in SSE4.2.
962 (output_insn): Support SSE4.2.
963
42903f7f
L
9642007-04-18 H.J. Lu <hongjiu.lu@intel.com>
965
966 * config/tc-i386.c (cpu_arch): Add .sse4.1.
967 (process_operands): Adjust implicit operand for blendvpd,
968 blendvps and pblendvb in SSE4.1.
969 (output_insn): Support SSE4.1.
970
026d3abb
PB
9712007-04-18 Paul Brook <paul@codesourcery.com>
972
973 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
974
91382b56
KK
9752007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
976
977 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
978 of as_warn_where for misaligned data.
979
0838d2ac
KK
9802007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
981
982 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
983 rs_fill frags.
984
b7d19ba6
SE
9852007-04-14 Steve Ellcey <sje@cup.hp.com>
986
987 * Makefile.am: Add ACLOCAL_AMFLAGS.
988 * Makefile.in: Regenerate.
989
0cc34095
KK
9902007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
991
992 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
993 (sh_optimize_expr): Likewise.
994 * config/tc-sh.h (md_optimize_expr): Define.
995 (sh_optimize_expr): Prototype.
996
6f7b6869
MT
9972007-04-06 Matt Thomas <matt@netbsd.org>
998
999 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
1000 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
1001 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
1002
d0e8669a
KH
10032007-04-04 Kazu Hirata <kazu@codesourcery.com>
1004
1005 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
1006
3b8d421e
PB
10072007-04-04 Paul Brook <paul@codesourcery.com>
1008
1009 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
1010 (insns): Use I15 for vext.
1011
9fcfe2ed
PB
10122007-04-04 Paul Brook <paul@codesourcery.com>
1013
1014 * configure.tgt: Loosen checks for arm uclinux eabi targets.
1015
a3582eee
BW
10162007-04-02 Sterling Augustine <sterling@tensilica.com>
1017
1018 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
1019 outputting_stabs_line_debug.
1020
7b60f473
DC
10212007-03-26 Anatoly Sokolov <aesok@post.ru>
1022
1023 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
1024 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
1025 devices.
1026 * doc/c-avr.texi: Document new devices.
1027
0c000745
RS
10282007-04-02 Richard Sandiford <richard@codesourcery.com>
1029
1030 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
1031 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
1032 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
1033
c3ea6048
BW
10342007-03-30 Sterling Augustine <sterling@tensilica.com>
1035 Bob Wilson <bob.wilson@acm.org>
1036
1037 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
1038 Do not check is_loop_target flag.
1039 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
1040 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
1041 xtensa_move_labels for alignment of loop opcodes.
1042
f6bee062
L
10432007-03-30 H.J. Lu <hongjiu.lu@intel.com>
1044
1045 * config/tc-i386.c (process_suffix): Reindent a bit.
1046
3c707909
PB
10472007-03-30 Paul Brook <paul@codesourcery.com>
1048
1049 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
1050 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
1051 (do_t_push_pop): Use encode_thumb2_ldmstm.
1052
144f4bc6
DD
10532007-03-29 DJ Delorie <dj@redhat.com>
1054
1055 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
1056 (md_relax_table): Add entries for ADJNZ macros.
1057 (M32C_Macros): Add ADJNZ macros.
1058 (subtype_mappings): Add entries for ADJNZ macros.
1059 (insn_to_subtype): Check for adjnz and sbjnz insns.
1060 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
1061 (md_convert_frag): Convert adjnz and sbjnz.
1062
e5551801
NC
10632007-03-29 Nick Clifton <nickc@redhat.com>
1064
1065 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
1066 initialization.
1067 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
1068 using ITBL_NUMBER_OF_PROCESSORS.
1069 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
1070
e72cf3ec
L
10712007-03-28 H.J. Lu <hongjiu.lu@intel.com>
1072
1073 * config/tc-i386.c (build_modrm_byte): For instructions with 2
1074 register operands, encode destination in i.rm.regmem if its
1075 RegMem bit is set.
1076
4ecceb71
RS
10772007-03-28 Richard Sandiford <richard@codesourcery.com>
1078 Phil Edwards <phil@codesourcery.com>
1079
1080 * doc/as.texinfo: Put the contents after the title page rather
1081 than at the end of the document.
1082
3f9ce309
AM
10832007-03-27 Alan Modra <amodra@bigpond.net.au>
1084
1085 * NEWS: Mention ".reloc".
1086
eb6d9dce
BW
10872007-03-26 Sterling Augustine <sterling@tensilica.com>
1088
1089 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
1090 in FLIX instructions.
1091
c96612cc
JB
10922007-03-26 Julian Brown <julian@codesourcery.com>
1093
1094 * config/tc-arm.c (arm_it): Add immisfloat field.
1095 (parse_qfloat_immediate): Disallow integer syntax for floating-point
1096 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
1097 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
1098 float.
1099 (neon_cmode_for_move_imm): Reject non-float immediates for float
1100 operands.
1101 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
1102
23753660
JB
11032007-03-26 Julian Brown <julian@codesourcery.com>
1104
1105 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
1106
05e9452c
AM
11072007-03-26 Alan Modra <amodra@bigpond.net.au>
1108
1109 * doc/as.texinfo (Reloc): Document.
1110 * read.c (potable): Add "reloc".
1111 (s_reloc): New function.
1112 * write.c (reloc_list): New global var.
1113 (resolve_reloc_expr_symbols): New function.
1114 (write_object_file): Call it.
1115 (write_relocs): Process reloc_list.
1116 * write.h (struct reloc_list): New.
1117 (reloc_list): Declare.
1118
1198ca51
PB
11192007-03-24 Paul Brook <paul@codesourcery.com>
1120
1121 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
1122
b6702015
PB
11232007-03-24 Paul Brook <paul@codesourcery.com>
1124 Mark Shinwell <shinwell@codesourcery.com>
1125
1126 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
1127 (parse_operands): Don't expect comma if first operand missing.
1128 Handle OP_oRRw.
1129 (do_srs): Encode register number, checking it is r13. Update comment.
1130 (insns): Update SRS entries to take a register.
1131
831480e9 11322007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
1133
1134 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
1135
738755b0
MS
11362007-03-23 Mark Shinwell <shinwell@codesourcery.com>
1137
35225157 1138 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
1139 attempt to jump to the next instruction into NOPs.
1140
840edabd
AM
11412007-03-23 Alan Modra <amodra@bigpond.net.au>
1142
1143 * config/tc-spu.c: Don't include opcode/spu.h.
1144 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
1145 (md_apply_fix): Adjust.
1146 * config/tc-spu.h: Include opcode/spu.h.
1147 (struct tc_fix_info): New.
1148 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
1149 (TC_FORCE_RELOCATION): Define.
1150
e49e529d
JM
11512007-03-22 Joseph Myers <joseph@codesourcery.com>
1152
1153 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
1154
831480e9 11552007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
1156
1157 * config/tc-i386.c (process_suffix): Check 0x90 instead of
1158 xchg for xchg %rax,%rax.
1159
831480e9 11602007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
1161
1162 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
1163 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
1164
831480e9 11652007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
1166
1167 PR binutils/4218
1168 * config/tc-i386.c (match_template): Properly handle 64bit mode
1169 "xchg %eax, %eax".
1170
af1c1010
NC
11712007-03-21 Anton Ertl <anton@mips.complang.tuw>
1172
1173 PR gas/4124
1174 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
1175
1d5f2fe9
L
11762007-03-21 H.J. Lu <hongjiu.lu@intel.com>
1177
1178 * Makefile.am: Run dep-am.
1179 * Makefile.in: Regenerated.
1180
1181 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
1182
1183 * config/tc-i386.h: Include "opcodes/i386-opc.h".
1184 (NOP_OPCODE): Removed.
1185 (template): Likewise.
1186
5ac8f2a2
AS
11872007-03-21 Andreas Schwab <schwab@suse.de>
1188
1189 * config/tc-i386.h (NOP_OPCODE): Restore.
1190
8fb9d7b9
MS
11912007-03-18 Mark Shinwell <shinwell@codesourcery.com>
1192
1193 * config/tc-arm.c (do_mul): Don't warn about overlapping
1194 Rd and Rm operands when assembling for v6 or above.
1195 Correctly capitalize register names in the messages.
1196 (do_mlas): Likewise. Delete spurious blank line.
1197
b3768379
KH
11982007-03-16 Kazu Hirata <kazu@codesourcery.com>
1199
1200 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
1201
c3fe08fa
L
12022007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1203
1204 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
1205 i386_regtab.
1206 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
1207 on i386_regtab.
1208
4061927e
L
12092007-03-15 Alexandre Oliva <aoliva@redhat.com>
1210
1211 PR gas/4184
1212 * app.c (do_scrub_chars): PUT after setting states.
1213
0b1cf022
L
12142007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1215
1216 * Makefile.am: Run "make dep-am".
1217 * Makefile.in: Regenerated.
1218
1219 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
1220 "opcode/i386.h".
1221 (md_begin): Check reg_name != NULL for the last entry in
1222 i386_regtab.
1223
1224 * config/tc-i386.h: Move many entries to opcode/i386.h and
1225 opcodes/i386-opc.h.
1226
1227 * configure.in (need_opcodes): Set true for i386.
1228 * configure: Regenerated.
1229
c428fa83
L
12302007-03-15 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * Makefile.am (REPORT_BUGS_TO): Removed.
1233 (INCLUDES): Remove -DREPORT_BUGS_TO.
1234 * Makefile.in: Regenerated.
1235
1236 * configure.in (--with-bugurl): Removed.
1237 * configure: Regenerated.
1238
1239 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
1240 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
1241 (TEXI2DVI): Likewise.
1242 (gasver.texi): Removed.
1243 (MOSTLYCLEANFILES): Remove gasver.texi.
1244 (as.1): Don't depend on gasver.texi.
1245 * doc/Makefile.in: Regenerated.
1246
1247 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
1248
794ba86a
DJ
12492007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
1250
1251 * config/tc-arm.c (arm_copy_symbol_attributes): New.
1252 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
1253 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
1254 * gas/symbols.c (copy_symbol_attributes): Use
1255 TC_COPY_SYMBOL_ATTRIBUTES.
1256
155257ea
PB
12572007-03-14 Paul Brook <paul@codesourcery.com>
1258
1259 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
1260
d1c5f158
AM
12612007-03-14 Alan Modra <amodra@bigpond.net.au>
1262
1263 PR 4029
1264 * write.c (relax_segment): Insert extra alignment padding
1265 to break infinite relax loop when given impossible
1266 gcc_except_table assembly.
1267
8a2ed489
L
12682007-03-12 H.J. Lu <hongjiu.lu@intel.com>
1269
1270 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
1271 on i.tm.base_opcode.
1272 (match_template): Likewise.
1273 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
1274
1275 * config/tc-i386.h (Opcode_D): New.
1276 (Opcode_FloatR): Likewise.
1277 (Opcode_FloatD): Likewise.
1278 (D): Redefined.
1279 (W): Likewise.
1280 (FloatMF): Likewise.
1281 (FloatR): Likewise.
1282 (FloatD): Likewise.
1283
e9fc6c21
AO
12842007-03-09 Alexandre Oliva <aoliva@redhat.com>
1285
1286 * app.c (do_scrub_chars): Recognize comments after # line "file".
1287 * read.c (get_linefile_number): New.
1288 (s_app_line): Accept ill-formed .linefile lines as comments.
1289
b1b7d09b
AM
12902007-03-09 Alan Modra <amodra@bigpond.net.au>
1291
1292 * config/tc-i386.h (WORKING_DOT_WORD): Define.
1293
93e914b2
AO
12942007-03-09 Alexandre Oliva <aoliva@redhat.com>
1295
1296 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
1297 * as.h (new_logical_line_flags): New.
1298 * input-scrub.c (new_logical_line): Turned into wrapper for...
1299 (new_logical_line_flags): this. Handle flags.
1300 * read.c (potable): Add linefile. Adjust appline argument.
1301 (s_app_file): Fake .appfiles no more.
1302 (s_app_line): For .linefile, accept file name and flags.
1303
6f12865c
AM
13042007-03-08 Alan Modra <amodra@bigpond.net.au>
1305
1306 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
1307
a6d04ec4
AM
13082007-03-08 Alan Modra <amodra@bigpond.net.au>
1309
1310 * Makefile.am: Run "make dep-am".
1311 * Makefile.in: Regenerate.
1312 * po/POTFILES.in: Regenerate.
1313
ad22bfe8
JM
13142007-03-07 Joseph Myers <joseph@codesourcery.com>
1315
1316 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
1317 bug-reporting URL.
1318 * doc/Makefile.am (gasver.texi): Define BUGURL.
1319 * doc/as.texinfo: Use BUGURL.
1320 * Makefile.in, configure, doc/Makefile.in: Regenerate.
1321
b5639b37
MS
13222007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
1323
1324 * config/tc-s390.c (md_parse_option): z9-ec option added.
1325
5e77afaa
PB
13262007-03-02 Paul Brook <paul@codesourcery.com>
1327
1328 * config/tc-arm.c (relax_immediate): Always return positive values.
1329 (relaxed_symbol_addr): New function.
1330 (relax_adr, relax_branch): Use it.
1331 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
1332
066c2a57
JM
13332007-03-01 Joseph Myers <joseph@codesourcery.com>
1334
1335 * as.c (parse_args): Update copyright date.
1336
ed6ba298
NS
13372007-02-28 Nathan Sidwell <nathan@codesourcery.com>
1338
1339 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
1340
870074dd
NC
13412007-02-28 Nick Clifton <nickc@redhat.com>
1342
c5d07591
NC
1343 PR gas/3797
1344 * config/tc-d10v.c (do_assemble): Do not generate error messages,
1345 just return -1 whenever a problem is encountered.
1346 (md_assemble): If do_assemble returns -1 generate a non-fatal
1347 error message and return.
1348
870074dd
NC
1349 PR gas/2623
1350 * config/tc-msp430.c (line_separator_char): Change to '{'.
1351
fd99afa7
AM
13522007-02-27 Alan Modra <amodra@bigpond.net.au>
1353
1354 * config/tc-m68hc11.c (fixup24): Correct fixup size.
1355 (build_jump_insn): Likewise.
1356 (build_insn): Likewise.
1357 (s_m68hc11_relax): Likewise.
1358
07cb2078
AM
13592007-02-27 Alan Modra <amodra@bigpond.net.au>
1360
1361 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
1362
22b5b651
MS
13632007-02-25 Mark Shinwell <shinwell@codesourcery.com>
1364
1365 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
1366
acb02403
AM
13672007-02-23 Alan Modra <amodra@bigpond.net.au>
1368
1369 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
1370 (md_assemble): Likewise.
1371
e5435dec
AM
13722007-02-22 Alan Modra <amodra@bigpond.net.au>
1373
1374 * write.c (size_seg): Always clear SEC_RELOC here.
1375 (install_reloc): New function, extracted from..
1376 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
1377 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
1378 testing frag size. Set SEC_RELOC here.
1379
a1836728
AM
13802007-02-21 Alan Modra <amodra@bigpond.net.au>
1381
1382 PR 4082
1383 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
1384
f281862d
TS
13852007-02-20 Thiemo Seufer <ths@mips.com>
1386
1387 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
1388
01fd108f
TS
13892007-02-20 Thiemo Seufer <ths@mips.com>
1390
1391 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
1392
8b082fb1
TS
13932007-02-20 Thiemo Seufer <ths@mips.com>
1394 Chao-Ying Fu <fu@mips.com>
1395
1396 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
1397 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
1398 (macro_build): Add case '2'.
1399 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
1400 (validate_mips_insn): Add support for balign instruction.
1401 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
1402 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
1403 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
1404 command line options.
1405 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
1406 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
1407 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
1408 .set dspr2, .set nodspr2.
1409
96e0bbcc
NS
14102007-02-20 Nathan Sidwell <nathan@codesourcery.com>
1411
1412 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
1413 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
1414
d31f0f6d
AM
14152007-02-18 Alan Modra <amodra@bigpond.net.au>
1416
1417 * write.c (TC_FX_SIZE_SLACK): Define.
1418 (write_relocs): Reinstate check for fixup within frag.
1419 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
1420 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
1421 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
1422 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
1423 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
1424
92f01d61
JM
14252007-02-17 Mark Mitchell <mark@codesourcery.com>
1426 Nathan Sidwell <nathan@codesourcery.com>
1427 Vladimir Prus <vladimir@codesourcery.com
1428 Joseph Myers <joseph@codesourcery.com>
1429
1430 * configure.in (--with-bugurl): New option.
1431 * configure: Regenerate.
1432 * dep-in.sed: Remove bin-bugs.h.
1433 * Makefile.am (REPORT_BUGS_TO): Define.
1434 (INCLUDES): Define REPORT_BUGS_TO.
1435 (DEP_INCLUDES): Likewise.
1436 ($(OBJS)): No longer depend on bin-bugs.h.
1437 * Makefile.in: Regenerate.
1438 * doc/Makefile.in: Regenerate.
1439 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
1440 * as.h: Remove include of bin-bugs.h.
1441
b4b24b79
AM
14422007-02-17 Alan Modra <amodra@bigpond.net.au>
1443
1444 * write.c: White space fixes.
1445 (fixup_segment): Move symbol_mri_common_p adjustments..
1446 (write_relocs): ..and symbol_equated_reloc_p adjustments..
1447 (adjust_reloc_syms): ..to here.
1448
e7ff5c73
AM
14492007-02-16 Alan Modra <amodra@bigpond.net.au>
1450
1451 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
1452 xmalloc, memset. Don't bother assigning NULL to known zero mem.
1453 (subseg_set_rest): Remove unnecessary cast.
1454 * write.c: Include libbfd.h. Replace PTR with void * throughout.
1455 Remove unnecessary forward declarations and casts.
1456 (set_symtab): Delete extern bfd_alloc.
1457 (fixup_segment): Move.
1458
a8e24a56
NS
14592007-02-15 Nathan Sidwell <nathan@codesourcery.com>
1460
1461 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
1462 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
1463 (mcf5475_ctrl, mcf5485_ctrl): New.
1464 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
1465 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
1466 (init_table): Add asid, mmubar, adjust rombar0.
1467
4eed87de
AM
14682007-02-14 Alan Modra <amodra@bigpond.net.au>
1469
1470 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
1471 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
1472 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
1473 code, and test for these insns using a combination of
1474 opcode_modifier and operand_types.
1475
7bd1c961
PB
14762007-02-07 Paul Brook <paul@codesourcery.com>
1477
5c817587 1478 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 1479
280d71bf 14802007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1481 Richard Sandiford <rsandifo@redhat.com>
1482 DJ Delorie <dj@redhat.com>
1483 Stan Cox <scox@redhat.com>
1484 Jim Blandy <jimb@redhat.com>
1485 Nick Clifton <nickc@redhat.com>
1486 Jim Wilson <wilson@redhat.com>
1487 Frank Ch. Eigler <fche@redhat.com>
1488 Graydon Hoare <graydon@redhat.com>
1489 Ben Elliston <bje@redhat.com>
1490 John Healy <jhealy@redhat.com>
1491 Richard Henderson <rth@redhat.com>
1492
1493 * Makefile.am (CPU_TYPES): Add mep.
1494 (TARGET_CPU_CFILES): Add tc-mep.c.
1495 (TARGET_CPU_HFILES): Add tc-mep.h.
1496 (DEPTC_mep_elf): New variable.
1497 (DEPTC_mep_coff): Likewise.
1498 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
1499 * configure.in: Support mep.
1500 * configure.tgt: Likewise.
1501 * config/tc-mep.c: New file.
280d71bf
DB
1502 * config/obj-elf.c: New file.
1503 * config/tc-mep.c: New file.
1504 * config/tc-mep.h: New file.
1505 * testsuite/gas/mep: New testsuite with content.
1506 * Makefile.in: Regenerate.
1507 * configure: Regenerate.
1508
15092007-02-05 Dave Brolley <brolley@redhat.com>
1510
1511 * cgen.c (gas_cgen_install_complex_reloc): Removed.
1512 (complex_reloc_installation_howto): Removed.
1513
15142007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1515 Graydon Hoare <graydon@redhat.com>
1516 DJ Delorie <dj@redhat.com>
1517 Catherine Moore <clm@redhat.com>
1518 Michael Chastain <chastain@redhat.com>
1519 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
1520
1521 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
1522 when to use complex relocs. Add signed RELC support.
1523 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1524 encode expression symbols as mangled complex relocation symbols (when
1525 compiled with -DOBJ_COMPLEX_RELOC).
1526 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
1527 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
1528 encode_addend with new args. Modify to get start, length from
1529 ifield whenever it is set. Also change condition on which
1530 self-describing relocs are encoded. Add hook into
1531 gas_cgen_encode_addend.
1532 (queue_fixup_recursively): Add signed RELC support. Change from masked
1533 expr to trunc flag. Restore assignment of sub-field value to
1534 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 1535 queue_fixup_recursively.
4948f0d4 1536 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
1537 (make_right_shifted_expr): New function.
1538 (queue_fixup): Change to recursive function that fragments
1539 fixups if operand has a multi-ifield.
1540 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
1541 symbols, call weak_operand_overflow_check, and fragment call
1542 queue_fixup with operand fields.
1543 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
1544 (weak_operand_overflow_check): New function to try to select
1545 insns correctly.
4948f0d4 1546 (gas_cgen_encode_addend): New function for relc.
280d71bf 1547 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 1548 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
1549 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
1550 cgen_maybe_multi_ifield field to fx_cgen substructure.
1551 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
1552 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
1553
e110eeb7
DD
15542007-02-03 DJ Delorie <dj@delorie.com>
1555
1556 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
1557 byte relocs.
1558 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
1559 (m32c_cons_fix_new): Prototype.
1560
60242db2
BW
15612007-02-02 Bob Wilson <bob.wilson@acm.org>
1562
1563 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
1564 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
1565
bbdd25a8
BW
15662007-02-02 Bob Wilson <bob.wilson@acm.org>
1567
1568 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
1569 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
1570 (map_suffix_reloc_to_operator): New.
1571 (map_operator_to_reloc): New.
1572 (expression_maybe_register): Fix incorrect test of return value from
1573 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
1574 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
1575
9c874773
BW
15762007-02-02 Bob Wilson <bob.wilson@acm.org>
1577
1578 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
1579 (tinsn_get_tok): Delete prototype.
1580 * config/tc-xtensa.c (tinsn_get_tok): Delete.
1581
61376837
BW
15822007-02-02 Bob Wilson <bob.wilson@acm.org>
1583
1584 * config/xtensa-relax.h (struct build_instr): Delete id field.
1585 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
1586 and LABEL tokens.
1587 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
1588 set op_data fields to zero.
1589 (parse_id_constant): Delete.
1590 (build_transition): Remove code to handle numbered literals and labels.
1591
bc447904
BW
15922007-02-02 Bob Wilson <bob.wilson@acm.org>
1593
1594 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
1595 (build_transition_table): Likewise.
1596
63a7429b
BW
15972007-02-01 Bob Wilson <bob.wilson@acm.org>
1598
1599 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
1600 fx_tcbit.
1601 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
1602
20ee54e8
AM
16032007-02-02 Alan Modra <amodra@bigpond.net.au>
1604
1605 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
1606 (struct fix <fx_plt>): Rename to tcbit2.
1607 * write.c (fix_new_internal): Adjust.
1608 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1609 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1610 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1611 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1612 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1613 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1614 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1615 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1616 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
1617 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
1618 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1619 Instead, compare fx_r_type.
1620 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
1621 fx_tcbit in place of fx_plt.
1622 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
1623 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
1624 to fx_plt.
1625
bf083c64
NC
16262007-01-30 Nick Clifton <nickc@redhat.com>
1627
1628 * as.c (main): Mark symbols created via the --defsym command line
1629 option as volatile so that they can be overridden later on by a
1630 .set directive. This maintains compatibility with the behaviour
1631 of earlier versions of the assembler.
1632 * doc/as.texinfo (--defsym): Document that the defined symbol's
1633 value can be overridden via a .set directive.
1634
fc523535 16352007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
1636
1637 * config/tc-i386.c (swap_imm_operands): Renamed to ...
1638 (swap_2_operands): This. Take 2 ints.
1639 (md_assemble): Updated.
1640 (swap_operands): Call swap_2_operands to swap 2 operands.
1641
7bc4c13c
DD
16422007-01-24 DJ Delorie <dj@redhat.com>
1643
1644 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
1645
48903831
NC
16462007-01-22 Nick Clifton <nickc@redhat.com>
1647
07302d31 1648 PR gas/3871
48903831
NC
1649 * tc-score.c: Remove unnecessary uses of _().
1650 Make the err_msg[] a file level local array in order to save
1651 storage space.
1652 Remove unnecessary sprintf()s.
1653
14119072
ML
16542007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
1655
07302d31 1656 PR gas/3871
14119072
ML
1657 * config/tc-score.c : Using _() for const string.
1658 Do not assign inst.error with a local string pointer.
1659 (md_section_align): Pad section.
1660
99018f42
L
16612007-01-13 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 * config/tc-i386.c (build_modrm_byte): Check number of operands
1664 when procssing memory/register operand.
1665
465e5617
NC
16662007-01-12 Nick Clifton <nickc@redhat.com>
1667
1668 PR gas/3856
1669 * macro.c (expand_irp): Do not ignore spaces inside quoted
1670 strings.
1671
e8630bd7
AM
16722007-01-12 Alan Modra <amodra@bigpond.net.au>
1673
1674 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1675 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1676 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1677 (TC_FORCE_RELOCATION): Define.
1678 (TC_FORCE_RELOCATION_LOCAL): Define.
1679 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
1680
1f5409bb
AM
16812007-01-12 Alan Modra <amodra@bigpond.net.au>
1682
1683 * input-file.c (input_file_open): Check fgets return.
1684
dc4503c6
PB
16852007-01-11 Paul Brook <paul@codesourcery.com>
1686
1687 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
1688
04f8d83b
NC
16892007-01-11 Nick Clifton <nickc@redhat.com>
1690
493cb6ef
NC
1691 PR gas/3707
1692 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
1693 variable.
1694
04f8d83b
NC
1695 * config/tc-mcore.c (md_number_to_chars): Use
1696 number_to_chars_{big|little}endian.
1697
3bdcfdf4
KH
16982007-01-08 Kazu Hirata <kazu@codesourcery.com>
1699
1700 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
1701 architecture by itself.
1702 (m68k_ip): Don't issue a warning for tbl instructions on fido.
1703 (m68k_elf_final_processing): Treat Fido as an architecture by
1704 itself.
1705
42037fe5
NC
17062007-01-08 Kai Tietz <kai.tietz@onevision.com>
1707
1708 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
1709
e4a3b5a4
L
17102007-01-05 H.J. Lu <hongjiu.lu@intel.com>
1711
1712 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
1713 depending on allow_naked_reg.
1714
a028a6f5
PB
17152007-01-04 Paul Brook <paul@codesourcery.com>
1716
1717 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
1718
2ca3ace5
L
17192007-01-04 H.J. Lu <hongjiu.lu@intel.com>
1720
44f9b8ac 1721 PR gas/3830
2ca3ace5
L
1722 * config/tc-i386.c (register_prefix): New.
1723 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 1724 prefix isn't needed.
2ca3ace5
L
1725 (check_byte_reg): Use register_prefix for error message.
1726 (check_long_reg): Likewise.
1727 (check_qword_reg): Likewise.
1728 (check_word_reg): Likewise.
1729
ec4faa47 17302007-01-04 Julian Brown <julian@codesourcery.com>
627907b7
JB
1731
1732 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
1733 (do_neon_qshl_imm): Likewise.
1734 (do_neon_rshl): New function. Handle rounding variants of
1735 v{q}shl-by-register.
1736 (insns): Use do_neon_rshl for vrshl, vqrshl.
1737
92559b5b
PB
17382007-01-04 Paul Brook <paul@codesourcery.com>
1739
1740 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
1741 and vacle.
1742
2ca3ace5
L
17432007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1744
1745 * config/tc-i386.c (swap_operands): Remove branches.
1746
4dc85607
L
17472007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1748
1749 * config/tc-i386.c: Update copyright year.
1750 * config/tc-i386.h: Likewise.
1751
1509aa9a
L
17522007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1753
1754 * config/tc-i386.c (smallest_imm_type): Return unsigned int
1755 instead of int.
1756
e3bb37b5
L
17572007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1758
1759 * config/tc-i386.c: Convert to ISO C90 formatting
1760 * config/tc-i386.h: Likewise.
1761
d821e36b
DD
17622007-01-03 David Daney <ddaney@avtrex.com>
1763
1764 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
1765 documentation.
1766
44021fe5 1767For older changes see ChangeLog-2006
08d56133
NC
1768\f
1769Local Variables:
1770mode: change-log
1771left-margin: 8
1772fill-column: 74
1773version-control: never
1774End:
This page took 0.406622 seconds and 4 git commands to generate.