Support .quad for x32.
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2011-03-28 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (handle_quad): New.
4 (md_pseudo_table): Add "quad".
5
6 2011-03-26 John Marino <binutils@marino.st>
7
8 * configure.tgt: Fix support for *-*-dragonfly*.
9 * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
10 * config/te-dragonfly.h: New file.
11
12 2011-03-24 Eric B. Weddington <eric.weddington@atmel.com>
13
14 * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
15 atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
16 at90pwm161.
17 * doc/c-avr.texi: Document new device names.
18
19 2011-03-24 Mike Frysinger <vapier@gentoo.org>
20
21 * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
22 reg $1 is the same as dest reg $7.
23 (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
24 dest reg $7.
25
26 2011-03-24 Mike Frysinger <vapier@gentoo.org>
27
28 * config/bfin-parse.y (check_macfuncs): Clarify error message when
29 P is mismatched. Check destination regno are off by one when P is
30 set, or are equal when P is not set.
31
32 2011-03-23 Mike Frysinger <vapier@gentoo.org>
33
34 * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
35 the same as dest reg $4.
36 (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
37
38 2011-03-23 Eric B. Weddington <eric.weddington@atmel.com>
39
40 * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
41 atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
42 * doc/c-avr.texi: Document new device names.
43
44 2011-03-22 Eric B. Weddington <eric.weddington@atmel.com>
45
46 * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
47 (AVR_INSN): Change definition to match.
48 (avr_opcodes): Likewise, change to match.
49 (mcu_types): Add XMEGA architecture names and new XMEGA device names.
50 (md_show_usage): Add XMEGA architecture names.
51 (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
52 Add support for SPM Z+ instruction.
53 * doc/c-avr.texi: Add documentation for XMEGA architectures and
54 devices.
55
56 2011-03-21 Eric B. Weddington <eric.weddington@atmel.com>
57
58 * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
59
60 2011-03-18 Alan Modra <amodra@gmail.com>
61
62 * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
63 on .size expression errors rather than symbols in the size expression.
64
65 2011-03-18 Alan Modra <amodra@gmail.com>
66
67 * input-scrub.c (line_numberT): Delete.
68 (input_scrub_close): Reset line counters.
69 * messages.c (as_show_where): Don't print invalid line number.
70 (as_warn_internal, as_bad_internal): Likewise.
71
72 2011-03-18 Alan Modra <amodra@gmail.com>
73
74 * read.c (read_a_source_file): Remove md_after_pass_hook.
75 Move "quit" label before set of dot_symbol.
76 * config/tc-d10v.h (md_after_pass_hook): Don't define.
77 * config/tc-d30v.h (md_after_pass_hook): Likewise.
78 * config/tc-m32r.h (md_after_pass_hook): Likewise.
79 (md_cleanup): Define to call m32r_fill_insn.
80
81 2011-03-18 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
82
83 * config/tc-s390.c (md_parse_option): Add -march=all option which
84 switches to the highest available CPU.
85
86 2011-03-17 Alan Modra <amodra@gmail.com>
87
88 PR 12569
89 * expr.c (operand): Correct passing of "mode" to expr.
90 * read.c (do_org): Allow expr_section.
91 (get_known_segmented_expression): Don't assert anything about the
92 segment.
93
94 2011-03-16 H.J. Lu <hongjiu.lu@intel.com>
95
96 * as.c (show_usage): Add --size-check=.
97 (parse_args): Add and handle OPTION_SIZE_CHECK.
98
99 * as.h (flag_size_check): New.
100
101 * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
102 bad .size directive only for --size-check=error.
103
104 * doc/as.texinfo: Document --size-check=.
105
106 2011-03-14 Mike Frysinger <vapier@gentoo.org>
107
108 * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
109 bf542/bf544/bf547/bf548/bf549.
110
111 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
112
113 * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
114 determine whether a relocation is needed.
115 (md_apply_fix, arm_apply_sym_value): Likewise.
116
117 2011-03-14 Richard Sandiford <richard.sandiford@linaro.org>
118
119 * config/tc-arm.c (arm_adjust_symtab): Set the branch type
120 for Thumb symbols.
121
122 2011-03-11 Nick Clifton <nickc@redhat.com>
123
124 * remap.c (remap_debug_filename): Always allocate a buffer for the
125 returned pointer.
126 * stabs.c (stabs_generate_asm_file): Free the pointer returned by
127 remap_debug_filename.
128
129 2011-03-10 Michael Snyder <msnyder@vmware.com>
130
131 Revert the following change:
132 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
133 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
134
135 2011-03-10 Alan Modra <amodra@gmail.com>
136
137 * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
138 TARGET_SYMBOL_FIELDS): Don't define.
139 * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
140
141 2011-03-09 Michael Snyder <msnyder@vmware.com>
142
143 * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
144 (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
145 (emit_fixed_inc_line_addr): Assign instead of conditional in
146 assert.
147
148 2011-03-05 H.J. Lu <hongjiu.lu@intel.com>
149
150 * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
151 non-constant .size expression.
152
153 2011-03-02 Nick Clifton <nickc@redhat.com>
154
155 * ecoff.c: Incldue filenames.h
156
157 2011-02-28 Kai Tietz <kai.tietz@onevision.com>
158
159 * depend.c (register_dependency): Use filename_(n)cmp.
160 * dwarf2dbg.c (get_filenum): Likewise.
161 * ecoff.c (add_file): Likewise.
162 (ecoff_generate_asm_lineno): Likewise.
163 * input-scrub.c (new_logical_line_flags): Likewise.
164 * listing.c (file_info): Likewise.
165 (listing_newline): Likewise.
166 * remap.c (remap_debug_filename): Likewise.
167 * stabs.c (generate_asm_file): Likewise.
168 (stabs_generate_asm_lineno): Likewise.
169
170 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
171
172 * config/tc-mips.c (append_insn): Disable branch relaxation for
173 DSP instructions.
174
175 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
176
177 * config/tc-mips.c (macro): Handle M_PREF_AB.
178
179 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
180
181 * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
182 register to use.
183 (RELAX_BRANCH_UNCOND): Adjust accordingly.
184 (RELAX_BRANCH_LIKELY): Likewise.
185 (RELAX_BRANCH_LINK): Likewise.
186 (RELAX_BRANCH_TOOFAR): Likewise.
187 (RELAX_BRANCH_AT): New macro.
188 (append_insn): Encode the temporary register to use in standard
189 MIPS branch relaxation.
190 (relaxed_branch_length): Update according to changes to
191 RELAX_BRANCH_ENCODE.
192 (md_convert_frag): Use the encoded register as the temporary.
193
194 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
195
196 * config/tc-mips.c (mips_fix_adjustable): On REL targets also
197 reject PC-relative relocations.
198
199 2011-02-28 Maciej W. Rozycki <macro@codesourcery.com>
200
201 * config/tc-mips.c (md_convert_frag): Correct message
202 capitalization.
203
204 2011-02-28 Alan Modra <amodra@gmail.com>
205
206 * symbols.c (report_op_error): Remove unnecessary forward declaration.
207 Add "op" parameter. Report operator and operand segments in error
208 message, not operand symbols.
209 (resolve_symbol_value): Always set segment for equated symbols, not
210 just when finalizing. Adjust report_op_error calls.
211
212 2011-02-25 H.J. Lu <hongjiu.lu@intel.com>
213
214 * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
215 if 64bit relocations aren't allowed.
216
217 2011-02-25 Alan Modra <amodra@gmail.com>
218
219 PR gas/12519
220 * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
221
222 2011-02-21 Maciej W. Rozycki <macro@codesourcery.com>
223
224 * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
225 initialization of offset_reloc.
226
227 2011-02-15 Richard Henderson <rth@redhat.com>
228
229 * dw2gencfi.c (dot_cfi_dummy): New.
230 (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
231 * read.c (pobegin): Unconditionally call cfi_pop_insert.
232
233 2011-02-13 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
234
235 * configure: Regenerate.
236
237 2011-02-13 Mike Frysinger <vapier@gentoo.org>
238
239 * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
240 * config/bfin-parse.y (BYTEOP2M): Delete token.
241 (asm_1): Remove BYTEOP2M insn matching.
242
243 2011-02-12 Mike Frysinger <vapier@gentoo.org>
244
245 * config/bfin-defs.h: Include opcode/bfin.h.
246 (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
247
248 2011-02-11 Mike Frysinger <vapier@gentoo.org>
249
250 * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
251 (Modify Registers): Fix subtracted typo.
252 (.byte2): Extend and swap descriptions with .byte4.
253 (.byte4): Extend and swap descriptions with .byte2.
254 (.db, .dw, .dd): Document behavior.
255
256 2011-02-11 Mike Frysinger <vapier@gentoo.org>
257
258 * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
259
260 2011-02-11 Alan Modra <amodra@gmail.com>
261
262 * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
263
264 2011-02-10 Alan Modra <amodra@gmail.com>
265
266 * doc/as.texinfo (Overview): Add missing markup around Blackfin
267 and PowerPC options.
268
269 2011-02-10 Alan Modra <amodra@gmail.com>
270
271 * config/tc-ppc.c (md_show_usage): Remove -l and -b. Add -K PIC.
272 * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
273 (Overview <Target PowerPC options>): Add a number of missing options.
274 * doc/c-ppc.texi: Likewise. Add markup for use in manpage generation.
275
276 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
277
278 PR gas/6957
279 * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
280 for i686.
281
282 2011-02-08 H.J. Lu <hongjiu.lu@intel.com>
283
284 * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
285 for ISA extensions.
286 (md_parse_option): Likewise.
287
288 2011-02-04 Bernd Schmidt <bernds@codesourcery.com>
289
290 * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
291 * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
292 (TIC6X Options): Don't mention "-matomic".
293 * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
294 (md_longopts): Remove corresponding entries.
295 (md_parse_option): Don't handle them.
296 (md_show_usage): Don't document them.
297 (tic6x_atomic): Delete variable.
298 (tic6x_update_features): Always copy tic6x_arch_enable to
299 tic6x_features.
300 (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
301 (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
302 (md_pseudo_table): Remove ".atomic" and ".noatomic".
303
304 2011-01-31 Nick Clifton <nickc@redhat.com>
305
306 * write.c (write_contents): Include output file name and bfd error
307 value when reporting the inability to write to the output file.
308 * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
309 frag that has a non-zero fill value.
310
311 2011-01-27 DJ Delorie <dj@redhat.com>
312
313 * config/tc-rx.c (md_convert_frag): If we can't compute the target
314 address, zero out the values stored in the object file to make
315 objdump's output consistent.
316
317 2011-01-26 Kai Tietz <kai.tietz@onevision.com>
318
319 * config/tc-i386.c (md_begin): Set for x64 windows COFF target
320 x86_dwarf2_return_column to 32.
321
322 2011-01-20 Nick Clifton <nickc@redhat.com>
323
324 PR gas/12384
325 * config/tc-h8300.c (constant_fits_width_p): Use correct type for
326 comparison.
327
328 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
329
330 * write.c (compress_debug): Return if section size is smaller
331 than 32 bytes.
332
333 2011-01-18 H.J. Lu <hongjiu.lu@intel.com>
334
335 PR gas/12409
336 * write.c (compress_debug): Return if section size is 0.
337
338 2011-01-18 Mingfeng Wu <mingfeng@faraday-tech.com>
339
340 * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
341 cores: fa606te, fa616te, fmp626. Modify the VFP of fa626te.
342 * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
343 fmp626} options.
344
345 2011-01-18 Nick Clifton <nickc@redhat.com>
346
347 PR gas/12390
348 * doc/all.texi: Add NS32K
349 * doc/as.texinfo: Remove target specific details of which
350 characters act as comment initiators and statement separators into
351 individual target specific files.
352 * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
353 the hash character at the start of a line.
354 * doc/c-arm.texi (ARM-Chars): Likewise.
355 * doc/c-avr.texi (AVR-Chars): Likewise.
356 * doc/c-d10v.texi (D10V-Chars): Likewise.
357 * doc/c-d30v.texi (D30V-Chars): Likewise.
358 * doc/c-mmix.texi (MMIX-Chars): Likewise.
359 * doc/c-s390.texi (s390 characters): Likewise.
360 * doc/c-sh.texi (SH-Chars): Likewise.
361 * doc/c-sh64.texi (SH64-Chars): Likewise.
362 * doc/c-sparc.texi (SPARC-Chars): Likewise.
363 * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
364 * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
365 * doc/c-z80.texi (Z80-Chars): Likewise.
366 * doc/c-z8k.texi (Z8000-Chars): Likewise.
367 * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
368 * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
369 * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
370 line separator characters.
371 * doc/c-cr16.texi (CR16 Syntax): Likewise.
372 * doc/c-i386.texi (i386-Chars): Likewise.
373 * doc/c-i860.texi (i860-Chars): Likewise.
374 * doc/c-i960.texi (i960-Chars): Likewise.
375 * doc/c-ip2k.texi (IP2K-Chars): Likewise.
376 * doc/c-lm32.texi (LM32-Chars): likewise.
377 * doc/c-m32c.texi (M32C-Chars): Likewise.
378 * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
379 * doc/c-m68k.texi (M68K-Chars): Likewise.
380 * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
381 * doc/c-msp430.texi (MSP430-Chars): Likewise.
382 * doc/c-mt.texi (MT-Chars): Likewise.
383 * doc/c-ns32k.texi (NS32K-Chars): Likewise.
384 * doc/c-pj.texi (PJ-Chars): Likewise.
385 * doc/c-ppc.texi (PowerPC-Chars): Likewise.
386 * doc/c-rx.texi (RX-Chars): Likewise.
387 * doc/c-score.texi (SCORE-Chars): Likewise.
388 * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
389 * doc/c-v850.texi (V850-Chars): Likewise.
390 * doc/c-vax.texi (VAX-Chars): Likewise.
391 * doc/c-xc16x.texi (xc16x-Chars): Likewise.
392
393 2011-01-17 Quentin Neill <quentin.neill@amd.com>
394
395 * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
396
397 * doc/c-i386.texi (i386-TBM): New section.
398
399 2011-01-16 H.J. Lu <hongjiu.lu@intel.com>
400
401 * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
402 (disallow_64bit_reloc): This.
403 (md_assemble): Don't check movabs for x32 mode here.
404 (i386_target_format): Updated.
405 (tc_gen_reloc): Check if 64bit relocations are allowed.
406
407 2011-01-15 H.J. Lu <hongjiu.lu@intel.com>
408
409 * config/tc-i386.c (disallow_64bit_disp): New.
410 (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
411 X86_64_ABI/X86_64_X32_ABI.
412 (md_assemble): Don't allow movabs with relocation in x32 mode.
413 (i386_target_format): Updated.
414
415 2011-01-14 H.J. Lu <hongjiu.lu@intel.com>
416
417 * config/tc-i386.c (OPTION_N32): Renamed to ...
418 (OPTION_X32): This.
419 (md_longopts): Replace n32 with x32.
420 (md_parse_option): Updated.
421 (md_show_usage): Likewise.
422
423 * doc/c-i386.texi: Replace --n32 with --x32.
424
425 2011-01-11 Mingjie Xing <mingjie.xing@gmail.com>
426
427 * config/tc-mips.c (mips_ip): Update error messages. Take an
428 unadjusted offset for "+c" argument.
429
430 2011-01-10 Nick Clifton <nickc@redhat.com>
431
432 * config/tc-i386.c (x86_elf_abi): Only define for targets that use
433 it.
434
435 2011-01-10 Nick Clifton <nickc@redhat.com>
436
437 * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
438 part of the file.
439
440 2011-01-10 Nathan Sidwell <nathan@codesourcery.com>
441 Glauber de Oliveira Costa <glommer@gmail.com>
442
443 * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
444 .tlsdescseq directive.
445 * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
446 following a symbol.
447 (s_arm_tls_descseq): New directive.
448 (md_pseudo_table): Add it.
449 (encode_branch): Allow TLS_CALL relocs too.
450 (do_t_blx, do_t_branch23): Use encode_branch.
451 (reloc_names): Add tlsdesc and tlscall.
452 (md_apply_fix): Process tls desc relocations.
453 (tc_gen_reloc): Likewise.
454 (arm_fix_adjustable): Likewise.
455
456 2011-01-07 Quentin Neill <quentin.neill@amd.com>
457
458 * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
459
460 * doc/c-i386.texi (i386-BMI): New section.
461
462 2011-01-06 Paul Koning <ni1d@arrl.net>
463
464 * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
465 references to absolute addresses.
466
467 2011-01-05 DJ Delorie <dj@redhat.com>
468
469 * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
470 instead of an RH_NEG32 one.
471
472 2011-01-05 Jonathan Wakely <jwakely.gcc@gmail.com>
473
474 * doc/c-i386.texi: Clarify --n32.
475
476 2011-01-04 H.J. Lu <hongjiu.lu@intel.com>
477
478 * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
479 integer registers in VEX.vvvv. Check register-only source
480 operand when two source operands are swapped. Properly update
481 destination when two source operands are swapped.
482
483 2011-01-01 H.J. Lu <hongjiu.lu@intel.com>
484
485 * gas.c (parse_args): Update copyright to 2011.
486
487 For older changes see ChangeLog-2010
488 \f
489 Local Variables:
490 mode: change-log
491 left-margin: 8
492 fill-column: 74
493 version-control: never
494 End:
This page took 0.043208 seconds and 5 git commands to generate.