* config/tc-ppc.c (ppc_pe_section): Comment out code assigning
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
8d452c78
AM
12007-07-02 Alan Modra <amodra@bigpond.net.au>
2
3 * config/tc-ppc.c (ppc_pe_section): Comment out code assigning
4 coff section flag values to bfd section flag.
5
86b57e31
L
62007-06-30 H.J. Lu <hongjiu.lu@intel.com>
7
8 * aclocal.m4: Regenerated.
9 * doc/Makefile.in: Likewise.
10 * Makefile.in: Likewise.
11
7ace4e4c
JM
122007-06-29 Joseph Myers <joseph@codesourcery.com>
13
14 * as.c (main): Only call create_obj_attrs_section if IS_ELF.
15
104d59d1
JM
162007-06-29 Joseph Myers <joseph@codesourcery.com>
17
18 * as.c (create_obj_attrs_section): New.
19 (main): Call create_obj_attrs_section for ELF.
20 * read.c (s_gnu_attribute, skip_whitespace, skip_past_char,
21 skip_past_comma, s_vendor_attribute): New.
22 (potable): Add gnu_attribute for ELF.
23 * read.h (s_vendor_attribute): Declare.
24 * config/tc-arm.c (s_arm_eabi_attribute): Replace by wrapper
25 round s_vendor_attribute.
26 (aeabi_set_public_attributes): Update for new attributes
27 interfaces.
28 (arm_md_end): Remove attributes contents setting now done
29 generically.
30
3d3d428f
NC
312007-06-29 M R Swami Reddy <MR.Swami.Redd@nsc.com>
32
33 * Makefile.am: Add CR16 related entry.
34 * Makefile.in: Regenerate.
35 * config/tc-cr16.h: New file
36 * config/tc-cr16.c: New file
37 * doc/c-cr16.texi: New file for cr16
38 * doc/all.texi: Entry for cr16
39 * doc/Makefile.am: Added c-cr16.texi
40 * doc/Makefile.in: Regenerate
41 * doc/as.texinfo: Entry for CR16 target
42 * NEWS: Announce the support for the new target.
43
cd2cf30b
PB
442007-06-26 Paul Brook <paul@codesourcery.com>
45
46 * config/tc-arm.c (parse_operands): Accept generic coprocessor regs
47 for OP_RVC.
48 (reg_names): Add fpinst, pfinst2, mvfr0 and mvfr1.
49
5f15756d
L
502007-06-25 H.J. Lu <hongjiu.lu@intel.com>
51
52 * config/tc-i386.c (process_operands): Replace regKludge
53 with RegKludge.
54
b314ec0e
RS
552007-06-25 Richard Sandiford <richard@codesourcery.com>
56
57 * config/tc-mips.h (TC_SYMFIELD_TYPE): New.
58 * config/tc-mips.c (append_insn): Record which symbols have
59 R_MIPS16_26 relocations against them.
60 (mips_fix_adjustable): Don't reduce relocations against such symbols.
61
b81bf389
BW
622007-06-22 Sterling Augustine <sterling@tensilica.com>
63
64 * config/tc-xtensa.c (xg_assembly_relax): Comment termination rules.
65 (frag_format_size): Handle RELAX_IMMED_STEP3.
66 (xtensa_relax_frag, md_convert_frag): Likewise.
67 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_IMMED_STEP3.
68 (RELAX_IMMED_MAXSTEPS): Adjust.
69 * config/xtensa-relax.c (widen_spec_list): Add transitions from
70 wide branches to branch-over-jumps.
71 (build_transition): Handle wide branches in transition patterns.
72
e205caa7
L
732007-06-22 H.J. Lu <hongjiu.lu@intel.com>
74
75 * config/tc-i386.c (disp_size): New.
76 (imm_size): Likewise.
77 (output_disp): Use disp_size and imm_size.
78 (output_imm): Use imm_size.
79
c48aaca0
BW
802007-06-19 Sterling Augustine <sterling@tensilica.com>
81
82 * config/tc-xtensa.h (struct xtensa_frag_type): Update comment about
83 use of literal_frag field.
84 * config/tc-xtensa.c (xtensa_mark_literal_pool_location): Record frag
85 in the literal_frag field.
86 (xtensa_move_literals): Use it here instead of searching. Update
87 literal_frag field with new value.
88
728ca7c9
PB
892007-06-14 Paul Brook <paul@codesourcery.com>
90
91 * config/tc-arm.c (do_t_mov_cmp): Handle shift by register and
92 narrow shift by immediate.
93
79887925
L
942007-06-14 H.J. Lu <hongjiu.lu@intel.com>
95
96 * Makefile.am (ACLOCAL_AMFLAGS): Add -I ../config -I ../bfd.
97
98 * acinclude.m4: Don't include m4 files.
99 (BFD_BINARY_FOPEN): Removed.
100 Remove libtool kludge.
101
102 * Makefile.in: Regenerated.
103 * doc/Makefile.in: Likewise.
104 * aclocal.m4: Likewise.
105 * configure: Likewise.
106
99ded152
BW
1072007-06-11 Sterling Augustine <sterling@tensilica.com>
108 Bob Wilson <bob.wilson@acm.org>
109
110 * config/tc-xtensa.c (XTENSA_PROP_INSN_NO_TRANSFORM): Renamed to...
111 (XTENSA_PROP_NO_TRANSFORM): ...this.
112 (frag_flags_struct): Move is_no_transform out of the insn sub-struct.
113 (xtensa_mark_frags_for_org): New.
114 (xtensa_handle_align): Set RELAX_ORG frag subtype for rs_org.
115 (xtensa_post_relax_hook): Call xtensa_mark_frags_for_org.
116 (get_frag_property_flags): Adjust reference to is_no_transform flag.
117 (xtensa_frag_flags_combinable): Likewise.
118 (frag_flags_to_number): Likewise. Use XTENSA_PROP_NO_TRANSFORM.
119 * config/tc-xtensa.h (xtensa_relax_statesE): Add RELAX_ORG.
120
dce323d1
PB
1212007-06-06 Paul Brook <paul@codesourcery.com>
122
123 * config/tc-arm.c (s_align): Pad code sections appropriately.
124
79d49516
PB
1252007-06-05 Paul Brook <paul@codesourcery.com>
126
127 * config/tc-arm.c (insns): Correct Thumb-2 ldrd/strd opcodes.
128
dfeb0666
NC
1292007-06-05 Nick Clifton <nickc@redhat.com>
130
131 PR gas/4587
132 * config/tc-sparc.c (sparc_ip): Terminate tls_ops array.
133
353ab861
AM
1342007-06-05 Alan Modra <amodra@bigpond.net.au>
135
136 * config/tc-spu.c (spu_cons): Use deferred_expression. Handle
137 number@ppu.
138 (tc_gen_reloc): Abort if neither addsy or subsy is set.
139 (md_apply_fix): Don't attempt to resolve SPU_PPU relocs.
140 * config/tc-spu.h (md_operand): Handle @ppu without sym.
141
91568d08
PB
1422007-05-31 Paul Brook <paul@codesourcery.com>
143
144 * config/tc-arm.c (insns): Allow strex on M profile cores.
145
c699f087
JJ
1462007-05-29 David S. Miller <davem@davemloft.net>
147 Jakub Jelinek <jakub@redhat.com>
148
149 PR gas/4558
150 * config/tc-sparc.c (md_apply_fix): Fix relocation overflow checks
151 for BFD_RELOC_SPARC_WDISP16 and BFD_RELOC_SPARC_WDISP19.
152
945370aa
AM
1532007-05-29 Alan Modra <amodra@bigpond.net.au>
154
155 * config/tc-spu.h: Wrap in #ifndef/#endif. Delete coff macros.
156
98027b10
AM
1572007-05-29 Alan Modra <amodra@bigpond.net.au>
158
159 * config/tc-ppc.c: Convert to ISO C.
160 * config/tc-ppc.c: Likewise.
161
a32b816e
AM
1622007-05-29 Alan Modra <amodra@bigpond.net.au>
163
164 * write.h (EXEC_MACHINE_TYPE): Delete.
165 (string_byte_count, section_alignment): Delete.
166
1740b7b1
NS
1672007-05-28 Nathan Sidwell <nathan@codesourcery.com>
168
169 * app.c (do_scrub_chars): Cope with \ at end of buffer.
170
a1867a27
AM
1712007-05-26 Alan Modra <amodra@bigpond.net.au>
172
173 * config/tc-ppc.c (ppc_insert_operand): Truncate sign bits in
174 top 32 bits of 64 bit value if so doing results in passing
175 range check. Rewrite sign extension fudges similarly. Enable
176 fudges for powerpc64 too. Report user value if range check
177 fails rather than fudged value. Negate PPC_OPERAND_NEGATIVE
178 range rather than value, also to report user value on failure.
179
efd81785
PB
1802007-03-25 Paul Brook <paul@codesourcery.com>
181
182 * config/tc-arm.c (T2_SUBS_PC_LR): Define.
183 (do_t_add_sub): Correctly encode subs pc, lr, #const.
184 (do_t_mov_cmp): Correctly encode movs pc, lr.
185
37ad9514
SE
1862007-05-24 Steve Ellcey <sje@cup.hp.com>
187
188 * Makefile.in: Regnerate.
189 * configure: Regenerate.
190 * aclocal.m4: Regenerate.
191 * doc/Makefile.in: Regenerate.
192
4c8d1ad4
BW
1932007-05-22 Bob Wilson <bob.wilson@acm.org>
194
195 * doc/c-xtensa.texi (Xtensa Automatic Alignment): Remove statements
196 and index entries about automatic alignment of ENTRY instructions.
197
0e9517a9
NC
1982007-05-22 Nick Clifton <nickc@redhat.com>
199
200 * doc/as.texinfo: Use @copying around the copyright notice.
201
e6559e01
JM
2022007-05-18 Joseph Myers <joseph@codesourcery.com>
203
204 * config/tc-mips.c (s_mipsset): Use generic s_set for directives
205 containing a comma.
206
4b7d318b
L
2072007-05-17 H.J. Lu <hongjiu.lu@intel.com>
208
209 PR gas/4517
210 2003-06-05 Michal Ludvig <mludvig@suse.cz>
5d14452b 211 * doc/as.texinfo: Document new directives: .cfi_restore,
4b7d318b
L
212 .cfi_undefined, .cfi_same_value, .cfi_return_column,
213 .cfi_remember_state and .cfi_restore_state.
214
2b878742
NS
2152007-05-17 Nathan Sidwell <nathan@codesourcery.com>
216
217 * config/tc-m68k.c (md_apply_fix): Show value of out of range
218 fixups in error message.
219 (md_conver_frag_1): Propagate the fix source location and use
220 as_bad_where rather than fatal, for better error messages.
221
2b744c99
PB
2222007-05-16 Paul Brook <paul@codesourcery.com>
223
224 * config/tc-arm.c (v7m_psrs): Add uppercase PSR names and xpsr.
225
2a676888
MS
2262007-05-15 Mark Shinwell <shinwell@codesourcery.com>
227
228 * app.c (do_scrub_chars): Don't damage \@ pseudo-variables.
229
1c3f20b4
NC
2302007-05-15 Vincent Riviere <vincent.riviere@freesbee.fr>
231
232 PR gas/3041
233 * config/tc-m68k.c (relaxable_symbol): Make sure that the correct
234 addend is stored for relocs against weak symbols.
235 (md_apply_fix): So not loose track of addend for relocs against
236 weak symbols.
237
24471d42
TS
2382007-05-14 Thiemo Seufer <ths@mips.com>
239
240 * config/tc-mips.c (md_parse_option): Fix parsing of -O option.
241
b0253a53
ML
2422007-05-14 Mei Ligang <ligang@sunnorth.com.cn>
243
24471d42
TS
244 * config/tc-score.c (data_op2, validate_immediate): Fix bug for
245 addri, addri.c, subi, and subi.c when immediate number is hex.
b0253a53
ML
246 (score_insns): Remove subis and subis.c.
247 (do_sub_rdi16): Delete.
248
ece5ef60
AM
2492007-05-11 Alan Modra <amodra@bigpond.net.au>
250
251 * config/tc-spu.c (md_pseudo_table): Add int, long, quad. Call
252 spu_cons for word.
253 (md_assemble): Tidy use of insn.flag.
254 (get_imm): Likewise. Handle uppercase input too.
255 (spu_cons): New function.
256 * config/tc-spu.h (tc_fix_adjustable): Don't adjust SPU_PPU relocs.
257 (TC_FORCE_RELOCATION): Don't resolve them either.
258
f9d4405b
MS
2592007-05-05 Mark Shinwell <shinwell@codesourcery.com>
260
261 * config/tc-arm.c (md_apply_fix): Generate more accurate
262 diagnostic when 8-bit immediate range is exceeded for
263 BFD_RELOC_ARM_OFFSET_IMM8.
264
0787a12d
AM
2652007-05-04 Alan Modra <amodra@bigpond.net.au>
266
267 PR gas/4460
268 * config/tc-i386.c (lex_got): Don't replace the reloc token with
269 a space if we already have a space.
270
20592a94
L
2712007-05-03 H.J. Lu <hongjiu.lu@intel.com>
272
273 * config/tc-i386.c (match_template): Don't explicitly check
274 suffix for crc32 in Intel mode.
275 (process_suffix): Issue an error for crc32 if the operand size
276 is ambiguous.
277
22184a77
NC
2782007-05-03 Vincent Riviere <vincent.riviere@freesbee.fr>
279 Nick Clifton <nickc@redhat.com>
280
281 PR gas/3041
282 * config/tc-m68k.c (relaxable_symbol): Do not relax weak symbols.
283 (tc_gen_reloc): Adjust the addend of relocs against weak symbols.
284 (md_apply_fix): Put zero values into the frags referencing weak
285 symbols.
286
3896c469
AM
2872007-05-02 Alan Modra <amodra@bigpond.net.au>
288
289 PR 4448
290 * config/tc-ppc.c (ppc_insert_operand): Don't increase min for
291 PPC_OPERAND_PLUS1.
292
9344ff29
L
2932007-05-01 H.J. Lu <hongjiu.lu@intel.com>
294
295 * config/tc-i386.c (match_template): Check suffix for crc32 in
296 Intel mdoe.
297 (process_suffix): Default the suffix of 8bit crc32 to
298 BYTE_MNEM_SUFFIX.
299 (check_byte_reg): Skip check for 8bit crc32.
300
a540244d
L
3012007-04-30 H.J. Lu <hongjiu.lu@intel.com>
302
303 * config/tc-i386.c (md_assemble): Use register_prefix in
304 error/warning message.
305 (check_byte_reg): Likewise.
306 (check_long_reg): Likewise.
307 (check_qword_reg): Likewise.
308 (check_word_reg): Likewise.
309 (process_operands): Likewise.
310
eb42fac1
AM
3112007-04-30 Alan Modra <amodra@bigpond.net.au>
312
313 PR 4436
314 * config/tc-ppc.c (ppc_insert_operand): Disable range check if
315 min > max.
316
02ffd3e4
TS
3172007-04-28 Thiemo Seufer <ths@networkno.de>
318
319 * config/tc-mips.c: Fix comment.
320
8eb2af8e
DC
3212007-04-26 Anatoly Sokolov <aesok@post.ru>
322
323 * config/tc-avr.c (mcu_types): Add support for atmega8hva and
324 atmega16hva devices. Move at90usb82 device to 'avr5' architecture.
325 * doc/c-avr.texi: Document new devices.
326
6d0f4cb4
AM
3272007-04-24 Alan Modra <amodra@bigpond.net.au>
328
329 * Makefile.am: Run "make dep-am".
330 * Makefile.in: Regenerate.
331
9a2e615a
NS
3322007-04-23 Nathan Sidwell <nathan@codesourcery.com>
333
334 * config/tc-m68k.c (mcf54455_ctrl): New.
335 (HAVE_LONG_DISP, HAVE_LONG_CALL, HAVE_LONG_COND): New.
336 (m68k_archs): Add isac.
337 (m68k_cpus): Add 54455 family.
338 (m68k_ip): Split Bg into Bb, Bs, Bg.
339 (m68k_elf_final_processing): Add ISA_C.
340 * doc/c-m68k.texi (M680x0 Options): Add isac.
341
d2bdaea8
AM
3422007-04-22 Alan Modra <amodra@bigpond.net.au>
343
344 * read.c (read_a_source_file): Skip multiple spaces to
345 cover hack in mmix md_start_line_hook which overwrites a
346 colon with a space. Delete sermon and needless assertion.
347
541d2ffd
AM
3482007-04-21 Alan Modra <amodra@bigpond.net.au>
349
350 * config/atof-vax.c (atof_vax_sizeof): Change return type to unsigned.
351 (md_atof): Make number_of_chars unsigned. Revert last change.
352 * config/tc-or32.c (md_apply_fix): Delete bogus assertions.
353 * config/tc-sh.c (sh_optimize_expr): Only define for OBJ_ELF.
354 * config/tc-sh.h (md_optimize_expr): Likewise.
355 * config/tc-sh64.c (shmedia_md_pcrel_from_section): Delete bogus
356 assertion.
357 * config/tc-xtensa.c (convert_frag_immed_finish_loop): Likewise.
358
c13781b8
NC
3592007-04-21 Nick Clifton <nickc@redhat.com>
360
2523cd0a
NC
361 * config/atof-vax.c (md_atof): Fix comparison inside know().
362
c13781b8
NC
363 * config/tc-ia64.c (emit_one_bundle): Fix typo.
364
c43a438d
AM
3652007-04-21 Alan Modra <amodra@bigpond.net.au>
366
db557034
AM
367 * expr.c (expr): Assert on rankarg, not rank which can be unsigned.
368 * read.c (read_a_source_file): Remove buffer_limit[-1] assertion.
369 Don't skip over NUL char.
370 (pseudo_set): Set X_op for registers to O_register.
371 * symbols.c (symbol_clone): Remove assertion that sym is defined.
372 (resolve_symbol_value): Resolve O_register symbols.
373 * config/tc-i386.c (parse_real_register): Don't use i386_float_regtab.
374 Instead find st(0) by hash lookup.
375 * config/tc-ppc.c (ppc_macro): Warning fix.
376
c43a438d
AM
377 * as.h (ENABLE_CHECKING): Default define to 0.
378 (know): Assert if ENABLE_CHECKING.
379 (struct relax_type): Remove superfluous declaration.
380 * configure.in (--enable-checking): New.
381 * configure: Regenerate.
382 * config.in: Regenerate.
383 * config/tc-ppc.c (ppc_setup_opcodes): Do checks when ENABLE_CHECKING.
384 Check for duplicate powerpc_operands entries.
385
78336706
NS
3862007-04-20 Nathan Sidwell <nathan@codesourcery.com>
387
d5be9593
NS
388 * config/tc-m68k.c (mcf5253_ctrl): New.
389 (mcf52223_ctrl): New.
390 (m68k_cpus): Add 5253, 52221, 52223.
391
78336706
NS
392 * config/m68k-parse.h (RAMBAR_ALT): New.
393 * config/tc-m68k.c (mcf5206_ctrl, mcf5307_ctrl): New.
394 (mcf_ctrl, mcf5208_ctrl, mcf5210a_ctrl, mcf5213_ctrl, mcf52235_ctrl,
395 mcf5225_ctrl, mcf5235_ctrl, mcf5271_ctrl, mcf5275_ctrl,
396 mcf5282_ctrl, mcf5329_ctrl, mcf5373_ctrl, mcfv4e_ctrl,
397 mcf5475_ctrl, mcf5485_ctrl): Add RAMBAR synonym for
398 RAMBAR1.
399 (mcf5272_ctrl): Add RAMBAR0, replace add RAMBAR with RAMBAR_ALT.
400 (m68k_cpus): Adjust 5206, 5206e & 5307 entries.
401 (m68k_ip) <Case J>: Detect when RAMBAR_ALT should be used. Add it
402 to control register mapping.
403
931774a9
AM
4042007-04-20 Alan Modra <amodra@bigpond.net.au>
405
406 * messages.c (as_internal_value_out_of_range): Fix typo in
407 error message. Return after printing domain error.
408 * config/tc-ppc.c (ppc_insert_operand): Preserve low zero bits
409 in max when shifting right.
410
b84bf58a
AM
4112007-04-20 Alan Modra <amodra@bigpond.net.au>
412
413 * messages.c (as_internal_value_out_of_range): Extend to report
414 errors for values with invalid low bits set.
415 * config/tc-ppc.c (ppc_setup_opcodes): Check powerpc_operands bitm
416 fields. Check that operands and opcode fields are disjoint.
417 (ppc_insert_operand): Check operands using mask rather than bit
418 count. Check low bits too. Handle PPC_OPERAND_PLUS1. Adjust
419 insertion code.
420 (md_apply_fix): Adjust for struct powerpc_operand change.
421
076d447c
PB
4222007-04-19 Paul Brook <paul@codesourcery.com>
423
424 * config/tc-arm.c (md_assemble): Only allow 16-bit instructions on
425 Thumb-1. Add sanity check for bogus relaxations.
426
16a4cf17
PB
4272007-04-19 Paul Brook <paul@codesourcery.com>
428
429 * config/tc-arm.c (insns): Allow rsb and rsbs on Thumb-1.
430
e30daadc
AM
4312007-04-19 Alan Modra <amodra@bigpond.net.au>
432
433 * Makefile.am: Run "make dep-am".
434 * Makefile.in: Regenerate.
435
7a467a28
AM
4362007-04-19 Nathan Froyd <froydnj@codesourcery.com>
437
438 * doc/c-ppc.texi (PowerPC-Opts): Document -me500, -me500x2, -mspe.
439
d76f7bc1
L
4402007-04-18 H.J. Lu <hongjiu.lu@intel.com>
441
442 * doc/c-i386.texi; Document .ssse3, .sse4.1, .sse4.2 and .sse4.
443
381d071f
L
4442007-04-18 H.J. Lu <hongjiu.lu@intel.com>
445
446 * config/tc-i386.c (cpu_arch): Add .sse4.2 and .sse4.
447 (match_template): Handle operand size for crc32 in SSE4.2.
448 (process_suffix): Handle operand type for crc32 in SSE4.2.
449 (output_insn): Support SSE4.2.
450
42903f7f
L
4512007-04-18 H.J. Lu <hongjiu.lu@intel.com>
452
453 * config/tc-i386.c (cpu_arch): Add .sse4.1.
454 (process_operands): Adjust implicit operand for blendvpd,
455 blendvps and pblendvb in SSE4.1.
456 (output_insn): Support SSE4.1.
457
026d3abb
PB
4582007-04-18 Paul Brook <paul@codesourcery.com>
459
460 * config/tc-arm.c (do_t_rsb): Use 16-bit encoding when possible.
461
91382b56
KK
4622007-04-16 Kaz Kojima <kkojima@rr.iij4u.or.jp>
463
464 * config/tc-sh.c (sh_handle_align): Call as_bad_where instead
465 of as_warn_where for misaligned data.
466
0838d2ac
KK
4672007-04-15 Kaz Kojima <kkojima@rr.iij4u.or.jp>
468
469 * config/tc-sh.c (align_test_frag_offset_fixed_p): Handle
470 rs_fill frags.
471
b7d19ba6
SE
4722007-04-14 Steve Ellcey <sje@cup.hp.com>
473
474 * Makefile.am: Add ACLOCAL_AMFLAGS.
475 * Makefile.in: Regenerate.
476
0cc34095
KK
4772007-04-14 Kaz Kojima <kkojima@rr.iij4u.or.jp>
478
479 * config/tc-sh.c (align_test_frag_offset_fixed_p): New.
480 (sh_optimize_expr): Likewise.
481 * config/tc-sh.h (md_optimize_expr): Define.
482 (sh_optimize_expr): Prototype.
483
6f7b6869
MT
4842007-04-06 Matt Thomas <matt@netbsd.org>
485
486 * config/tc-vax.c (vax_cons): Added to support %pcrel{8,16,32}(exp)
487 to emit pcrel relocations by DWARF2 in non-code sections. Borrowed
488 heavily from tc-sparc.c. (vax_cons_fix_new): Likewise.
489
d0e8669a
KH
4902007-04-04 Kazu Hirata <kazu@codesourcery.com>
491
492 * config/tc-m68k.c (HAVE_LONG_BRANCH): Add fido_a.
493
3b8d421e
PB
4942007-04-04 Paul Brook <paul@codesourcery.com>
495
496 * config/tc-arm.c (do_neon_ext): Enforce immediate range.
497 (insns): Use I15 for vext.
498
9fcfe2ed
PB
4992007-04-04 Paul Brook <paul@codesourcery.com>
500
501 * configure.tgt: Loosen checks for arm uclinux eabi targets.
502
a3582eee
BW
5032007-04-02 Sterling Augustine <sterling@tensilica.com>
504
505 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
506 outputting_stabs_line_debug.
507
7b60f473
DC
5082007-03-26 Anatoly Sokolov <aesok@post.ru>
509
510 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
511 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
512 devices.
513 * doc/c-avr.texi: Document new devices.
514
0c000745
RS
5152007-04-02 Richard Sandiford <richard@codesourcery.com>
516
517 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
518 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
519 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
520
c3ea6048
BW
5212007-03-30 Sterling Augustine <sterling@tensilica.com>
522 Bob Wilson <bob.wilson@acm.org>
523
524 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
525 Do not check is_loop_target flag.
526 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
527 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
528 xtensa_move_labels for alignment of loop opcodes.
529
f6bee062
L
5302007-03-30 H.J. Lu <hongjiu.lu@intel.com>
531
532 * config/tc-i386.c (process_suffix): Reindent a bit.
533
3c707909
PB
5342007-03-30 Paul Brook <paul@codesourcery.com>
535
536 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
537 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
538 (do_t_push_pop): Use encode_thumb2_ldmstm.
539
144f4bc6
DD
5402007-03-29 DJ Delorie <dj@redhat.com>
541
542 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
543 (md_relax_table): Add entries for ADJNZ macros.
544 (M32C_Macros): Add ADJNZ macros.
545 (subtype_mappings): Add entries for ADJNZ macros.
546 (insn_to_subtype): Check for adjnz and sbjnz insns.
547 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
548 (md_convert_frag): Convert adjnz and sbjnz.
549
e5551801
NC
5502007-03-29 Nick Clifton <nickc@redhat.com>
551
552 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
553 initialization.
554 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
555 using ITBL_NUMBER_OF_PROCESSORS.
556 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
557
e72cf3ec
L
5582007-03-28 H.J. Lu <hongjiu.lu@intel.com>
559
560 * config/tc-i386.c (build_modrm_byte): For instructions with 2
561 register operands, encode destination in i.rm.regmem if its
562 RegMem bit is set.
563
4ecceb71
RS
5642007-03-28 Richard Sandiford <richard@codesourcery.com>
565 Phil Edwards <phil@codesourcery.com>
566
567 * doc/as.texinfo: Put the contents after the title page rather
568 than at the end of the document.
569
3f9ce309
AM
5702007-03-27 Alan Modra <amodra@bigpond.net.au>
571
572 * NEWS: Mention ".reloc".
573
eb6d9dce
BW
5742007-03-26 Sterling Augustine <sterling@tensilica.com>
575
576 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
577 in FLIX instructions.
578
c96612cc
JB
5792007-03-26 Julian Brown <julian@codesourcery.com>
580
581 * config/tc-arm.c (arm_it): Add immisfloat field.
582 (parse_qfloat_immediate): Disallow integer syntax for floating-point
583 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
584 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
585 float.
586 (neon_cmode_for_move_imm): Reject non-float immediates for float
587 operands.
588 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
589
23753660
JB
5902007-03-26 Julian Brown <julian@codesourcery.com>
591
592 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
593
05e9452c
AM
5942007-03-26 Alan Modra <amodra@bigpond.net.au>
595
596 * doc/as.texinfo (Reloc): Document.
597 * read.c (potable): Add "reloc".
598 (s_reloc): New function.
599 * write.c (reloc_list): New global var.
600 (resolve_reloc_expr_symbols): New function.
601 (write_object_file): Call it.
602 (write_relocs): Process reloc_list.
603 * write.h (struct reloc_list): New.
604 (reloc_list): Declare.
605
1198ca51
PB
6062007-03-24 Paul Brook <paul@codesourcery.com>
607
608 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
609
b6702015
PB
6102007-03-24 Paul Brook <paul@codesourcery.com>
611 Mark Shinwell <shinwell@codesourcery.com>
612
613 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
614 (parse_operands): Don't expect comma if first operand missing.
615 Handle OP_oRRw.
616 (do_srs): Encode register number, checking it is r13. Update comment.
617 (insns): Update SRS entries to take a register.
618
831480e9 6192007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
620
621 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
622
738755b0
MS
6232007-03-23 Mark Shinwell <shinwell@codesourcery.com>
624
35225157 625 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
626 attempt to jump to the next instruction into NOPs.
627
840edabd
AM
6282007-03-23 Alan Modra <amodra@bigpond.net.au>
629
630 * config/tc-spu.c: Don't include opcode/spu.h.
631 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
632 (md_apply_fix): Adjust.
633 * config/tc-spu.h: Include opcode/spu.h.
634 (struct tc_fix_info): New.
635 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
636 (TC_FORCE_RELOCATION): Define.
637
e49e529d
JM
6382007-03-22 Joseph Myers <joseph@codesourcery.com>
639
640 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
641
831480e9 6422007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
643
644 * config/tc-i386.c (process_suffix): Check 0x90 instead of
645 xchg for xchg %rax,%rax.
646
831480e9 6472007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
648
649 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
650 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
651
831480e9 6522007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
653
654 PR binutils/4218
655 * config/tc-i386.c (match_template): Properly handle 64bit mode
656 "xchg %eax, %eax".
657
af1c1010
NC
6582007-03-21 Anton Ertl <anton@mips.complang.tuw>
659
660 PR gas/4124
661 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
662
1d5f2fe9
L
6632007-03-21 H.J. Lu <hongjiu.lu@intel.com>
664
665 * Makefile.am: Run dep-am.
666 * Makefile.in: Regenerated.
667
668 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
669
670 * config/tc-i386.h: Include "opcodes/i386-opc.h".
671 (NOP_OPCODE): Removed.
672 (template): Likewise.
673
5ac8f2a2
AS
6742007-03-21 Andreas Schwab <schwab@suse.de>
675
676 * config/tc-i386.h (NOP_OPCODE): Restore.
677
8fb9d7b9
MS
6782007-03-18 Mark Shinwell <shinwell@codesourcery.com>
679
680 * config/tc-arm.c (do_mul): Don't warn about overlapping
681 Rd and Rm operands when assembling for v6 or above.
682 Correctly capitalize register names in the messages.
683 (do_mlas): Likewise. Delete spurious blank line.
684
b3768379
KH
6852007-03-16 Kazu Hirata <kazu@codesourcery.com>
686
687 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
688
c3fe08fa
L
6892007-03-15 H.J. Lu <hongjiu.lu@intel.com>
690
691 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
692 i386_regtab.
693 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
694 on i386_regtab.
695
4061927e
L
6962007-03-15 Alexandre Oliva <aoliva@redhat.com>
697
698 PR gas/4184
699 * app.c (do_scrub_chars): PUT after setting states.
700
0b1cf022
L
7012007-03-15 H.J. Lu <hongjiu.lu@intel.com>
702
703 * Makefile.am: Run "make dep-am".
704 * Makefile.in: Regenerated.
705
706 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
707 "opcode/i386.h".
708 (md_begin): Check reg_name != NULL for the last entry in
709 i386_regtab.
710
711 * config/tc-i386.h: Move many entries to opcode/i386.h and
712 opcodes/i386-opc.h.
713
714 * configure.in (need_opcodes): Set true for i386.
715 * configure: Regenerated.
716
c428fa83
L
7172007-03-15 H.J. Lu <hongjiu.lu@intel.com>
718
719 * Makefile.am (REPORT_BUGS_TO): Removed.
720 (INCLUDES): Remove -DREPORT_BUGS_TO.
721 * Makefile.in: Regenerated.
722
723 * configure.in (--with-bugurl): Removed.
724 * configure: Regenerated.
725
726 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
727 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
728 (TEXI2DVI): Likewise.
729 (gasver.texi): Removed.
730 (MOSTLYCLEANFILES): Remove gasver.texi.
731 (as.1): Don't depend on gasver.texi.
732 * doc/Makefile.in: Regenerated.
733
734 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
735
794ba86a
DJ
7362007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
737
738 * config/tc-arm.c (arm_copy_symbol_attributes): New.
739 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
740 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
741 * gas/symbols.c (copy_symbol_attributes): Use
742 TC_COPY_SYMBOL_ATTRIBUTES.
743
155257ea
PB
7442007-03-14 Paul Brook <paul@codesourcery.com>
745
746 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
747
d1c5f158
AM
7482007-03-14 Alan Modra <amodra@bigpond.net.au>
749
750 PR 4029
751 * write.c (relax_segment): Insert extra alignment padding
752 to break infinite relax loop when given impossible
753 gcc_except_table assembly.
754
8a2ed489
L
7552007-03-12 H.J. Lu <hongjiu.lu@intel.com>
756
757 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
758 on i.tm.base_opcode.
759 (match_template): Likewise.
760 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
761
762 * config/tc-i386.h (Opcode_D): New.
763 (Opcode_FloatR): Likewise.
764 (Opcode_FloatD): Likewise.
765 (D): Redefined.
766 (W): Likewise.
767 (FloatMF): Likewise.
768 (FloatR): Likewise.
769 (FloatD): Likewise.
770
e9fc6c21
AO
7712007-03-09 Alexandre Oliva <aoliva@redhat.com>
772
773 * app.c (do_scrub_chars): Recognize comments after # line "file".
774 * read.c (get_linefile_number): New.
775 (s_app_line): Accept ill-formed .linefile lines as comments.
776
b1b7d09b
AM
7772007-03-09 Alan Modra <amodra@bigpond.net.au>
778
779 * config/tc-i386.h (WORKING_DOT_WORD): Define.
780
93e914b2
AO
7812007-03-09 Alexandre Oliva <aoliva@redhat.com>
782
783 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
784 * as.h (new_logical_line_flags): New.
785 * input-scrub.c (new_logical_line): Turned into wrapper for...
786 (new_logical_line_flags): this. Handle flags.
787 * read.c (potable): Add linefile. Adjust appline argument.
788 (s_app_file): Fake .appfiles no more.
789 (s_app_line): For .linefile, accept file name and flags.
790
6f12865c
AM
7912007-03-08 Alan Modra <amodra@bigpond.net.au>
792
793 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
794
a6d04ec4
AM
7952007-03-08 Alan Modra <amodra@bigpond.net.au>
796
797 * Makefile.am: Run "make dep-am".
798 * Makefile.in: Regenerate.
799 * po/POTFILES.in: Regenerate.
800
ad22bfe8
JM
8012007-03-07 Joseph Myers <joseph@codesourcery.com>
802
803 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
804 bug-reporting URL.
805 * doc/Makefile.am (gasver.texi): Define BUGURL.
806 * doc/as.texinfo: Use BUGURL.
807 * Makefile.in, configure, doc/Makefile.in: Regenerate.
808
b5639b37
MS
8092007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
810
811 * config/tc-s390.c (md_parse_option): z9-ec option added.
812
5e77afaa
PB
8132007-03-02 Paul Brook <paul@codesourcery.com>
814
815 * config/tc-arm.c (relax_immediate): Always return positive values.
816 (relaxed_symbol_addr): New function.
817 (relax_adr, relax_branch): Use it.
818 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
819
066c2a57
JM
8202007-03-01 Joseph Myers <joseph@codesourcery.com>
821
822 * as.c (parse_args): Update copyright date.
823
ed6ba298
NS
8242007-02-28 Nathan Sidwell <nathan@codesourcery.com>
825
826 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
827
870074dd
NC
8282007-02-28 Nick Clifton <nickc@redhat.com>
829
c5d07591
NC
830 PR gas/3797
831 * config/tc-d10v.c (do_assemble): Do not generate error messages,
832 just return -1 whenever a problem is encountered.
833 (md_assemble): If do_assemble returns -1 generate a non-fatal
834 error message and return.
835
870074dd
NC
836 PR gas/2623
837 * config/tc-msp430.c (line_separator_char): Change to '{'.
838
fd99afa7
AM
8392007-02-27 Alan Modra <amodra@bigpond.net.au>
840
841 * config/tc-m68hc11.c (fixup24): Correct fixup size.
842 (build_jump_insn): Likewise.
843 (build_insn): Likewise.
844 (s_m68hc11_relax): Likewise.
845
07cb2078
AM
8462007-02-27 Alan Modra <amodra@bigpond.net.au>
847
848 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
849
22b5b651
MS
8502007-02-25 Mark Shinwell <shinwell@codesourcery.com>
851
852 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
853
acb02403
AM
8542007-02-23 Alan Modra <amodra@bigpond.net.au>
855
856 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
857 (md_assemble): Likewise.
858
e5435dec
AM
8592007-02-22 Alan Modra <amodra@bigpond.net.au>
860
861 * write.c (size_seg): Always clear SEC_RELOC here.
862 (install_reloc): New function, extracted from..
863 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
864 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
865 testing frag size. Set SEC_RELOC here.
866
a1836728
AM
8672007-02-21 Alan Modra <amodra@bigpond.net.au>
868
869 PR 4082
870 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
871
f281862d
TS
8722007-02-20 Thiemo Seufer <ths@mips.com>
873
874 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
875
01fd108f
TS
8762007-02-20 Thiemo Seufer <ths@mips.com>
877
878 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
879
8b082fb1
TS
8802007-02-20 Thiemo Seufer <ths@mips.com>
881 Chao-Ying Fu <fu@mips.com>
882
883 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
884 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
885 (macro_build): Add case '2'.
886 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
887 (validate_mips_insn): Add support for balign instruction.
888 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
889 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
890 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
891 command line options.
892 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
893 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
894 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
895 .set dspr2, .set nodspr2.
896
96e0bbcc
NS
8972007-02-20 Nathan Sidwell <nathan@codesourcery.com>
898
899 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
900 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
901
d31f0f6d
AM
9022007-02-18 Alan Modra <amodra@bigpond.net.au>
903
904 * write.c (TC_FX_SIZE_SLACK): Define.
905 (write_relocs): Reinstate check for fixup within frag.
906 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
907 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
908 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
909 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
910 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
911
92f01d61
JM
9122007-02-17 Mark Mitchell <mark@codesourcery.com>
913 Nathan Sidwell <nathan@codesourcery.com>
914 Vladimir Prus <vladimir@codesourcery.com
915 Joseph Myers <joseph@codesourcery.com>
916
917 * configure.in (--with-bugurl): New option.
918 * configure: Regenerate.
919 * dep-in.sed: Remove bin-bugs.h.
920 * Makefile.am (REPORT_BUGS_TO): Define.
921 (INCLUDES): Define REPORT_BUGS_TO.
922 (DEP_INCLUDES): Likewise.
923 ($(OBJS)): No longer depend on bin-bugs.h.
924 * Makefile.in: Regenerate.
925 * doc/Makefile.in: Regenerate.
926 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
927 * as.h: Remove include of bin-bugs.h.
928
b4b24b79
AM
9292007-02-17 Alan Modra <amodra@bigpond.net.au>
930
931 * write.c: White space fixes.
932 (fixup_segment): Move symbol_mri_common_p adjustments..
933 (write_relocs): ..and symbol_equated_reloc_p adjustments..
934 (adjust_reloc_syms): ..to here.
935
e7ff5c73
AM
9362007-02-16 Alan Modra <amodra@bigpond.net.au>
937
938 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
939 xmalloc, memset. Don't bother assigning NULL to known zero mem.
940 (subseg_set_rest): Remove unnecessary cast.
941 * write.c: Include libbfd.h. Replace PTR with void * throughout.
942 Remove unnecessary forward declarations and casts.
943 (set_symtab): Delete extern bfd_alloc.
944 (fixup_segment): Move.
945
a8e24a56
NS
9462007-02-15 Nathan Sidwell <nathan@codesourcery.com>
947
948 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
949 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
950 (mcf5475_ctrl, mcf5485_ctrl): New.
951 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
952 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
953 (init_table): Add asid, mmubar, adjust rombar0.
954
4eed87de
AM
9552007-02-14 Alan Modra <amodra@bigpond.net.au>
956
957 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
958 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
959 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
960 code, and test for these insns using a combination of
961 opcode_modifier and operand_types.
962
7bd1c961
PB
9632007-02-07 Paul Brook <paul@codesourcery.com>
964
5c817587 965 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 966
280d71bf 9672007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
968 Richard Sandiford <rsandifo@redhat.com>
969 DJ Delorie <dj@redhat.com>
970 Stan Cox <scox@redhat.com>
971 Jim Blandy <jimb@redhat.com>
972 Nick Clifton <nickc@redhat.com>
973 Jim Wilson <wilson@redhat.com>
974 Frank Ch. Eigler <fche@redhat.com>
975 Graydon Hoare <graydon@redhat.com>
976 Ben Elliston <bje@redhat.com>
977 John Healy <jhealy@redhat.com>
978 Richard Henderson <rth@redhat.com>
979
980 * Makefile.am (CPU_TYPES): Add mep.
981 (TARGET_CPU_CFILES): Add tc-mep.c.
982 (TARGET_CPU_HFILES): Add tc-mep.h.
983 (DEPTC_mep_elf): New variable.
984 (DEPTC_mep_coff): Likewise.
985 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
986 * configure.in: Support mep.
987 * configure.tgt: Likewise.
988 * config/tc-mep.c: New file.
280d71bf
DB
989 * config/obj-elf.c: New file.
990 * config/tc-mep.c: New file.
991 * config/tc-mep.h: New file.
992 * testsuite/gas/mep: New testsuite with content.
993 * Makefile.in: Regenerate.
994 * configure: Regenerate.
995
9962007-02-05 Dave Brolley <brolley@redhat.com>
997
998 * cgen.c (gas_cgen_install_complex_reloc): Removed.
999 (complex_reloc_installation_howto): Removed.
1000
10012007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
1002 Graydon Hoare <graydon@redhat.com>
1003 DJ Delorie <dj@redhat.com>
1004 Catherine Moore <clm@redhat.com>
1005 Michael Chastain <chastain@redhat.com>
1006 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
1007
1008 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
1009 when to use complex relocs. Add signed RELC support.
1010 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
1011 encode expression symbols as mangled complex relocation symbols (when
1012 compiled with -DOBJ_COMPLEX_RELOC).
1013 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
1014 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
1015 encode_addend with new args. Modify to get start, length from
1016 ifield whenever it is set. Also change condition on which
1017 self-describing relocs are encoded. Add hook into
1018 gas_cgen_encode_addend.
1019 (queue_fixup_recursively): Add signed RELC support. Change from masked
1020 expr to trunc flag. Restore assignment of sub-field value to
1021 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 1022 queue_fixup_recursively.
4948f0d4 1023 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
1024 (make_right_shifted_expr): New function.
1025 (queue_fixup): Change to recursive function that fragments
1026 fixups if operand has a multi-ifield.
1027 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
1028 symbols, call weak_operand_overflow_check, and fragment call
1029 queue_fixup with operand fields.
1030 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
1031 (weak_operand_overflow_check): New function to try to select
1032 insns correctly.
4948f0d4 1033 (gas_cgen_encode_addend): New function for relc.
280d71bf 1034 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 1035 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
1036 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
1037 cgen_maybe_multi_ifield field to fx_cgen substructure.
1038 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
1039 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
1040
e110eeb7
DD
10412007-02-03 DJ Delorie <dj@delorie.com>
1042
1043 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
1044 byte relocs.
1045 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
1046 (m32c_cons_fix_new): Prototype.
1047
60242db2
BW
10482007-02-02 Bob Wilson <bob.wilson@acm.org>
1049
1050 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
1051 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
1052
bbdd25a8
BW
10532007-02-02 Bob Wilson <bob.wilson@acm.org>
1054
1055 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
1056 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
1057 (map_suffix_reloc_to_operator): New.
1058 (map_operator_to_reloc): New.
1059 (expression_maybe_register): Fix incorrect test of return value from
1060 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
1061 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
1062
9c874773
BW
10632007-02-02 Bob Wilson <bob.wilson@acm.org>
1064
1065 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
1066 (tinsn_get_tok): Delete prototype.
1067 * config/tc-xtensa.c (tinsn_get_tok): Delete.
1068
61376837
BW
10692007-02-02 Bob Wilson <bob.wilson@acm.org>
1070
1071 * config/xtensa-relax.h (struct build_instr): Delete id field.
1072 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
1073 and LABEL tokens.
1074 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
1075 set op_data fields to zero.
1076 (parse_id_constant): Delete.
1077 (build_transition): Remove code to handle numbered literals and labels.
1078
bc447904
BW
10792007-02-02 Bob Wilson <bob.wilson@acm.org>
1080
1081 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
1082 (build_transition_table): Likewise.
1083
63a7429b
BW
10842007-02-01 Bob Wilson <bob.wilson@acm.org>
1085
1086 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
1087 fx_tcbit.
1088 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
1089
20ee54e8
AM
10902007-02-02 Alan Modra <amodra@bigpond.net.au>
1091
1092 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
1093 (struct fix <fx_plt>): Rename to tcbit2.
1094 * write.c (fix_new_internal): Adjust.
1095 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1096 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1097 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1098 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1099 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1100 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1101 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1102 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
1103 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
1104 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
1105 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
1106 Instead, compare fx_r_type.
1107 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
1108 fx_tcbit in place of fx_plt.
1109 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
1110 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
1111 to fx_plt.
1112
bf083c64
NC
11132007-01-30 Nick Clifton <nickc@redhat.com>
1114
1115 * as.c (main): Mark symbols created via the --defsym command line
1116 option as volatile so that they can be overridden later on by a
1117 .set directive. This maintains compatibility with the behaviour
1118 of earlier versions of the assembler.
1119 * doc/as.texinfo (--defsym): Document that the defined symbol's
1120 value can be overridden via a .set directive.
1121
fc523535 11222007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
1123
1124 * config/tc-i386.c (swap_imm_operands): Renamed to ...
1125 (swap_2_operands): This. Take 2 ints.
1126 (md_assemble): Updated.
1127 (swap_operands): Call swap_2_operands to swap 2 operands.
1128
7bc4c13c
DD
11292007-01-24 DJ Delorie <dj@redhat.com>
1130
1131 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
1132
48903831
NC
11332007-01-22 Nick Clifton <nickc@redhat.com>
1134
07302d31 1135 PR gas/3871
48903831
NC
1136 * tc-score.c: Remove unnecessary uses of _().
1137 Make the err_msg[] a file level local array in order to save
1138 storage space.
1139 Remove unnecessary sprintf()s.
1140
14119072
ML
11412007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
1142
07302d31 1143 PR gas/3871
14119072
ML
1144 * config/tc-score.c : Using _() for const string.
1145 Do not assign inst.error with a local string pointer.
1146 (md_section_align): Pad section.
1147
99018f42
L
11482007-01-13 H.J. Lu <hongjiu.lu@intel.com>
1149
1150 * config/tc-i386.c (build_modrm_byte): Check number of operands
1151 when procssing memory/register operand.
1152
465e5617
NC
11532007-01-12 Nick Clifton <nickc@redhat.com>
1154
1155 PR gas/3856
1156 * macro.c (expand_irp): Do not ignore spaces inside quoted
1157 strings.
1158
e8630bd7
AM
11592007-01-12 Alan Modra <amodra@bigpond.net.au>
1160
1161 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1162 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1163 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
1164 (TC_FORCE_RELOCATION): Define.
1165 (TC_FORCE_RELOCATION_LOCAL): Define.
1166 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
1167
1f5409bb
AM
11682007-01-12 Alan Modra <amodra@bigpond.net.au>
1169
1170 * input-file.c (input_file_open): Check fgets return.
1171
dc4503c6
PB
11722007-01-11 Paul Brook <paul@codesourcery.com>
1173
1174 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
1175
04f8d83b
NC
11762007-01-11 Nick Clifton <nickc@redhat.com>
1177
493cb6ef
NC
1178 PR gas/3707
1179 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
1180 variable.
1181
04f8d83b
NC
1182 * config/tc-mcore.c (md_number_to_chars): Use
1183 number_to_chars_{big|little}endian.
1184
3bdcfdf4
KH
11852007-01-08 Kazu Hirata <kazu@codesourcery.com>
1186
1187 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
1188 architecture by itself.
1189 (m68k_ip): Don't issue a warning for tbl instructions on fido.
1190 (m68k_elf_final_processing): Treat Fido as an architecture by
1191 itself.
1192
42037fe5
NC
11932007-01-08 Kai Tietz <kai.tietz@onevision.com>
1194
1195 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
1196
e4a3b5a4
L
11972007-01-05 H.J. Lu <hongjiu.lu@intel.com>
1198
1199 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
1200 depending on allow_naked_reg.
1201
a028a6f5
PB
12022007-01-04 Paul Brook <paul@codesourcery.com>
1203
1204 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
1205
2ca3ace5
L
12062007-01-04 H.J. Lu <hongjiu.lu@intel.com>
1207
44f9b8ac 1208 PR gas/3830
2ca3ace5
L
1209 * config/tc-i386.c (register_prefix): New.
1210 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 1211 prefix isn't needed.
2ca3ace5
L
1212 (check_byte_reg): Use register_prefix for error message.
1213 (check_long_reg): Likewise.
1214 (check_qword_reg): Likewise.
1215 (check_word_reg): Likewise.
1216
627907b7
JB
12172006-01-04 Julian Brown <julian@codesourcery.com>
1218
1219 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
1220 (do_neon_qshl_imm): Likewise.
1221 (do_neon_rshl): New function. Handle rounding variants of
1222 v{q}shl-by-register.
1223 (insns): Use do_neon_rshl for vrshl, vqrshl.
1224
92559b5b
PB
12252007-01-04 Paul Brook <paul@codesourcery.com>
1226
1227 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
1228 and vacle.
1229
2ca3ace5
L
12302007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1231
1232 * config/tc-i386.c (swap_operands): Remove branches.
1233
4dc85607
L
12342007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1235
1236 * config/tc-i386.c: Update copyright year.
1237 * config/tc-i386.h: Likewise.
1238
1509aa9a
L
12392007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1240
1241 * config/tc-i386.c (smallest_imm_type): Return unsigned int
1242 instead of int.
1243
e3bb37b5
L
12442007-01-03 H.J. Lu <hongjiu.lu@intel.com>
1245
1246 * config/tc-i386.c: Convert to ISO C90 formatting
1247 * config/tc-i386.h: Likewise.
1248
d821e36b
DD
12492007-01-03 David Daney <ddaney@avtrex.com>
1250
1251 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
1252 documentation.
1253
44021fe5 1254For older changes see ChangeLog-2006
08d56133
NC
1255\f
1256Local Variables:
1257mode: change-log
1258left-margin: 8
1259fill-column: 74
1260version-control: never
1261End:
This page took 0.390023 seconds and 4 git commands to generate.