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