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