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