2007-04-04 Paul Brook <paul@codesourcery.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
9fcfe2ed
PB
12007-04-04 Paul Brook <paul@codesourcery.com>
2
3 * configure.tgt: Loosen checks for arm uclinux eabi targets.
4
a3582eee
BW
52007-04-02 Sterling Augustine <sterling@tensilica.com>
6
7 * config/tc-xtensa.c (xtensa_flush_pending_output): Check
8 outputting_stabs_line_debug.
9
7b60f473
DC
102007-03-26 Anatoly Sokolov <aesok@post.ru>
11
12 * config/tc-avr.c (mcu_types): Add support for at90pwm1, at90usb82,
13 at90usb162, atmega325p, atmega329p, atmega3250p and atmega3290p
14 devices.
15 * doc/c-avr.texi: Document new devices.
16
0c000745
RS
172007-04-02 Richard Sandiford <richard@codesourcery.com>
18
19 * doc/as.texinfo: Add -mvxworks-pic to the list of MIPS options.
20 * doc/c-mips.texi (-KPIC, -mvxworks-pic): Document.
21 * config/tc-mips.c (md_show_usage): Mention -mvxworks-pic.
22
c3ea6048
BW
232007-03-30 Sterling Augustine <sterling@tensilica.com>
24 Bob Wilson <bob.wilson@acm.org>
25
26 * config/tc-xtensa.c (xtensa_move_labels): Remove loops_ok argument.
27 Do not check is_loop_target flag.
28 (xtensa_frob_label): Adjust calls to xtensa_move_labels.
29 (xg_assemble_vliw_tokens): Likewise. Also avoid calling
30 xtensa_move_labels for alignment of loop opcodes.
31
f6bee062
L
322007-03-30 H.J. Lu <hongjiu.lu@intel.com>
33
34 * config/tc-i386.c (process_suffix): Reindent a bit.
35
3c707909
PB
362007-03-30 Paul Brook <paul@codesourcery.com>
37
38 * config/tc-arm.c (encode_thumb2_ldmstm): New function.
39 (do_t_ldmstm): Generate 16-bit push/pop. Use encode_thumb2_ldmstm.
40 (do_t_push_pop): Use encode_thumb2_ldmstm.
41
144f4bc6
DD
422007-03-29 DJ Delorie <dj@redhat.com>
43
44 * config/tc-m32c.c (rl_for, relaxable): Protect argument.
45 (md_relax_table): Add entries for ADJNZ macros.
46 (M32C_Macros): Add ADJNZ macros.
47 (subtype_mappings): Add entries for ADJNZ macros.
48 (insn_to_subtype): Check for adjnz and sbjnz insns.
49 (md_estimate_size_before_relax): Pass insn to insn_to_subtype.
50 (md_convert_frag): Convert adjnz and sbjnz.
51
e5551801
NC
522007-03-29 Nick Clifton <nickc@redhat.com>
53
54 * itbl-ops.c (itbl_entry): Remove unnecessary and excessively long
55 initialization.
56 * itbl-ops.h (enum e_processor): Initialise the e_nprocs field
57 using ITBL_NUMBER_OF_PROCESSORS.
58 * itbl-parse.y (yyerror): Remove use of redundant macro PARAMS.
59
e72cf3ec
L
602007-03-28 H.J. Lu <hongjiu.lu@intel.com>
61
62 * config/tc-i386.c (build_modrm_byte): For instructions with 2
63 register operands, encode destination in i.rm.regmem if its
64 RegMem bit is set.
65
4ecceb71
RS
662007-03-28 Richard Sandiford <richard@codesourcery.com>
67 Phil Edwards <phil@codesourcery.com>
68
69 * doc/as.texinfo: Put the contents after the title page rather
70 than at the end of the document.
71
3f9ce309
AM
722007-03-27 Alan Modra <amodra@bigpond.net.au>
73
74 * NEWS: Mention ".reloc".
75
eb6d9dce
BW
762007-03-26 Sterling Augustine <sterling@tensilica.com>
77
78 * config/tc-xtensa.c (xg_translate_idioms): Allow assembly idioms
79 in FLIX instructions.
80
c96612cc
JB
812007-03-26 Julian Brown <julian@codesourcery.com>
82
83 * config/tc-arm.c (arm_it): Add immisfloat field.
84 (parse_qfloat_immediate): Disallow integer syntax for floating-point
85 immediates. Fix hex immediates, handle 0.0 and -0.0 specially.
86 (parse_neon_mov): Set immisfloat bit for operand if it parsed as a
87 float.
88 (neon_cmode_for_move_imm): Reject non-float immediates for float
89 operands.
90 (neon_move_immediate): Pass immisfloat bit to neon_cmode_for_move_imm.
91
23753660
JB
922007-03-26 Julian Brown <julian@codesourcery.com>
93
94 * doc/c-arm.texi: Add documentation for .dn/.qn directives.
95
05e9452c
AM
962007-03-26 Alan Modra <amodra@bigpond.net.au>
97
98 * doc/as.texinfo (Reloc): Document.
99 * read.c (potable): Add "reloc".
100 (s_reloc): New function.
101 * write.c (reloc_list): New global var.
102 (resolve_reloc_expr_symbols): New function.
103 (write_object_file): Call it.
104 (write_relocs): Process reloc_list.
105 * write.h (struct reloc_list): New.
106 (reloc_list): Declare.
107
1198ca51
PB
1082007-03-24 Paul Brook <paul@codesourcery.com>
109
110 * config/tc-arm.c (do_t_ldmstm): Error on Thumb-2 addressing modes.
111
b6702015
PB
1122007-03-24 Paul Brook <paul@codesourcery.com>
113 Mark Shinwell <shinwell@codesourcery.com>
114
115 * config/tc-arm.c (operand_parse_code): Add OP_oRRw.
116 (parse_operands): Don't expect comma if first operand missing.
117 Handle OP_oRRw.
118 (do_srs): Encode register number, checking it is r13. Update comment.
119 (insns): Update SRS entries to take a register.
120
831480e9 1212007-03-23 H.J. Lu <hongjiu.lu@intel.com>
0003779b
L
122
123 * config/tc-i386.c (md_begin): Allow '.' in mnemonic.
124
738755b0
MS
1252007-03-23 Mark Shinwell <shinwell@codesourcery.com>
126
35225157 127 * config/tc-arm.c (md_apply_fix): Turn CBZ instructions that
738755b0
MS
128 attempt to jump to the next instruction into NOPs.
129
840edabd
AM
1302007-03-23 Alan Modra <amodra@bigpond.net.au>
131
132 * config/tc-spu.c: Don't include opcode/spu.h.
133 (md_assemble): Set tc_fix_data.insn_tag and arg_format.
134 (md_apply_fix): Adjust.
135 * config/tc-spu.h: Include opcode/spu.h.
136 (struct tc_fix_info): New.
137 (TC_FIX_TYPE, TC_INIT_FIX_DATA): Adjust.
138 (TC_FORCE_RELOCATION): Define.
139
e49e529d
JM
1402007-03-22 Joseph Myers <joseph@codesourcery.com>
141
142 * doc/as.texinfo: Include VERSION_PACKAGE when reporting version.
143
831480e9 1442007-03-21 H.J. Lu <hongjiu.lu@intel.com>
13a1e313
L
145
146 * config/tc-i386.c (process_suffix): Check 0x90 instead of
147 xchg for xchg %rax,%rax.
148
831480e9 1492007-03-21 H.J. Lu <hongjiu.lu@intel.com>
161a04f6
L
150
151 * config/tc-i386.c: Replace REX_MODE64, REX_EXTX, REX_EXTY
152 and REX_EXTZ with REX_W, REX_R, REX_X and REX_B respectively.
153
831480e9 1542007-03-21 H.J. Lu <hongjiu.lu@intel.com>
8b38ad71
L
155
156 PR binutils/4218
157 * config/tc-i386.c (match_template): Properly handle 64bit mode
158 "xchg %eax, %eax".
159
af1c1010
NC
1602007-03-21 Anton Ertl <anton@mips.complang.tuw>
161
162 PR gas/4124
163 * config/tc-alpha.c (emit_ustX): Fix ustq code generation.
164
1d5f2fe9
L
1652007-03-21 H.J. Lu <hongjiu.lu@intel.com>
166
167 * Makefile.am: Run dep-am.
168 * Makefile.in: Regenerated.
169
170 * config/tc-i386.c: Don't include "opcodes/i386-opc.h".
171
172 * config/tc-i386.h: Include "opcodes/i386-opc.h".
173 (NOP_OPCODE): Removed.
174 (template): Likewise.
175
5ac8f2a2
AS
1762007-03-21 Andreas Schwab <schwab@suse.de>
177
178 * config/tc-i386.h (NOP_OPCODE): Restore.
179
8fb9d7b9
MS
1802007-03-18 Mark Shinwell <shinwell@codesourcery.com>
181
182 * config/tc-arm.c (do_mul): Don't warn about overlapping
183 Rd and Rm operands when assembling for v6 or above.
184 Correctly capitalize register names in the messages.
185 (do_mlas): Likewise. Delete spurious blank line.
186
b3768379
KH
1872007-03-16 Kazu Hirata <kazu@codesourcery.com>
188
189 * config/tc-m68k.c (m68k_cpus): Add an entry for fidoa.
190
c3fe08fa
L
1912007-03-15 H.J. Lu <hongjiu.lu@intel.com>
192
193 * config/tc-i386.c (md_begin): Use i386_regtab_size to scan
194 i386_regtab.
195 (parse_register): Use i386_regtab_size instead of ARRAY_SIZE
196 on i386_regtab.
197
4061927e
L
1982007-03-15 Alexandre Oliva <aoliva@redhat.com>
199
200 PR gas/4184
201 * app.c (do_scrub_chars): PUT after setting states.
202
0b1cf022
L
2032007-03-15 H.J. Lu <hongjiu.lu@intel.com>
204
205 * Makefile.am: Run "make dep-am".
206 * Makefile.in: Regenerated.
207
208 * config/tc-i386.c: Include "opcodes/i386-opc.h" instead of
209 "opcode/i386.h".
210 (md_begin): Check reg_name != NULL for the last entry in
211 i386_regtab.
212
213 * config/tc-i386.h: Move many entries to opcode/i386.h and
214 opcodes/i386-opc.h.
215
216 * configure.in (need_opcodes): Set true for i386.
217 * configure: Regenerated.
218
c428fa83
L
2192007-03-15 H.J. Lu <hongjiu.lu@intel.com>
220
221 * Makefile.am (REPORT_BUGS_TO): Removed.
222 (INCLUDES): Remove -DREPORT_BUGS_TO.
223 * Makefile.in: Regenerated.
224
225 * configure.in (--with-bugurl): Removed.
226 * configure: Regenerated.
227
228 * doc/Makefile.am (as_TEXINFOS): Remove gasver.texi.
229 (AM_MAKEINFOFLAGS): Add -I ../../bfd/doc.
230 (TEXI2DVI): Likewise.
231 (gasver.texi): Removed.
232 (MOSTLYCLEANFILES): Remove gasver.texi.
233 (as.1): Don't depend on gasver.texi.
234 * doc/Makefile.in: Regenerated.
235
236 * doc/as.texi: Include bfdver.texi instead of gasver.texi.
237
794ba86a
DJ
2382007-03-14 Daniel Jacobowitz <dan@codesourcery.com>
239
240 * config/tc-arm.c (arm_copy_symbol_attributes): New.
241 * config/tc-arm.h (arm_copy_symbol_attributes): Declare.
242 (TC_COPY_SYMBOL_ATTRIBUTES): Define.
243 * gas/symbols.c (copy_symbol_attributes): Use
244 TC_COPY_SYMBOL_ATTRIBUTES.
245
155257ea
PB
2462007-03-14 Paul Brook <paul@codesourcery.com>
247
248 * config/tc-arm.c (T16_32_TAB): Fix dec_sp encoding.
249
d1c5f158
AM
2502007-03-14 Alan Modra <amodra@bigpond.net.au>
251
252 PR 4029
253 * write.c (relax_segment): Insert extra alignment padding
254 to break infinite relax loop when given impossible
255 gcc_except_table assembly.
256
8a2ed489
L
2572007-03-12 H.J. Lu <hongjiu.lu@intel.com>
258
259 * config/tc-i386.c (md_assemble): Use Opcode_XXX instead of XXX
260 on i.tm.base_opcode.
261 (match_template): Likewise.
262 (process_operands): Use ~0x3 mask to match MOV_AX_DISP32.
263
264 * config/tc-i386.h (Opcode_D): New.
265 (Opcode_FloatR): Likewise.
266 (Opcode_FloatD): Likewise.
267 (D): Redefined.
268 (W): Likewise.
269 (FloatMF): Likewise.
270 (FloatR): Likewise.
271 (FloatD): Likewise.
272
e9fc6c21
AO
2732007-03-09 Alexandre Oliva <aoliva@redhat.com>
274
275 * app.c (do_scrub_chars): Recognize comments after # line "file".
276 * read.c (get_linefile_number): New.
277 (s_app_line): Accept ill-formed .linefile lines as comments.
278
b1b7d09b
AM
2792007-03-09 Alan Modra <amodra@bigpond.net.au>
280
281 * config/tc-i386.h (WORKING_DOT_WORD): Define.
282
93e914b2
AO
2832007-03-09 Alexandre Oliva <aoliva@redhat.com>
284
285 * app.c (do_scrub_chars): Turn #<line>"file"flags into .linefile.
286 * as.h (new_logical_line_flags): New.
287 * input-scrub.c (new_logical_line): Turned into wrapper for...
288 (new_logical_line_flags): this. Handle flags.
289 * read.c (potable): Add linefile. Adjust appline argument.
290 (s_app_file): Fake .appfiles no more.
291 (s_app_line): For .linefile, accept file name and flags.
292
6f12865c
AM
2932007-03-08 Alan Modra <amodra@bigpond.net.au>
294
295 * symbols.c (symbol_relc_make_sym): Comment typo fixes.
296
a6d04ec4
AM
2972007-03-08 Alan Modra <amodra@bigpond.net.au>
298
299 * Makefile.am: Run "make dep-am".
300 * Makefile.in: Regenerate.
301 * po/POTFILES.in: Regenerate.
302
ad22bfe8
JM
3032007-03-07 Joseph Myers <joseph@codesourcery.com>
304
305 * configure.in (REPORT_BUGS_TEXI): Define to Texinfo version of
306 bug-reporting URL.
307 * doc/Makefile.am (gasver.texi): Define BUGURL.
308 * doc/as.texinfo: Use BUGURL.
309 * Makefile.in, configure, doc/Makefile.in: Regenerate.
310
b5639b37
MS
3112007-03-06 Andreas Krebbel <krebbel1@de.ibm.com>
312
313 * config/tc-s390.c (md_parse_option): z9-ec option added.
314
5e77afaa
PB
3152007-03-02 Paul Brook <paul@codesourcery.com>
316
317 * config/tc-arm.c (relax_immediate): Always return positive values.
318 (relaxed_symbol_addr): New function.
319 (relax_adr, relax_branch): Use it.
320 (arm_relax_frag): Pass strect argument. Adjust infinite loop check.
321
066c2a57
JM
3222007-03-01 Joseph Myers <joseph@codesourcery.com>
323
324 * as.c (parse_args): Update copyright date.
325
ed6ba298
NS
3262007-02-28 Nathan Sidwell <nathan@codesourcery.com>
327
328 * configure.tgt (sh-*-uclinux, sh[12]-*-uclinux): Specify as elf.
329
870074dd
NC
3302007-02-28 Nick Clifton <nickc@redhat.com>
331
c5d07591
NC
332 PR gas/3797
333 * config/tc-d10v.c (do_assemble): Do not generate error messages,
334 just return -1 whenever a problem is encountered.
335 (md_assemble): If do_assemble returns -1 generate a non-fatal
336 error message and return.
337
870074dd
NC
338 PR gas/2623
339 * config/tc-msp430.c (line_separator_char): Change to '{'.
340
fd99afa7
AM
3412007-02-27 Alan Modra <amodra@bigpond.net.au>
342
343 * config/tc-m68hc11.c (fixup24): Correct fixup size.
344 (build_jump_insn): Likewise.
345 (build_insn): Likewise.
346 (s_m68hc11_relax): Likewise.
347
07cb2078
AM
3482007-02-27 Alan Modra <amodra@bigpond.net.au>
349
350 * config/obj-elf.c (elf_frob_file): frag_wane any new frags.
351
22b5b651
MS
3522007-02-25 Mark Shinwell <shinwell@codesourcery.com>
353
354 * config/tc-arm.c (do_vfp_nsyn_pop): Use fldmias/fldmiad.
355
acb02403
AM
3562007-02-23 Alan Modra <amodra@bigpond.net.au>
357
358 * config/tc-mn10300.c (md_convert_frag): Correct fixup size.
359 (md_assemble): Likewise.
360
e5435dec
AM
3612007-02-22 Alan Modra <amodra@bigpond.net.au>
362
363 * write.c (size_seg): Always clear SEC_RELOC here.
364 (install_reloc): New function, extracted from..
365 (write_relocs): ..here. Combine RELOC_EXPANSION_POSSIBLE code
366 with !RELOC_EXPANSION_POSSIBLE code. Don't add fr_offset when
367 testing frag size. Set SEC_RELOC here.
368
a1836728
AM
3692007-02-21 Alan Modra <amodra@bigpond.net.au>
370
371 PR 4082
372 * config/tc-avr.h (TC_FX_SIZE_SLACK): Define.
373
f281862d
TS
3742007-02-20 Thiemo Seufer <ths@mips.com>
375
376 * doc/c-mips.texi: Document 74kc, 74kf, 74kx.
377
01fd108f
TS
3782007-02-20 Thiemo Seufer <ths@mips.com>
379
380 * config/tc-mips.c (mips_cpu_info_table): Add 74K configurations.
381
8b082fb1
TS
3822007-02-20 Thiemo Seufer <ths@mips.com>
383 Chao-Ying Fu <fu@mips.com>
384
385 * config/tc-mips.c (mips_set_options, mips_opts, file_ase_dspr2,
386 ISA_SUPPORTS_DSPR2_ASE, MIPS_CPU_ASE_DSPR2): Add DSP R2 ASE support.
387 (macro_build): Add case '2'.
388 (macro): Expand M_BALIGN to nop, packrl.ph or balign.
389 (validate_mips_insn): Add support for balign instruction.
390 (mips_ip): Handle DSP R2 instructions. Support balign instruction.
391 (OPTION_DSPR2, OPTION_NO_DSPR2, OPTION_COMPAT_ARCH_BASE,
392 md_parse_option, mips_after_parse_args): Add -mdspr2 and -mno-dspr2
393 command line options.
394 (s_mipsset): Add support for .set dspr2 and .set nodspr2 directives.
395 (md_show_usage): Add -mdspr2 and -mno-dspr2 help output.
396 * doc/c-mips.texi, doc/as.texinfo: Document -mdspr2, -mno-dspr2,
397 .set dspr2, .set nodspr2.
398
96e0bbcc
NS
3992007-02-20 Nathan Sidwell <nathan@codesourcery.com>
400
401 * config/tc-m68k.c (mcf5210a_ctrl, mcf52235_ctrl, mcf5225_ctrl): New.
402 (m68k_cpus): Add 5210a..5211a, 52230..52235 5224..5225.
403
d31f0f6d
AM
4042007-02-18 Alan Modra <amodra@bigpond.net.au>
405
406 * write.c (TC_FX_SIZE_SLACK): Define.
407 (write_relocs): Reinstate check for fixup within frag.
408 * config/tc-bfin.h (TC_FX_SIZE_SLACK): Define.
409 * config/tc-h8300.h (TC_FX_SIZE_SLACK): Define.
410 * config/tc-mmix.h (TC_FX_SIZE_SLACK): Define.
411 * config/tc-sh.h (TC_FX_SIZE_SLACK): Define.
412 * config/tc-xstormy16.h (TC_FX_SIZE_SLACK): Define.
413
92f01d61
JM
4142007-02-17 Mark Mitchell <mark@codesourcery.com>
415 Nathan Sidwell <nathan@codesourcery.com>
416 Vladimir Prus <vladimir@codesourcery.com
417 Joseph Myers <joseph@codesourcery.com>
418
419 * configure.in (--with-bugurl): New option.
420 * configure: Regenerate.
421 * dep-in.sed: Remove bin-bugs.h.
422 * Makefile.am (REPORT_BUGS_TO): Define.
423 (INCLUDES): Define REPORT_BUGS_TO.
424 (DEP_INCLUDES): Likewise.
425 ($(OBJS)): No longer depend on bin-bugs.h.
426 * Makefile.in: Regenerate.
427 * doc/Makefile.in: Regenerate.
428 * as.c (show_usage): Don't print empty REPORT_BUGS_TO.
429 * as.h: Remove include of bin-bugs.h.
430
b4b24b79
AM
4312007-02-17 Alan Modra <amodra@bigpond.net.au>
432
433 * write.c: White space fixes.
434 (fixup_segment): Move symbol_mri_common_p adjustments..
435 (write_relocs): ..and symbol_equated_reloc_p adjustments..
436 (adjust_reloc_syms): ..to here.
437
e7ff5c73
AM
4382007-02-16 Alan Modra <amodra@bigpond.net.au>
439
440 * subsegs.c (subseg_change, subseg_get): Use xcalloc rather than
441 xmalloc, memset. Don't bother assigning NULL to known zero mem.
442 (subseg_set_rest): Remove unnecessary cast.
443 * write.c: Include libbfd.h. Replace PTR with void * throughout.
444 Remove unnecessary forward declarations and casts.
445 (set_symtab): Delete extern bfd_alloc.
446 (fixup_segment): Move.
447
a8e24a56
NS
4482007-02-15 Nathan Sidwell <nathan@codesourcery.com>
449
450 * config/m68k-parse.h (m68k_register): Add ROMBAR0, ASID.
451 * config/tc-m68k.c (mcfv4e_ctrl): Add ColdFire specific names.
452 (mcf5475_ctrl, mcf5485_ctrl): New.
453 (m68k_cpus): Use mcf5485_ctrl and mcf5485_ctrl for those families.
454 (m68k_ip): Add ASID, MMUBAR, ROMBAR0 handling.
455 (init_table): Add asid, mmubar, adjust rombar0.
456
4eed87de
AM
4572007-02-14 Alan Modra <amodra@bigpond.net.au>
458
459 * config/tc-i386.h (Seg2ShortForm, Seg3ShortForm): Delete.
460 * config/tc-i386.c: Wrap overly long lines, whitespace fixes.
461 (process_operands): Move old Seg2ShortForm and Seg3ShortForm
462 code, and test for these insns using a combination of
463 opcode_modifier and operand_types.
464
7bd1c961
PB
4652007-02-07 Paul Brook <paul@codesourcery.com>
466
5c817587 467 * configure.tgt: Add arm*-*-uclinux-*eabi.
7bd1c961 468
280d71bf 4692007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
470 Richard Sandiford <rsandifo@redhat.com>
471 DJ Delorie <dj@redhat.com>
472 Stan Cox <scox@redhat.com>
473 Jim Blandy <jimb@redhat.com>
474 Nick Clifton <nickc@redhat.com>
475 Jim Wilson <wilson@redhat.com>
476 Frank Ch. Eigler <fche@redhat.com>
477 Graydon Hoare <graydon@redhat.com>
478 Ben Elliston <bje@redhat.com>
479 John Healy <jhealy@redhat.com>
480 Richard Henderson <rth@redhat.com>
481
482 * Makefile.am (CPU_TYPES): Add mep.
483 (TARGET_CPU_CFILES): Add tc-mep.c.
484 (TARGET_CPU_HFILES): Add tc-mep.h.
485 (DEPTC_mep_elf): New variable.
486 (DEPTC_mep_coff): Likewise.
487 (DEPOBJ_mep_coff, DEPOBJ_mep_elf, DEP_mep_coff, DEP_mep_elf): Likewise.
488 * configure.in: Support mep.
489 * configure.tgt: Likewise.
490 * config/tc-mep.c: New file.
280d71bf
DB
491 * config/obj-elf.c: New file.
492 * config/tc-mep.c: New file.
493 * config/tc-mep.h: New file.
494 * testsuite/gas/mep: New testsuite with content.
495 * Makefile.in: Regenerate.
496 * configure: Regenerate.
497
4982007-02-05 Dave Brolley <brolley@redhat.com>
499
500 * cgen.c (gas_cgen_install_complex_reloc): Removed.
501 (complex_reloc_installation_howto): Removed.
502
5032007-02-05 Dave Brolley <brolley@redhat.com>
4948f0d4
DB
504 Graydon Hoare <graydon@redhat.com>
505 DJ Delorie <dj@redhat.com>
506 Catherine Moore <clm@redhat.com>
507 Michael Chastain <chastain@redhat.com>
508 Frank Ch. Eigler <fche@redhat.com>
280d71bf
DB
509
510 * symbols.c (use_complex_relocs_for): New, to decide
4948f0d4
DB
511 when to use complex relocs. Add signed RELC support.
512 (resolve_symbol_value): Call use_complex_relocs_for. Unconditionally
513 encode expression symbols as mangled complex relocation symbols (when
514 compiled with -DOBJ_COMPLEX_RELOC).
515 (symbol_relc_make_sym,value,expr): New traversal/conversion routines.
516 * cgen.c (gas_cgen_md_apply_fix3): Only set signed_p if RELC. Call
517 encode_addend with new args. Modify to get start, length from
518 ifield whenever it is set. Also change condition on which
519 self-describing relocs are encoded. Add hook into
520 gas_cgen_encode_addend.
521 (queue_fixup_recursively): Add signed RELC support. Change from masked
522 expr to trunc flag. Restore assignment of sub-field value to
523 temporary in fixups array. Reflect changed meaning of last arg to
280d71bf 524 queue_fixup_recursively.
4948f0d4 525 (fixup): Add cgen_maybe_multi_ifield member.
280d71bf
DB
526 (make_right_shifted_expr): New function.
527 (queue_fixup): Change to recursive function that fragments
528 fixups if operand has a multi-ifield.
529 (gas_cgen_parse_operand): Add RELC code to wrap expressions in
530 symbols, call weak_operand_overflow_check, and fragment call
531 queue_fixup with operand fields.
532 (gas_cgen_finish_insn) Modify to manage ifield pointer.
280d71bf
DB
533 (weak_operand_overflow_check): New function to try to select
534 insns correctly.
4948f0d4 535 (gas_cgen_encode_addend): New function for relc.
280d71bf 536 (gas_cgen_install_complex_reloc): Likewise.
280d71bf 537 (gas_cgen_tc_gen_reloc): Add hook into gas_cgen_install_complex_reloc.
4948f0d4
DB
538 * write.h (struct fix): Add msb_field_p to fx_cgen sub-struct. Add
539 cgen_maybe_multi_ifield field to fx_cgen substructure.
540 * cgen.h (GAS_CGEN_MAX_FIXUPS): Bump from 3 up to 32.
541 * symbols.h (symbol_relc_make_sym,value,expr): New prototypes.
542
e110eeb7
DD
5432007-02-03 DJ Delorie <dj@delorie.com>
544
545 * config/tc-m32c.c (m32c_cons_fix_new): New. Added to support 3
546 byte relocs.
547 * config/tc-m32c.h (TC_CONS_FIX_NEW): Define.
548 (m32c_cons_fix_new): Prototype.
549
60242db2
BW
5502007-02-02 Bob Wilson <bob.wilson@acm.org>
551
552 * config/tc-xtensa.c (xg_build_to_insn): Use tinsn_init.
553 (xg_expand_assembly_insn, istack_push_space, istack_pop): Likewise.
554
bbdd25a8
BW
5552007-02-02 Bob Wilson <bob.wilson@acm.org>
556
557 * config/tc-xtensa.c (SUFFIX_MAP, suffix_relocs): New.
558 (xtensa_elf_suffix): Use suffix_relocs instead of local mapping table.
559 (map_suffix_reloc_to_operator): New.
560 (map_operator_to_reloc): New.
561 (expression_maybe_register): Fix incorrect test of return value from
562 xtensa_elf_suffix. Rearrange to use map_suffix_reloc_to_operator.
563 (xg_assemble_literal, convert_frag_immed): Use map_operator_to_reloc.
564
9c874773
BW
5652007-02-02 Bob Wilson <bob.wilson@acm.org>
566
567 * config/xtensa-istack.h (struct tinsn_struct): Delete fixup field.
568 (tinsn_get_tok): Delete prototype.
569 * config/tc-xtensa.c (tinsn_get_tok): Delete.
570
61376837
BW
5712007-02-02 Bob Wilson <bob.wilson@acm.org>
572
573 * config/xtensa-relax.h (struct build_instr): Delete id field.
574 * config/xtensa-relax.c (widen_spec_list): Remove zeros from LITERAL
575 and LABEL tokens.
576 (append_literal_op, append_label_op): Remove litnum/labnum arguments;
577 set op_data fields to zero.
578 (parse_id_constant): Delete.
579 (build_transition): Remove code to handle numbered literals and labels.
580
bc447904
BW
5812007-02-02 Bob Wilson <bob.wilson@acm.org>
582
583 * config/xtensa-relax.c (build_transition): Remove code after as_fatal.
584 (build_transition_table): Likewise.
585
63a7429b
BW
5862007-02-01 Bob Wilson <bob.wilson@acm.org>
587
588 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Delete use of
589 fx_tcbit.
590 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Remove.
591
20ee54e8
AM
5922007-02-02 Alan Modra <amodra@bigpond.net.au>
593
594 * write.h (struct fix <fx_pcrel_adjust, fx_size>): Move.
595 (struct fix <fx_plt>): Rename to tcbit2.
596 * write.c (fix_new_internal): Adjust.
597 (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
598 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
599 * config/tc-cris.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
600 * config/tc-i386.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
601 * config/tc-i960.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
602 * config/tc-sh.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
603 * config/tc-sh64.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
604 * config/tc-sparc.h (TC_FORCE_RELOCATION_LOCAL): Likewise.
605 * config/tc-msp430.c (msp430_force_relocation_local): Likewise.
606 * config/tc-ia64.c (emit_one_bundle): Don't set fx_plt.
607 * config/tc-ia64.h (TC_FORCE_RELOCATION_LOCAL): Don't test fx_plt.
608 Instead, compare fx_r_type.
609 * config/tc-xtensa.c (xg_add_opcode_fix, md_apply_fix): Use
610 fx_tcbit in place of fx_plt.
611 * config/tc-xtensa.h (TC_FORCE_RELOCATION_LOCAL): Define.
612 * doc/internals.texi (TC_FORCE_RELOCATION_LOCAL): Remove reference
613 to fx_plt.
614
bf083c64
NC
6152007-01-30 Nick Clifton <nickc@redhat.com>
616
617 * as.c (main): Mark symbols created via the --defsym command line
618 option as volatile so that they can be overridden later on by a
619 .set directive. This maintains compatibility with the behaviour
620 of earlier versions of the assembler.
621 * doc/as.texinfo (--defsym): Document that the defined symbol's
622 value can be overridden via a .set directive.
623
fc523535 6242007-01-28 H.J. Lu <hongjiu.lu@intel.com>
4d456e3d
L
625
626 * config/tc-i386.c (swap_imm_operands): Renamed to ...
627 (swap_2_operands): This. Take 2 ints.
628 (md_assemble): Updated.
629 (swap_operands): Call swap_2_operands to swap 2 operands.
630
7bc4c13c
DD
6312007-01-24 DJ Delorie <dj@redhat.com>
632
633 * config/tc-m32c.c (md_pseudo_table): Add .3byte.
634
48903831
NC
6352007-01-22 Nick Clifton <nickc@redhat.com>
636
07302d31 637 PR gas/3871
48903831
NC
638 * tc-score.c: Remove unnecessary uses of _().
639 Make the err_msg[] a file level local array in order to save
640 storage space.
641 Remove unnecessary sprintf()s.
642
14119072
ML
6432007-01-18 Mei Ligang <ligang@sunnorth.com.cn>
644
07302d31 645 PR gas/3871
14119072
ML
646 * config/tc-score.c : Using _() for const string.
647 Do not assign inst.error with a local string pointer.
648 (md_section_align): Pad section.
649
99018f42
L
6502007-01-13 H.J. Lu <hongjiu.lu@intel.com>
651
652 * config/tc-i386.c (build_modrm_byte): Check number of operands
653 when procssing memory/register operand.
654
465e5617
NC
6552007-01-12 Nick Clifton <nickc@redhat.com>
656
657 PR gas/3856
658 * macro.c (expand_irp): Do not ignore spaces inside quoted
659 strings.
660
e8630bd7
AM
6612007-01-12 Alan Modra <amodra@bigpond.net.au>
662
663 * config/tc-spu.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
664 * config/tc-m32r.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
665 * config/tc-mn10300.h (TC_RELOC_RTSYM_LOC_FIXUP): Delete.
666 (TC_FORCE_RELOCATION): Define.
667 (TC_FORCE_RELOCATION_LOCAL): Define.
668 * config/tc-mn10300.c (mn10300_fix_adjustable): Adjust.
669
1f5409bb
AM
6702007-01-12 Alan Modra <amodra@bigpond.net.au>
671
672 * input-file.c (input_file_open): Check fgets return.
673
dc4503c6
PB
6742007-01-11 Paul Brook <paul@codesourcery.com>
675
676 * config/tc-arm.c (do_t_add_sub): Use Rd and Rs.
677
04f8d83b
NC
6782007-01-11 Nick Clifton <nickc@redhat.com>
679
493cb6ef
NC
680 PR gas/3707
681 * config/tc-arm.c (md_begin): Cope with an NULL mcpu_fpu_opt
682 variable.
683
04f8d83b
NC
684 * config/tc-mcore.c (md_number_to_chars): Use
685 number_to_chars_{big|little}endian.
686
3bdcfdf4
KH
6872007-01-08 Kazu Hirata <kazu@codesourcery.com>
688
689 * config/tc-m68k.c (m68k_archs, m68k_cpus): Treat Fido as an
690 architecture by itself.
691 (m68k_ip): Don't issue a warning for tbl instructions on fido.
692 (m68k_elf_final_processing): Treat Fido as an architecture by
693 itself.
694
42037fe5
NC
6952007-01-08 Kai Tietz <kai.tietz@onevision.com>
696
697 * configure.tgt: Renamed target x86_64-*-mingw64 to x86_64-*-mingw*
698
e4a3b5a4
L
6992007-01-05 H.J. Lu <hongjiu.lu@intel.com>
700
701 * config/tc-i386.c (set_intel_syntax): Update set_intel_syntax
702 depending on allow_naked_reg.
703
a028a6f5
PB
7042007-01-04 Paul Brook <paul@codesourcery.com>
705
706 * config/tc-arm.c (do_cpsi): Set mmod bit for 2 argument form.
707
2ca3ace5
L
7082007-01-04 H.J. Lu <hongjiu.lu@intel.com>
709
44f9b8ac 710 PR gas/3830
2ca3ace5
L
711 * config/tc-i386.c (register_prefix): New.
712 (set_intel_syntax): Set set_intel_syntax to "" if register
2221f452 713 prefix isn't needed.
2ca3ace5
L
714 (check_byte_reg): Use register_prefix for error message.
715 (check_long_reg): Likewise.
716 (check_qword_reg): Likewise.
717 (check_word_reg): Likewise.
718
627907b7
JB
7192006-01-04 Julian Brown <julian@codesourcery.com>
720
721 * config/tc-arm.c (do_neon_shl_imm): Swap rN, rM.
722 (do_neon_qshl_imm): Likewise.
723 (do_neon_rshl): New function. Handle rounding variants of
724 v{q}shl-by-register.
725 (insns): Use do_neon_rshl for vrshl, vqrshl.
726
92559b5b
PB
7272007-01-04 Paul Brook <paul@codesourcery.com>
728
729 * config/tc-arm.c (NEON_ENC_TAB): Fix encoding of vclt, vcle, vaclt
730 and vacle.
731
2ca3ace5
L
7322007-01-03 H.J. Lu <hongjiu.lu@intel.com>
733
734 * config/tc-i386.c (swap_operands): Remove branches.
735
4dc85607
L
7362007-01-03 H.J. Lu <hongjiu.lu@intel.com>
737
738 * config/tc-i386.c: Update copyright year.
739 * config/tc-i386.h: Likewise.
740
1509aa9a
L
7412007-01-03 H.J. Lu <hongjiu.lu@intel.com>
742
743 * config/tc-i386.c (smallest_imm_type): Return unsigned int
744 instead of int.
745
e3bb37b5
L
7462007-01-03 H.J. Lu <hongjiu.lu@intel.com>
747
748 * config/tc-i386.c: Convert to ISO C90 formatting
749 * config/tc-i386.h: Likewise.
750
d821e36b
DD
7512007-01-03 David Daney <ddaney@avtrex.com>
752
753 * config/tc-mips.c (md_show_usage): Clean up -mno-shared
754 documentation.
755
44021fe5 756For older changes see ChangeLog-2006
08d56133
NC
757\f
758Local Variables:
759mode: change-log
760left-margin: 8
761fill-column: 74
762version-control: never
763End:
This page took 0.342187 seconds and 4 git commands to generate.