Add x86-64 ILP32 support.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
351f65ca
L
12010-12-30 H.J. Lu <hongjiu.lu@intel.com>
2
3 * config/tc-i386.c (x86_elf_abi): New.
4 (i386_mach): Return bfd_mach_x64_32 for ILP32.
5 (OPTION_N32): Likewise.
6 (md_longopts): Add "n32" for ELF.
7 (md_parse_option): Handle OPTION_N32.
8 (md_show_usage): Add --n32.
9 (i386_target_format): Update and check x86_elf_abi.
10
11 * config/tc-i386.h (ELF_TARGET_FORMAT32): New.
12
13 * doc/as.texinfo: Document --n32.
14 * doc/c-i386.texi: Likewise.
15
a64718d3
DA
162010-12-26 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
17
18 PR gas/11395
19 * config/tc-hppa.c (pa_ip): Set doubleword carry/borrow bit when a
20 doubleword completer or doubleword condition is found in an add/sub
21 instruction. Reject match for 'A'/'S' only if there is no condition
22 and d bit is not set.
23
98675402
RS
242010-12-18 Mingjie Xing <mingjie.xing@gmail.com>
25
26 * config/tc-mips.c (insn_uses_reg): Handle the new flags
27 INSN2_READ_FPR_Z, INSN2_READ_GPR_D and INSN2_READ_GPR_Z.
28 (append_insn): Handle delay-slot filling for the new flags.
29 (validate_mips_insn): Handle the new arguments +a|b|c|z|Z.
30 (mips_ip): Handle the new arguments +a|b|c|z|Z.
31
e6a3fb4b
DD
322010-12-18 DJ Delorie <dj@redhat.com>
33
34 * config/rx-parse.y (SUB): Correct subtraction of immediate
35 pattern.
36
e8ef21bf
DD
372010-12-16 DJ Delorie <dj@redhat.com>
38
39 * config/tc-rx.c (rx_validate_fix_sub): Permit subtraction in more
40 cases.
41 (tc_gen_reloc): Fix handling of subtraction (esp wrt endianness).
42
a1facbec
MR
432010-12-16 Maciej W. Rozycki <macro@codesourcery.com>
44
45 * symbols.c (symbol_clone_if_forward_ref): Call tc_new_dot_label
46 for new fake labels created off the dot special symbol.
47 * config/tc-mips.h (tc_new_dot_label): New macro.
48 (mips_record_label): New prototype.
49 * config/tc-mips.c (my_getExpression): Remove MIPS16 fake label
50 annotation.
51 (s_cons, s_float_cons, s_gpword, s_gpdword): Only clear labels
52 recorded once data expressions have been evaluated.
53 (mips_define_label): Move code to record labels over to...
54 (mips_record_label): ... this new function.
55 * doc/internals.texi: Document tc_new_dot_label.
56
3ae8dd8d
MR
572010-12-10 Maciej W. Rozycki <macro@codesourcery.com>
58
59 * config/tc-mips.h (TC_ADDRESS_BYTES): New macro.
60 (mips_address_bytes): New prototype.
61 * config/tc-mips.c (mips_address_bytes): New function.
62
da7bc628
MR
632010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
64
65 * config/tc-mips.c (mips_ip): Remove dead format specifier code.
66
738f4d98
MR
672010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
68
69 * config/tc-mips.c (file_ase_mips16): Adjust comment.
70 (append_insn): Update file_ase_mips16.
71 (mips_after_parse_args): Don't set file_ase_mips16 here.
72
c7af4273
MR
732010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
74
75 * config/tc-mips.c (macro)
76 <M_MSGSND, M_MSGLD, M_MSGLD_T, M_MSGWAIT, M_MSGWAIT_T>: Remove
77 dedicated return points.
78
d5818fca
MR
792010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
80
81 * config/tc-mips.c (macro) <M_DEXT, M_DINS>: Correct types used
82 for pos and size.
83
842f8b2a
MR
842010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
85
86 * config/tc-mips.c (macro) <ld_st>: Don't load a zero into an
87 auxiliary register when using a signed 16-bit constant offset.
88
34224acf
MR
892010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
90
91 * config/tc-mips.c (mips_ip): Remove lastregno's
92 preinitialization.
93
f9bbfb18
MR
942010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
95
96 * config/tc-mips.c (mips_ip) <'('>: Don't let '4', '5' or '-'
97 as a base register specifier.
98
c4a68bea
MR
992010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
100
101 * config/tc-mips.c (macro) <M_S_DOB>: Fix the placement of code.
102
88320db2
MR
1032010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
104
105 * config/tc-mips.c (mips_ip) <'u'>: Report the value of the LUI
106 argument complained about; reword the message.
107
f01dc953
MR
1082010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
109
110 * config/tc-mips.c (macro)
111 <M_BGTUL_I, M_BGTU_I, M_BLEUL_I, M_BLEU_I>: Fix the constant
112 used to compare against for the always-false/true case.
113
a605d2b3
MR
1142010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
115
116 * config/tc-mips.c (macro): Remove a trailing 0 from NOP
117 requests.
118
bbea7ebc
MR
1192010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
120
121 * config/tc-mips.c (macro): Use EXTRACT_OPERAND to get register
122 numbers.
123
c80c840e
MR
1242010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
125
126 * config/tc-mips.c (macro): Replace 0 with ZERO in macro_build
127 and move_register calls referring to $0.
128
f71d0d44
MR
1292010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
130
131 * config/tc-mips.c (macro, mips_ip): Correct message
132 capitalization.
133
de6d4f05
AM
1342010-12-09 Arnold Metselaar <arnold.metselaar@planet.nl>
135
136 * config/tc-z80.c (md_apply_fix): Rename var to fix shadow warning.
137
90ecf173
MR
1382010-12-09 Maciej W. Rozycki <macro@codesourcery.com>
139
140 * config/tc-mips.c (macro_build, macro, mips_ip, md_apply_fix):
141 Fix formatting.
142
8b9a522f
MF
1432010-12-09 Mike Frysinger <vapier@gentoo.org>
144
145 * .gitignore: New file.
146
cb501641
AM
1472010-12-05 Arnold Metselaar <arnold.metselaar@planet.nl>
148
149 PR gas/12269
150 * config/tc-z80.c (emit_mx, emit_ldxhl): Do not use
151 symbol_get_value_expression on a symbol that may not yet have
152 a value.
153 * testsuite/gas/z80/atend.s: New file, test case for bug 12269,
154 provided by Chris Smith.
155 * testsuite/gas/z80/atend.d: New file, expected results for atend.s.
156 * testsuite/gas/z80/z80.exp: Run new test case.
157
e66a3432
MR
1582010-12-04 Maciej W. Rozycki <macro@codesourcery.com>
159
160 PR gas/12282
161 * expr.c (expr_build_dot): Make a clone of the symbol to return if
162 needed.
163
c969da64
RS
1642010-12-02 Richard Sandiford <richard.sandiford@linaro.org>
165
166 * symbols.c (S_FORCE_RELOC): Return true for indirect functions
167 even if !strict.
168 * expr.c (operand): Don't convert absolute symbols to constants
169 if S_FORCE_RELOC is true.
170 (expr): Only reduce subtractions between different symbols if
171 S_FORCE_RELOC is false for both of them.
172 * write.c (fixup_segment): Don't remove symbols if S_FORCE_RELOC
173 is true for them, regardless of their segment.
174
4a826962
MR
1752010-12-01 Maciej W. Rozycki <macro@codesourcery.com>
176
177 * symbols.h (dot_symbol): New declaration.
178 (dot_symbol_init): New prototype.
179 * symbols.c (dot_symbol): New variable.
180 (symbol_clone): Assert it's not dot_symbol being cloned.
181 (dot_symbol_init): New function.
182 (symbol_clone_if_forward_ref): Create a new temporary symbol
183 when trying to clone dot_symbol.
184 * expr.c (current_location): Refer to dot_symbol instead of
185 making a new temporary symbol.
186 * read.c (read_a_source_file): Update dot_symbol as we go.
187 * as.c (main): Call dot_symbol_init.
188
3df4e177
MR
1892010-12-01 Maciej W. Rozycki <macro@codesourcery.com>
190
191 * symbols.c (symbol_clone_if_forward_ref): Don't limit cloning
192 to expr_section symbols; clone all equated symbols. Clear
193 sy_resolving of the cloned copy.
194 * expr.c (operand): Only clone equated symbols on a final
195 (i.e. non-equated) reference.
196
5f5f22c0
MR
1972010-12-01 Richard Sandiford <rdsandiford@googlemail.com>
198
199 * config/tc-mips.c (md_convert_frag): Remove a call to
200 S_GET_VALUE and use the result of resolve_symbol_value as the
201 value of the symbol processed in MIPS16 relaxation.
202
9203b09a
AM
2032010-11-30 Joel Sherrill <joel.sherrill@oarcorp.com>
204
205 * configure.tgt: Add sparc64-rtems.
206
1e8766d7
AK
2072010-11-25 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
208
209 * config/tc-s390.c (current_cpu): Initialize with latest CPU.
210 (init_default_arch): Default to z/Architecture mode if CPU provides it.
211 Remove the check setting the CPU default.
212
1de34e0a
AM
2132010-11-25 Alan Modra <amodra@gmail.com>
214
215 * po/es.po: Update.
216
7362f76f
AM
2172010-11-25 Alan Modra <amodra@gmail.com>
218
219 PR gas/12264
220 * compress-debug.c: Include config.h first.
221
8611b8fd
MF
2222010-11-24 Mike Frysinger <vapier@gentoo.org>
223
224 * doc/as.texinfo: Refer to and include c-bfin.texi for Blackfin
225 options.
226 * doc/c-bfin.texi: Add markup for use in manpage generation.
227
2d8b84ae
SA
2282010-11-23 Sterling Augustine <sterling@tensilica.com>
229
230 * doc/as.texinfo: Refer to and include c-xtensa.texi for Xtensa
231 options. Move Xtensa options to proper alphabetical location.
232
233 * doc/c-xtensa.texi: Add markup for use in manpage generation.
234
d051516a
NC
2352010-11-23 Mingming Sun <mingm.sun@gmail.com>
236
237 * config/tc-mips.c (mips_cpu_info_table): Move loongson3a after sb1.
238
731caf76
L
2392010-11-23 H.J. Lu <hongjiu.lu@intel.com>
240
d051516a 241 * doc/as.texinfo: Refer to and include c-i386.texi for i386
731caf76
L
242 options.
243
244 * doc/c-i386.texi: Add markup for use in manpage generation.
245
2a633939
JM
2462010-11-22 Joseph Myers <joseph@codesourcery.com>
247
248 * doc/as.texinfo: Refer to or include c-alpha.texi for Alpha
249 options. Refer to or include c-tic6x.texi for C6X options instead
250 of duplicating documentation here.
251 * doc/c-alpha.texi, doc/c-tic6x.texi: Add markup for use in
252 manpage generation.
253
39871c07
AM
2542010-11-19 Alan Modra <amodra@gmail.com>
255
7362f76f 256 PR 2606
39871c07
AM
257 * configure.in: Disable emulations for PE targets.
258 * configure: Regenerate.
259
69b70cfe
RO
2602010-11-18 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
261
262 PR gas/12181
263 * config/obj-elf.c (elf_adjust_symtab) [TE_SOLARIS]: Make sy
264 weak hidden.
265
47e8018d
NC
2662010-11-17 Nick Clifton <nickc@redhat.com>
267
268 * input-file.c (input_file_open): Check for empty input files.
269 (input_file_get): Check for end of file before reading any more
270 data.
271 (input_file_give_next_buffer): Likewise.
272
bd937d21
L
2732010-11-15 H.J. Lu <hongjiu.lu@intel.com>
274
275 * config/obj-elf.c (elf_process_stab): Mark parameters as
276 ATTRIBUTE_UNUSED.
277
bc6b4acc
RO
2782010-11-15 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
279
280 * config/obj-elf.c (elf_generate_asm_lineno): New function.
281 (elf_process_stab): New function.
282 (elf_format_ops): Always use them as generate_asm_lineno,
283 process_stab members.
284
251665fc
MGD
2852010-11-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
286
287 PR gas/12198
288 * config/tc-arm.c (arm_arch_v6m_only): New variable.
289 (aeabi_set_public_attributes): Ensure we only set the Operating System
290 Extension when we are on an M-profile core.
291
e391c024
RS
2922010-11-13 Richard Sandiford <rdsandiford@googlemail.com>
293
294 * config/tc-mips.c (macro_build): Remove gas_assert from 'o' case.
295 Use a restricted gas_assert for 'i' and 'j'.
296
fd503541
NC
2972010-11-11 Mingming Sun <mingm.sun@gmail.com>
298
299 * config/tc-mips.c (mips_cpu_info_table): Add loongson3a in MIPS 64.
300 * doc/c-mips.texi (MIPS cpu): Add loongson3a.
301
12d6b0b7
RS
3022010-11-10 Richard Sandiford <richard.sandiford@linaro.org>
303
304 * config/tc-arm.c (do_t_branch): Treat (PLT) branches as wide.
305
d75d1c9f
NC
3062010-11-05 Nick Clifton <nickc@redhat.com>
307
308 * config/tc-cr16.c (getprocreg_image): Fix typo MAX_PREG ->
309 MAX_REG.
310 (getprocregp_image): Likewise.
311
2ee0aedf
TG
3122010-11-05 Tristan Gingold <gingold@adacore.com>
313
314 * po/gas.pot: Regenerate
315 * po/POTFILES.in: Regenerate
316
44f45767
TG
3172010-11-05 Tristan Gingold <gingold@adacore.com>
318
319 * NEWS: Add marker for 2.21.
320
b851162a
DK
3212010-11-05 Dave Korn <dave.korn.cygwin@gmail.com>
322
7cdfa318 323 PR gas/12166
b851162a
DK
324 * config/obj-coff.c (weak_altname2name): Don't infer from the presence
325 of a period that the symbol has been already uniquify-d.
326 (weak_uniquify): Don't worry that the symbol might have been already
327 uniquify-d.
328
cef4f754
AM
3292010-11-04 Alan Modra <amodra@gmail.com>
330
331 * config/tc-ppc.c (nop_limit): New var.
332 (OPTION_NOPS): Define.
333 (md_longopts): Add --nops.
334 (md_parse_option): Handle it.
335 (md_show_usage): Publish.
336 (ppc_handle_align): Pad with a branch followed by nops if more
337 than nop_limit nops.
338
27dee630
L
3392010-11-03 H.J. Lu <hongjiu.lu@intel.com>
340
341 PR gas/12186
342 * config/tc-i386-intel.c (i386_intel_fold): Properly fold
343 _GLOBAL_OFFSET_TABLE_.
344
87779176
JM
3452010-11-02 Joseph Myers <joseph@codesourcery.com>
346
347 * config/tc-tic6x.c (OPTION_MPID, OPTION_MPIC, OPTION_MNO_PIC):
348 New enum values.
349 (md_longopts): Add options mpid, mpic and mno-pic.
350 (tic6x_pid_type, tic6x_pid, tic6x_pic, tic6x_pid_type_table,
351 tic6x_pid_types, tic6x_use_pid): New.
352 (md_parse_option): Handle new options.
353 (md_show_usage): Output help text for new options.
354 (tic6x_set_attributes): Set PID and PIC attributes.
355 * doc/as.texinfo: Document -mpid=, -mpic and -mno-pic.
356 * doc/c-tic6x.texi (TIC6X Options): Likewise.
357
4614d845
MR
3582010-11-01 Maciej W. Rozycki <macro@linux-mips.org>
359
360 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Use the offset
361 reloc supplied.
362 (mips_ip)['o']: Initialise offset_reloc.
363
3cbd1c06
JM
3642010-10-29 Joseph Myers <joseph@codesourcery.com>
365
366 * doc/c-tic6x.texi (TIC6X Directives): Mention
367 Tag_ABI_compatibility.
368
4a114e3e
L
3692010-10-29 H.J. Lu <hongjiu.lu@intel.com>
370
371 * write.c (compress_debug): Optimize section flags check.
372
b5593623
JM
3732010-10-29 Bernd Schmidt <bernds@codesourcery.com>
374 Joseph Myers <joseph@codesourcery.com>
375
376 * config/tc-tic6x.c (OPTION_MDSBT, OPTION_MNO_DSBT): New enum
377 values.
378 (md_longopts): Add mdsbt and mno-dsbt.
379 (tic6x_dsbt): New static variable.
380 (md_parse_option): Handle OPTION_MDSBT and OPTION_MNO_DSBT.
381 (md_show_usage): Output help text for -mdsbt and -mno-dsbt.
382 (TAG): Add comma at the end.
383 (tic6x_set_attributes): Set Tag_ABI_DSBT.
384 * doc/as.texinfo: Document -mdsbt and -mno-dsbt.
385 * doc/c-tic6x.texi (TIC6X Options): Likewise.
386 (TIC6X Directives): Mention Tag_ABI_DSBT.
387
9160ea82
AM
3882010-10-28 Matthias Klose <doko@ubuntu.com>
389
390 * doc/as.texinfo: Add directory section for info document.
391
be7a250d
AK
3922010-10-28 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
393
394 * config/tc-s390.c (md_begin): Only add to hash table if cpu and
395 mode mask fit.
396
c2ce945a
AM
3972010-10-28 Alan Modra <amodra@gmail.com>
398
399 * config/tc-d30v.c (d30v_cons_align): Don't align .eh_frame.
400
6309d591
AM
4012010-10-26 Alan Modra <amodra@gmail.com>
402
403 * config/obj-coff.c (coff_format_ops): Fix typo.
404
3b4f7931
RS
4052010-10-25 Richard Sandiford <rdsandiford@googlemail.com>
406
407 * config/tc-mips.c (macro2): Delete.
408
c0621d88
NS
4092010-10-25 Nathan Sidwell <nathan@codesourcery.com>
410
411 * config/tc-tic6x.c: Add attribution.
412
645ea3ea
AM
4132010-10-25 Mark Mitchell <mark@codesourcery.com>
414
415 * obj.h (struct format_ops): Add adjust_symtab.
416 * config/obj-multi.h (obj_adjust_symtab): Define.
417 * config/obj-aout.c (aout_format_ops): Init new field.
418 * config/obj-coff.c (coff_format_ops): Likewise.
419 * config/obj-ecoff.c (ecoff_format_ops): Likewise.
420 * config/obj-elf.c (elf_format_ops): Likewise.
421
e5940dff
AM
4222010-10-25 Alan Modra <amodra@gmail.com>
423
424 PR gas/12049
425 * write.c (relax_frag): Don't allow forward branches to temporarily
426 becomde backward branches.
427
709001e9
MM
4282010-10-23 Mark Mitchell <mark@codesourcery.com>
429
430 * config/obj-elf.c (elf_adjust_symtab): New. Move group section
431 processing here from elf_frob_file. Ensure that group signature
432 symbols have the name of the group.
433 (elf_frob_file): Move group section processing to
434 elf_adjust_symtab.
435 * config/obj-elf.h (elf_adjust_symtab): Declare.
436 (obj_adjust_symtab): Define.
437 * config/tc-arm.c (arm_adjust_symtab): Call elf_adjust_symtab.
438
1360ba76
RO
4392010-10-22 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
440
441 * config/tc-sparc.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define as
442 elf32-sparc-sol2.
443 (ELF64_TARGET_FORMAT): Define as elf64-sparc-sol2.
444
75fa6dc1
JM
4452010-10-21 Joseph Myers <joseph@codesourcery.com>
446
447 * config/tc-tic6x.c (tic6x_arch_attribute, tic6x_arches,
448 md_assemble, tic6x_set_attributes): Update for attribute renaming.
449 * doc/c-tic6x.texi: Update for attribute renaming.
450
20f5cfbd
AM
4512010-10-19 Alan Modra <amodra@gmail.com>
452
453 * write.c (relax_segment): Correct address on frag added to stop
454 leb128/align frags bouncing.
455
e35a414d
AM
4562010-10-19 Alan Modra <amodra@gmail.com>
457
458 PR gas/12049
459 * frags.h (struct frag): Add "region" field.
460 * write.c (relax_frag): Don't add "stretch" to forward reference
461 target if there is an intervening org or align.
462 (relax_segment): Set region.
463
0970e49e
MR
4642010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
465
466 * config/tc-mips.c (macro)[ldd_std]: Fix the relaxation variant
467 for absolute addressing.
468
704897fb
MR
4692010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
470
471 * config/tc-mips.c (macro)[M_LD_OB, M_SD_OB]: Handle 64-bit ABIs.
472
998b3c36
MR
4732010-10-18 Maciej W. Rozycki <macro@linux-mips.org>
474
475 * config/tc-mips.c (mips_pseudo_table): Add "sbss".
476 (s_change_sec): Handle it.
477
e1791cb8
MF
4782010-10-15 Mike Frysinger <vapier@gentoo.org>
479
480 * config/bfin-parse.y (BYTEOP2M): Call BYTEOP2M().
481
56ffb741
L
4822010-10-14 H.J. Lu <hongjiu.lu@intel.com>
483
484 * config/tc-i386.c (match_template): Check checkregsize
485 instead of w for register size check.
486
f8a5c266
L
4872010-10-14 H.J. Lu <hongjiu.lu@intel.com>
488
489 * config/tc-i386.c (_i386_insn): Add disp32_encoding.
490 (md_assemble): Don't call optimize_disp if disp32_encoding is
491 set.
492 (parse_insn): Support .d32 to force 32bit displacement.
493 (output_branch): Use BIG if disp32_encoding is set.
494
495 * doc/c-i386.texi: Document .d32 encoding suffix.
496
0bc37e5b 4972010-10-11 Steve Kilbane <steve.kilbane@analog.com>
65646555
MF
498
499 * config/bfin-lex.l (FLAGS): New state.
500 (X, Z, S, M, T): Require FLAGS state.
501 ("(", ")"): Start/stop FLAGS state.
502
0bc37e5b 5032010-10-11 David Gibson <david.gibson@analog.com>
56640434
MF
504
505 * config/bfin-aux.h (bfin_loop_attempt_create_label): New prototype.
506 * config/bfin-parse.y (LOOP_BEGIN, LOOP_END): Handle numeric labels.
507 * config/tc-bfin.c (bfin_loop_attempt_create_label): New funtion.
508
0bc37e5b 5092010-10-11 David Gibson <david.gibson@analog.com>
71ef6f79
MF
510
511 * config/tc-bfin.c (bfin_gen_loop): Check symbol before removing.
512
9ccb8af9
AM
5132010-10-08 Pierre Muller <muller@ics.u-strasbg.fr>
514
515 Fix build with -DDEBUG=7
516 * config/obj-coff.c (s_get_name, symbol_dump): Add prototypes.
517
5d4c71e1
BS
5182010-10-07 Bernd Schmidt <bernds@codesourcery.com>
519
520 * config/tc-tic6x.c (tic6x_try_encode): Correct encoding of fstg field
521 in SPKERNEL instructions.
522
9ae92b05
NS
5232010-10-06 Nathan Sidwell <nathan@codesourcery.com>
524
525 * config/tc-arm.c (encode_branch): Remove superfluous braces.
526 (do_t_branch): Move reloc setting to end of routine.
527
d954098f
DD
5282010-10-04 David Daney <ddaney@caviumnetworks.com>
529
530 * config/tc-mips.c (mips_fix_cn63xxp1): New variable.
531 (mips_ip): Add errata work around when mips_fix_cn63xxp1 set.
532 (OPTION_FIX_CN63XXP1, OPTION_NO_FIX_CN63XXP1): New enum options
533 enumerations.
534 (md_longopts): Add options for -mfix-cn63xxp1 and -mno-fix-cn63xxp1.
535 (md_parse_option): Handle OPTION_FIX_CN63XXP1 and
536 OPTION_NO_FIX_CN63XXP1.
537 (md_show_usage): Add documentation for -mfix-cn63xxp1.
538 * doc/c-mips.texi (-mfix-cn63xxp1, -mno-fix-cn63xxp1): Document
539 the new options.
540
bb73df25
BS
5412010-09-29 Bernd Schmidt <bernds@codesourcery.com>
542
543 * gas/tic6x/insns-bad-1.s: Remove test for readonly tscl.
544 * gas/tic6x/insns-bad-1.l: Likewise.
545 * gas/tic6x/insns-c674x.d: Add test for writeable tscl.
546 * gas/tic6x/insns-c674x.s: Likewise.
547
1e0f6894
AM
5482010-09-29 Alan Modra <amodra@gmail.com>
549
550 * expr.c (expr): Correct returned segment value.
551
3cac54d2
RW
5522010-09-27 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
553
554 * configure: Regenerate.
555
43bb514a
BS
5562010-09-27 Bernd Schmidt <bernds@codesourcery.com>
557
558 * config/tc-tic6x.c (tic6x_fix_adjustable): New function.
559 * config/tc-tic6x.h (tic6x_fix_adjustable): Declare.
560 (tc_fix_adjustable): New macro.
561
d9aee5d7
AK
5622010-09-27 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
563
564 * config/tc-s390.c: (md_parse_option): New option -march=z196.
565 * doc/c-s390.texi: Document new option.
566
6844b2c2
MGD
5672010-09-27 Tejas Belagod <tejas.belagod@arm.com>
568
569 * config/tc-arm.c (do_neon_ldr_str): Deprecate ARM-mode PC-relative
570 VSTR, issue an error in THUMB mode.
571
90ec0d68
MGD
5722010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
573
574 * config/tc-arm.c (arm_ext_virt): New variable.
575 (arm_reg_type): Add REG_TYPE_RNB for banked registers.
576 (reg_entry): Allow registers to be larger than a byte.
577 (reg_alias): Fix type warning.
578 (parse_operands): Parse banked registers when appropriate.
579 (do_mrs): Add support for Virtualization Extensions.
580 (do_hvc): New function.
581 (do_t_mrs): Add support for Virtualization Extensions.
582 (do_t_msr): Likewise.
583 (do_t_hvc): New function.
584 (SPLRBANK): New define.
585 (reg_names): Add banked registers.
586 (insns): Add support for Virtualization Extensions.
587 (md_apply_fixup): Likewise.
588 (arm_cpus): -mcpu=cortex-a15 implies the Virtualization Extensions.
589 (arm_extensions): Add 'virt' extension.
590 (aeabi_set_public_attributes): Add support for Virtualization
591 Extensions.
592 * doc/c-arm.texi: Document 'virt' extension.
593
eea54501
MGD
5942010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
595
596 * config/tc-arm.c (arm_ext_adiv): New variable.
597 (do_div): New function.
598 (insns): Accept UDIV and SDIV in ARM state.
599 (arm_cpus): The cortex-a15 option has all current v7-A extensions.
600 (arm_extensions): Add 'idiv' extension.
601 (aeabi_set_public_attributes): Update Tag_DIV_use values for the
602 Integer Divide extension.
603 * doc/c-arm.texi: Document the idiv extension.
604
b2a5fbdc
MGD
6052010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
606
607 * config/tc-arm.c (arm_ext_v6m): New variable.
608 (arm_ext_m): Add support for OS extension.
609 (arm_ext_os): New variable.
610 (do_t_swi): In v6-M ensure we have the OS extension.
1e0f6894 611 (arm_cpus): The cortex-m1 and cortex-m0 options have the OS
b2a5fbdc
MGD
612 extension by default.
613 (arm_archs): Add armv6s-m.
614 (arm_extensions): Add 'os' extension.
615 (cpu_arch_ver): Add support for v6S-M.
616 * doc/c-arm.texi: Document the OS Extension, and v6-m and v6s-m
617 architecture options.
618
f4c65163
MGD
6192010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
620
621 * config/tc-arm.c (arm_ext_v6z): Remove.
622 (arm_ext_sec): New variable.
623 (do_t_smc): In Thumb state SMC requires v7-A.
624 (insns): Make SMC depend on Security Extensions.
625 (arm_cpus): All -mcpu=cortex-a* options have the Security Extensions.
626 (arm_extensions): Add 'sec' extension.
627 (cpu_arch_ver): Reorder.
628 (aeabi_set_public_attributes): Emit Tag_Virtualization_use as
629 appropriate.
630 * doc/c-arm.texi: Document Security Extensions.
631
60e5ef9f
MGD
6322010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
633
634 * config/tc-arm.c (arm_ext_mp): Add.
635 (do_pld): Update comment.
636 (insns): Add support for pldw.
637 (arm_cpus): Update cortex-a5, cortex-a9, and cortex-a15 to support
638 MP extension.
639 (arm_extensions): Add 'mp' extension.
640 (aeabi_set_public_attributes): Emit correct build attribute when
641 MP extension is enabled.
642 * doc/c-arm.texi: Update for MP extensions.
643
69133863
MGD
6442010-09-23 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
645
646 * config/tc-arm.c (md_pseduo_table): Add .arch_extension directive.
647 (arm_option_extension_value_table): Add.
648 (arm_extensions): Change type.
649 (arm_option_cpu_table): Rename...
650 (arm_option_fpu_table): ...to this.
651 (arm_fpus): Change type.
1e0f6894 652 (arm_parse_extension): Enforce alphabetical order. Allow
69133863
MGD
653 extensions to be removed.
654 (arm_parse_arch): Allow extensions to be specified with -march.
655 (s_arm_arch_extension): Add.
656 (s_arm_fpu): Update for type changes.
657 * doc/c-arm.texi: Document changes to infrastructure.
658
57b3551e
AM
6592010-09-23 Alan Modra <amodra@gmail.com>
660
661 * config/tc-mn10300.c (tc_gen_reloc): Replace absolute symbols
662 with the absolute section symbol.
663
f9e32221
MF
6642010-09-22 Mike Frysinger <vapier@gentoo.org>
665
666 * config/bfin-parse.y: Fix typo in BYTEOP16P comment.
667
db3b8e53
MF
6682010-09-22 Robin Getz <robin.getz@analog.com>
669
670 * config/bfin-parse.y (is_store): New function.
671 (gen_multi_instr_1): Check parallel slots for store insns.
672
9d2eed06
MF
6732010-09-22 Robin Getz <robin.getz@analog.com>
674
675 * config/bfin-defs.h (IS_EMUDAT): New define.
676 * config/bfin-parse.y: Accept EMUDAT for any register move.
677
a2c28b80
MF
6782010-09-22 Robin Getz <robin.getz@analog.com>
679
680 * config/bfin-parse.y: Improve error messages.
681
a01eda85
MF
6822010-09-22 Robin Getz <robin.getz@analog.com>
683
684 * config/bfin-parse.y (DBG): Fix regno encoding.
685 (DBGCMPLX): Likewise.
686
efda0242
MF
6872010-09-22 Robin Getz <robin.getz@analog.com>
688
689 * config/bfin-lex.l: Accept multibyte chars in symbol names.
690
22215ae0
MF
6912010-09-22 Robin Getz <robin.getz@analog.com>
692
693 * config/bfin-defs.h (statusflags): Add AC0_COPY, V_COPY, and RND_MOD.
694 * config/bfin-lex.l: Tokenize AC0_COPY, V_COPY, and RND_MOD.
695
73a63ccf
MF
6962010-09-22 Mike Frysinger <vapier@gentoo.org>
697
698 * config/bfin-aux.h (bfin_gen_pseudochr): New prototype.
699 * config/tc-bfin.c (bfin_gen_pseudochr): New function.
700 * config/bfin-parse.y: Call bfin_gen_pseudochr for OUTC tokens.
701
1b182c3c
MF
7022010-09-22 Mike Frysinger <vapier@gentoo.org>
703
704 * config/bfin-lex.l (abort): Accept case-insensitive abort insn.
705 * config/bfin-parse.y (ABORT): Handle the ABORT token.
706
30208012
MF
7072010-09-22 Mike Frysinger <vapier@gentoo.org>
708
709 * config/tc-bfin.c (bfin_cpus[]): Add 0.2 for bf512/bf514/bf516/bf518.
710
6e38d384
MF
7112010-09-22 Mike Frysinger <vapier@gentoo.org>
712
713 * doc/c-bfin.texi (-mcpu): Add bf592.
714 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF592.
715 (bfin_cpus[]): Add 0.0/0.1 for bf592.
716
7286ec15
MF
7172010-09-22 Mike Frysinger <vapier@gentoo.org>
718
719 * config/tc-bfin.c (comment_chars): Add #.
720
4ff9b924
MGD
7212010-09-20 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
722
723 * config/tc-arm.c (arm_cpus): Correct canonical names for Cortex CPUs.
724
bc1bc43f
RH
7252010-09-20 Richard Henderson <rth@redhat.com>
726
727 * config/tc-alpha.c (tc_gen_reloc): Remove hack around
728 bfd_perform_reloc for OBJ_ELF.
729
eab4f823
MGD
7302010-09-17 Tejas Belagod <tejas.belagod@arm.com>
731
732 * config/tc-arm.c (do_t_ldmstm): Add logic to handle single-register
733 list for ldm/stm.
734
59b42a0d
MGD
7352010-09-17 Tejas Belagod <tejas.belagod@arm.com>
736
737 * config/tc-arm.c (parse_psr): Add condition for matching "APSR" on
738 non-M-arch cpus.
739 (psrs): Add entry for PSR flags, g, nzcvq, nzcvqg.
740
db472d6f
MGD
7412010-09-17 Tejas Belagod <tejas.belagod@arm.com>
742
743 * config/tc-arm.c (insns): Change MRC entry to accept APSR_RR instead
744 of just RR.
745
8f3bae45
AM
7462010-09-17 Andrew Burgess <aburgess@broadcom.com>
747
748 PR gas/12011
749 * config/obj-elf.c (obj_elf_parse_section_letters): Correct test
750 for error return from md_elf_section_letter.
751 * config/tc-alpha.c (alpha_elf_section_letter): Correct error message.
752 * config/tc-i386.c (x86_64_section_letter): Likewise.
753 * config/tc-ia64.c (ia64_elf_section_letter): Likewise.
754 * config/tc-mep.c (mep_elf_section_letter): Likewise.
755
2d7f4929
KT
7562010-09-15 Kai Tietz <kai.tietz@onevision.com>
757
bea2c1d7
KT
758 * config/obj-coff-seh.c (seh_validate_seg): New funtion.
759 (obj_coff_seh_endproc): Add check for segment.
760 (obj_coff_seh_endprologue): Likewise.
761 (obj_coff_seh_pushreg): Likewise.
762 (obj_coff_seh_pushframe): Likewise.
763 (obj_coff_seh_save): Likewise.
764 (obj_coff_seh_setframe): Likewise.
765
766 * config/obj-coff-seh.h (seh_context): New member code_seg.
767 * config/obj-coff-seh.c: Implementing xdata/pdata section cloning
768 for link-once code-segment.
2d7f4929 769
7ef07ba0
JZ
7702010-09-14 Jie Zhang <jie@codesourcery.com>
771
772 * doc/c-arm.texi: Document -mcpu=cortex-m4.
773
04251de0
L
7742010-09-09 H.J. Lu <hongjiu.lu@intel.com>
775
776 * config/tc-i386.c (build_vex_prefix): Check VEXW1 for 2-byte
777 VEX prefix.
778
8a0344f6
JM
7792010-09-09 Joseph Myers <joseph@codesourcery.com>
780
781 * doc/c-tic6x.texi (.c6xabi_attribute): Document directive.
782
dbb1f804
MGD
7832010-09-09 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
784
785 * config/tc-arm.c (arm_cpus): Add cortex-a15 entry.
786 * doc/c-arm.texi: Document -mcpu=cortex-a15.
787
33f0727f
NC
7882010-09-09 Gunther Nikl <gnikl@users.sourceforge.net>
789
790 * gas/config/tc-m68k.c (tc_gen_reloc): Handle references to defined
791 weak symbols first if generating an a.out object.
792
40f246e3
NC
7932010-09-09 Tejas Belagod <tejas.belagod@arm.com>
794
795 * config/tc-arm.c (md_apply_fix): Check if widened add, sub are
796 flag-setting and handle accordingly.
797
95b75c01
NC
7982010-09-09 Nick Clifton <nickc@redhat.com>
799
800 PR gas/11972
801 * config/tc-arm.c (parse_big_immediate): Allow for bignums being
802 extended to the size of a .octa.
803
15735687
NS
8042010-09-08 Julian Brown <julian@codesourcery.com>
805
806 * config/tc-arm.c (create_neon_reg_alias): Deal with case
807 sensitivity.
808
ab3e2b4a
NC
8092010-09-08 Nick Clifton <nickc@redhat.com>
810
811 PR gas/11973
812 * config/tc-mn10300.c (md_convert_frag): Zero out top two bytes of
813 long call instruction's displacement.
814
13f864ae
L
8152010-09-03 H.J. Lu <hongjiu.lu@intel.com>
816
817 PR gas/11974
818 * config/tc-i386.c (i386_finalize_immediate): Check flag_code
819 instead of use_rela_relocations for 64bit.
820
3251495b
RH
8212010-09-02 Richard Henderson <rth@redhat.com>
822
823 * dw2gencfi.c (TC_DWARF2_EMIT_OFFSET): Provide default.
824 (output_fde): Use it. Make sure to fully init exp before using it.
825
6e0973c0
KT
8262010-08-31 Kai Tietz <kai.tietz@onevision.com>
827
828 * config/obj-coff-seh.c (obj_coff_seh_save): Correct comparison.
829 (obj_coff_seh_stackalloc): Likewise.
830
91952a06
AM
8312010-08-31 Alan Modra <amodra@gmail.com>
832
833 * config/obj-elf.c (obj_elf_init_stab_section): Fix assertion.
834
681418c2
RH
8352010-08-30 Richard Henderson <rth@redhat.com>
836
837 * config/obj-coff-seh.c: Rewrite the entire file.
838 (symtab, symptr, reltab, relcount, relsize): Remove.
839 (seh_ctx_root, seh_ctx): Remove.
840 (xdata_seg, xdata_subseg, pdata_seg): New.
841 (switch_xdata, switch_pdata): New.
842 (verify_context, verify_context_and_target, skip_whitespace_and_comma):
843 New parsing functions. Rewrite all parsing functions to use them.
844 (obj_coff_seh_32): Fix != arm thinko.
845 (obj_coff_seh_handler): For x64, don't accept handler pointer here,
846 only flags.
847 (obj_coff_seh_handlerdata): New.
848 (do_seh_endproc): Split out of ...
849 (obj_coff_seh_endproc): ... here.
850 (obj_coff_seh_proc): Use it, if needed.
851 (seh_x64_make_prologue_element): Use XRESIZEVEC, symbol_temp_new_now.
852 (seh_x64_read_reg): Remove mm_regs alternative. Tidy integer reg
853 alternatives. Don't slurp commas.
854 (seh_read_offset): Remove.
855 (obj_coff_seh_pushframe): Split out from obj_coff_seh_push.
856 (obj_coff_seh_scope): Remove.
857 (obj_coff_seh_save): Decide UWOP_SAVE_* vs _FAR immediately.
858 (obj_coff_seh_stackalloc): Decide _SMALL vs _LARGE immediately.
859 (out_one, out_two, out_four): New.
860 (seh_x64_write_prologue_data, seh_x64_size_prologue_data,
861 seh_x64_write_function_xdata, write_function_xdata): Rewrite
862 from seh_x64_write_xdata, seh_needed_unwind_info, seh_store_elm_data,
863 seh_getelm_data_size, seh_getsize_of_unwind_entry,
864 seh_make_unwind_entry, seh_getsize_unwind_data, and
865 seh_create_unwind_data.
866 (seh_arm_write_function_pdata): Rewrite from seh_arm_create_pdata.
867 (write_function_pdata): Rewrite from make_function_entry_pdata.
868 (seh_write_text_eh_data, make_function_entry_pdata,
869 seh_arm_create_pdata, seh_arm_write_pdata, seh_reloc, save_relocs,
870 seh_symbol_init, seh_symbol, quick_section, seh_emit_rva,
871 seh_emit_long, seh_make_globl, seh_make_section2, seh_make_section,
872 seh_make_xlbl_name, make_seh_text_label, seh_fill_pcsyms,
873 seh_needed_unwind_info, seh_store_elm_data, seh_getelm_data_size,
874 seh_getsize_of_unwind_entry, seh_make_unwind_entry,
875 seh_getsize_unwind_data, seh_create_unwind_data,
876 seh_make_function_entry_xdata, seh_x64_makescope_elem): Remove.
877 * config/obj-coff-seh.h (SEH_CMDS): Remove seh_savemm, seh_scope.
878 Add seh_handlerdata. Adjust function/what arguments for
879 seh_savereg, seh_pushframe, seh_stackalloc.
880 (struct seh_prologue_element): Adjust members to closer match
881 the elements of the UNWIND_CODE structure.
882 (struct seh_scope_elem): Remove.
883 (struct seh_context): Replace char* members with symbolS or
884 expressionS as appropriate. Sort members by ARM/x64 applicability.
885 Remove obsolete stuff wrt direct symbol and reloc manipulation.
886
5fec8599
L
8872010-08-25 Alan Modra <amodra@gmail.com>
888
889 * NEWS: Mention ampersand in macro change.
890
6f034178
AM
8912010-08-25 Gunther Nikl <gnikl@users.sourceforge.net>
892
893 * configure.tgt (m68k-*-aout): Change to bfd_gas=yes.
894
4ad7ac30
AM
8952010-08-25 Alan Modra <amodra@gmail.com>
896
897 * config/tc-d10v.c (do_assemble): Correctly detect overflow of
898 "name" buffer.
899 * config/tc-m68hc11.c (md_assemble): Likewise.
900 * config/tc-microblaze.c (md_assemble): Likewise. Correct cast
901 of is_end_of_line index.
902
dc5ec521
JZ
9032010-08-25 Jie Zhang <jie@codesourcery.com>
904
905 * config/tc-arm.c (encode_arm_addr_mode_2): Fix comment.
906
23a10334
JZ
9072010-08-25 Jie Zhang <jie@codesourcery.com>
908
909 * config/tc-arm.c (encode_arm_addr_mode_2): Fix
910 BAD_PC_ADDRESSING condition.
911
f0cd0667
MR
9122010-08-20 Maciej W. Rozycki <macro@codesourcery.com>
913
914 * doc/c-arm.texi (ARM Options): Document -mfpu=fp4-sp-d16.
915
43f3e2ee
L
9162010-08-19 H.J. Lu <hongjiu.lu@intel.com>
917
918 * config/tc-i386.c (VEX_check_operands): Fix a typo in comments.
919
9f2670f2
L
9202010-08-18 H.J. Lu <hongjiu.lu@intel.com>
921
922 * config/tc-i386.c (build_modrm_byte): Check i.imm_operands
923 instead of VEXXDS.
924
d1f52f54
AM
9252010-08-18 Alan Modra <amodra@gmail.com>
926
927 * macro.c (sub_actual): Add back ampersand suffix when no
928 substitution.
929 (macro_expand_body): Correct comment.
930
01642c12
RM
9312010-08-17 Roland McGrath <roland@redhat.com>
932
933 * config/obj-elf.c (obj_elf_parse_section_letters): Take new
934 boolean result parameter CLONE; set it if '?' flag letter seen.
935 (obj_elf_section): Update caller. Handle that flag by copying
936 the LINKONCE and GROUP_NAME state from NOW_SEG.
937 * doc/as.texinfo (Section): Document the ? flag.
938
955974c6
CC
9392010-08-09 Cary Coutant <ccoutant@google.com>
940
941 * as.c (show_usage): Don't list --compress-debug-sections if zlib not
942 installed.
943 (main): Warn if --compress-debug-sections requested and zlib not
944 installed.
945 * doc/as.texinfo: Add --compress-debug-sections,
946 --nocompress-debug-sections.
947
49021df2
L
9482010-08-06 H.J. Lu <hongjiu.lu@intel.com>
949
950 * config/tc-i386.c (set_cpu_arch): Re-indent.
951 (md_parse_option): Likewise.
952
22109423
L
9532010-08-06 Quentin Neill <quentin.neill@amd.com>
954
955 * config/tc-i386.c (arch_entry): Add negated bit to
956 disambiguate flag names starting with "no".
957 (cpu_arch): Add negated bit definitions. Add
958 ".nop" CPU extension.
959 (i386_align_code): Use new .cpunop bit to decide
960 when to generate alignment using nops.
961 (set_cpu_arch): Use negated bit instead to decide
962 when to use cpu_flags or vs. cpu_flags_and_not.
963 (md_parse_option): Likewise.
964
01559ecc
L
9652010-08-04 H.J. Lu <hongjiu.lu@intel.com>
966
967 * config/tc-i386.c (match_template): Move the first i.error
968 out of the loop.
969
b96282be
AM
9702010-08-04 Alan Modra <amodra@gmail.com>
971
972 * configure.tgt (m32c): Set endian=little.
973 * config/tc-m32c.h (TARGET_BYTES_BIG_ENDIAN): Define as 0.
974 * config/tc-m32c.c (md_number_to_chars): Revert last change.
975
1222b291
TG
9762010-08-03 Tristan Gingold <gingold@adacore.com>
977
978 * makefile.vms (OBJS): Add Add compress-debug.c.
979
e4d9f078
AM
9802010-08-03 Alan Modra <amodra@gmail.com>
981
982 * config/tc-d10v.h (TARGET_BYTES_BIG_ENDIAN): Define as 1.
983 * config/tc-m32c.c (md_number_to_chars): Call bigendian
984 form of number_to_chars, not littleendian.
985
69da848e
AM
9862010-08-02 Alan Modra <amodra@gmail.com>
987
988 * config/tc-d30v.c (d30v_cons_align): Don't align constants
989 in debug sections.
990
93d90f46
AM
9912010-08-02 Alan Modra <amodra@gmail.com>
992
993 PR gas/11867
994 * expr.c (operand <'-' and '~'>): Widen bignums.
995 (operand <'!'>): Correct bignum result and convert to O_constant.
996 * read.c (emit_expr): Don't assert on .byte bignum. Don't display
997 bignum truncated warning for sign extended bignums.
998
cd94c7fb
AM
9992010-08-02 Alan Modra <amodra@gmail.com>
1000
1001 * config/tc-v850.c (md_assemble): Always pass format string to
1002 as_warn.
1003 (md_apply_fix): Similarly for as_warn_where.
1004
f09c1772
L
10052010-07-29 H.J. Lu <hongjiu.lu@intel.com>
1006
1007 * config/tc-i386-intel.c: Reformat.
1008
cc9edbf3
AM
10092010-07-29 Alan Modra <amodra@gmail.com>
1010
1011 * config/tc-ppc.c (ppc_fix_adjustable): Add got reloc types used
1012 in large toc code.
1013
25313d6a
AM
10142010-07-28 Alan Modra <amodra@gmail.com>
1015
1016 PR gas/11841
1017 * symbols.c (symbol_clone): Correct typo in previous patch.
1018
9d75b288
AM
10192010-07-28 Alan Modra <amodra@gmail.com>
1020
1021 PR gas/11841
1022 * symbols.c (symbol_clone): Clear BSF_SECTION_SYM flag.
1023
5a938047
AM
10242010-07-28 Alan Modra <amodra@gmail.com>
1025
1026 * config/tc-ppc.c (md_assemble): Don't attempt to print NUL in
1027 syntax error message.
1028
03ea81db
MR
10292010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
1030
1031 * config/tc-mips.c (mips16_macro_build): Pass "args" by
1032 reference rather than value.
1033 (macro_build): Update accordingly.
1034
10352010-07-27 Maciej W. Rozycki <macro@codesourcery.com>
8680f6e1
MR
1036
1037 * config/tc-mips.c (mips_ip): Use symbol_temp_new_now to create
1038 a fake label.
1039
d3fca0b5
MR
10402010-07-24 Maciej W. Rozycki <macro@codesourcery.com>
1041
1042 * config/tc-mips.c (macro)[M_JAL_1, M_JAL_2]: Handle the JALR
1043 delay slot in the noreorder mode with the o32 ABI.
1044
1cd986c5
NC
10452010-07-23 Naveen.H.S <naveen.S@kpitcummins.com>
1046 Ina Pandit <ina.pandit@kpitcummins.com>
1047
1048 * config/tc-v850.c: Update processor_mask.
1049 (reg_name): Update the structure to use processors field.
1050 (md_relax_table): Define SUBYPTE_COND_9_22, SUBYPTE_SA_9_22,
1051 SUBYPTE_UNCOND_9_22, SUBYPTE_COND_9_22_32, SUBYPTE_SA_9_22_32,
1052 SUBYPTE_UNCOND_9_22_32, SUBYPTE_COND_9_17_22,
1053 SUBYPTE_SA_9_17_22, SUBYPTE_COND_9_17_22_32 and
1054 SUBYPTE_SA_9_17_22_32.
1055 (set_machine): Add support for V850E2 and V850E2V3.
1056 (md_pseudo_table): Likewise.
1057 (pre_defined_registers): Update pre defined registers suitable
1058 for each family of registers.
1059 (system_registers): Likewise.
1060 (cc_names): Update the condition code.
1061 (float_cc_names): Update the condition code for float.
1062 (reg_name_search): Update based on current modifications.
1063 (register_name): Likewise.
1064 (system_register_name): Update to support new system registers
1065 and supported families.
1066 (cc_name): Update to support new condition codes.
1067 (float_cc_name): New function to support float condition codes.
1068 (parse_register_list): Update to support newly added registers.
1069 (md_show_usage): Define support for V850E2 and V850E2V3 targets.
1070 Also support added for disp-size-default-22, disp-size-default-32,
1071 mextension, mno-bcond17 and mno-stld23.
1072 (md_parse_option): Implement the support for above options defined
1073 in md_show-usage.
1074 (md_convert_frag): Implement support for subtypes defined in
1075 md_relax_table to support branch operations.
1076 (md_begin): Add support for V850E2 and V850E2V3.
1077 (handle_hi016, handle_hi16): new relocation handling functions
1078 (handle_lo16, handle_ctoff, handle_sdaoff, handle_zdaoff,
1079 handle_tdaoff): Updated relocation handling functions for newly
1080 added relocations.
1081 (v850_reloc_prefix): Update the relocation handling functions.
1082 (v850_insert_operand): Updated the functions with error message
1083 parameter and modified the function to use it.
1084 (md_assemble): Update according to the latest modifications.
1085 (md_apply_fix): Updated the functions with error message parameter
1086 and modified the function to use it.
1087 (v850_force_relocation): Update with newly added relocations.
1088 * configure.tgt: Match all v850 targets.
1089 * doc/c-v850.texi: Document the newly added targets.
1090 * NEWS: Likewise.
1091
c0ba1095
AM
10922010-07-23 Alan Modra <amodra@gmail.com>
1093
1094 PR gas/11834
1095 * macro.c (macro_expand): Recover gracefully from named args that
1096 don't match params.
1097
1575952e
TS
10982010-07-22 Thomas Schwinge <thomas@codesourcery.com>
1099
1100 Switch MIPS to 32-bit DWARF format.
1101 * config/tc-mips.h (DWARF2_FORMAT): Only define for [TE_IRIX].
1102 * config/tc-mips.c (mips_dwarf2_format): Likewise.
1103
33740db9
AM
11042010-07-20 Alan Modra <amodra@gmail.com>
1105
1106 * config/tc-ppc.c (ppc_setup_opcodes): Add all macros for -many.
1107
4e92bb1c
AM
11082010-07-16 Alan Modra <amodra@gmail.com>
1109
1110 * config/tc-rx.c (md_estimate_size_before_relax): Fix format
1111 specifier warnings for 32-bit host when --enable-64-bit-bfd.
1112 (rx_relax_frag, md_convert_frag): Likewise.
1113
0af8aa50
L
11142010-07-15 Cary Coutant <ccoutant@google.com>
1115
1116 * gas/NEWS: Add note about --compress-debug-sections.
1117 * gas/as.c (show_usage): Add --compress-debug-sections and
1118 --nocompress-debug-sections.
1119
6e8bd58f
NS
11202010-07-15 Rhonda Wittels <rhonda@codesourcery.com>
1121
1122 * config/obj-elf.c (get_sym_from_input_line_and_check): New
1123 function to catch missing pseudo-op arguments.
1124 (obj_elf_local): Call new function.
1125 (obj_elf_weak): Likewise.
1126 (obj_elf_visibility): Likewise.
1127 (obj_elf_vtable_entry): Likewise.
1128 (obj_elf_type): Likewise.
1129
1e17085d
KT
11302010-07-15 Kai Tietz <kai.tietz@onevision.com>
1131
1132 * config/obj-coff-seh.c
1133 (seh_getelm_data_size): New.
1134 (seh_read_offset): Handle negative values.
1135 (obj_coff_seh_push): Handle offset for save-register store.
1136 (obj_coff_seh_setframe): Add unwind-information for frame.
1137 (seh_store_elm_data): New.
1138 (seh_getelm_data_size): Return additionally unaligned element count.
1139 (seh_make_unwind_entry): Correct tweak about element count.
1140
92b4f90c
L
11412010-07-12 H.J. Lu <hongjiu.lu@intel.com>
1142
1143 PR gas/11806
1144 * config/tc-i386-intel.c (i386_intel_simplify): Restore fall
1145 through patch for O_multiply.
1146
a7879ef1
KT
11472010-07-11 Kai Tietz <kai.tietz@onevision.com>
1148
1149 PR ld/11612
1150 * config/obj-coff.c (obj_common_parse): Quote symbol-name.
1151
52e7f43d
RE
11522010-07-08 Tejas Belagod <tejas.belagod@arm.com>
1153
1154 * tc-arm.c (OP_oBARRIER): Remove.
1155 (OP_oBARRIER_I15): Add.
1156 (po_barrier_or_imm): Add macro.
1157 (parse_operands): Improve OP_oBARRIER_I15 operand parsing.
1158 (do_barrier): Check correct immediate range.
1159 (do_t_barrier): Likewise.
1160 (barrier_opt_names): Add entries for more symbolic operands.
1161 (insns): Replace OP_oBARRIER with OP_oBARRIER_I15 for barriers.
1162
db187cb9
NS
11632010-07-08 Daniel Gutson <dgutson@codesourcery.com>
1164
1165 * config/tc-arm.c (tc_gen_reloc): Add BFD_RELOC_ARM_T32_OFFSET_IMM
1166 error message.
1167
30cfc97a
MR
11682010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
1169
1170 * config/tc-mips.c (mips_frob_file): Use symbol_same_p to match
1171 symbols.
1172
9a2c7088
MR
11732010-07-06 Maciej W. Rozycki <macro@codesourcery.com>
1174
1175 * config/tc-mips.c (nops_for_insn_or_target): Replace
1176 MIPS16_INSN_BRANCH with MIPS16_INSN_UNCOND_BRANCH and
1177 MIPS16_INSN_COND_BRANCH.
1178
df1c40a7
L
11792010-07-05 Jim Wilson <wilson@codesourcery.com>
1180
1181 PR gas/10531
1182 PR gas/11789
1183 * dwarf2dbg.c (dwarf2_finish): Don't generate .debug_line section
1184 if it isn't empty.
1185
793d370e
AM
11862010-07-05 Alan Modra <amodra@gmail.com>
1187
1188 * config/tc-moxie.c (md_apply_fix): Delete set but otherwise
1189 unused var.
1190
dbb3fc7d
L
11912010-07-04 H.J. Lu <hongjiu.lu@intel.com>
1192
1193 * Makefile.am (CONFIG_OBJS): Removed.
1194 (GENERIC_OBJS): Likewise.
1195 (OBJS): Likewise.
1196 * Makefile.in: Regenerated.
1197
c64efb4b
L
11982010-07-03 Jan Beulich <jbeulich@novell.com>
1199
1200 PR gas/11732
1201 * config/tc-i386.c (i386_finalize_displacement): Don't call
1202 section_symbol() with expr_section.
1203
0acf065b
CC
12042010-07-03 Cary Coutant <ccoutant@google.com>
1205
1206 * Makefile.am: Add compress-debug.c and compress-debug.h.
1207 * Makefile.in: Regenerate.
1208 * config.in: Add HAVE_ZLIB_H.
1209 * configure.in: Check for zlib.h.
1210 * configure: Regenerate.
1211
1212 * as.c (parse_args): Add --compress-debug-sections and
1213 --nocompress-debug-sections.
1214 * as.h (flag_compress_debug): New variable.
1215 * compress-debug.c: New file.
1216 * compress-debug.h: New file.
1217 * write.c: Include compress-debug.h.
1218 (compress_frag): New function.
1219 (compress_debug): New function.
1220 (write_object_file): Compress debug sections if requested.
1221
7102e95e
AS
12222010-07-03 Andreas Schwab <schwab@linux-m68k.org>
1223
1224 * config/tc-ppc.c (ppc_set_cpu): Cast PPC_OPCODE_xxx to ppc_cpu_t
1225 before inverting.
1226
bdc70b4a
AM
12272010-07-03 Alan Modra <amodra@gmail.com>
1228
1229 * config/tc-ppc.c (ppc_set_cpu): Remove old opcode flags.
1230 (ppc_setup_opcodes): Likewise. Simplify opcode selection.
1231
44a808b1
DD
12322010-07-02 DJ Delorie <dj@redhat.com>
1233
731df70d
DD
1234 * config/tc-rx.h (md_do_align): New.
1235 (MAX_MEM_FOR_RS_ALIGN_CODE): New.
1236 * config/tc-rx.c (nops): New.
1237 (rx_handle_align): Use various sized nops to align code.
1238
44a808b1
DD
1239 * config/tc-rx.c (rx_bytesT): Add grown/shrank counters for
1240 relaxation.
1241 (rx_relax_frag): Prevent infinite loops of grow/shrink/grow/etc.
1242
c7b8aa3a
L
12432010-07-01 H.J. Lu <hongjiu.lu@intel.com>
1244
1245 AVX Programming Reference (June, 2010)
1246 * config/tc-i386.c (cpu_arch): Add .xsaveopt, .fsgsbase, .rdrnd
1247 and .f16c.
1248
1249 * doc/c-i386.texi: Document xsaveopt, fsgsbase, rdrnd and f16c.
1250
76fa04a4
MGD
12512010-07-01 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1252
1253 * config/tc-arm.c (do_t_mov_cmp): Fix reporting of unpredictable and
1254 deprecated mov register instructions.
1255
01efc3af
AM
12562010-07-01 Alan Modra <amodra@gmail.com>
1257
1258 * config/tc-ppc.c (toc_reloc_types): New variable.
1259 (md_assemble): Set it.
1260 (ppc_frob_file_before_adjust): Don't warn about toc section size
1261 if we have large toc relocs and no small toc relocs.
1262
360cfc9c
AM
12632010-06-29 Alan Modra <amodra@gmail.com>
1264
1265 * config/tc-maxq.h: Delete file.
1266 * config/tc-maxq.c: Delete file.
1267 * Makefile.am: Remove references to maxq.
1268 * configure.tgt: Likewise.
1269 * config/obj-coff.h: Likewise.
1270 * Makefile.in: Regenerate.
1271 * configure: Regenerate.
1272 * po/POTFILES.in: Regenerate.
1273
87975d2a
AM
12742010-06-28 Alan Modra <amodra@gmail.com>
1275
1276 * config/obj-evax.h (S_SET_OTHER, S_SET_TYPE, S_SET_DESC): Don't define.
1277 * config/tc-crx.c (gettrap): Constify arg.
1278 (handle_LoadStor, get_cinv_parameters): Likewise.
1279 (getreg_image): Fix enum warning
1280 (md_assemble): Restore input line char.
1281 * config/tc-hppa.c (tc_gen_reloc): Fix enum warning.
1282 * config/tc-i960.c (mem_fmt): Rename var to fix shadow warning.
1283 * config/tc-sh.c (sh_fdpic): Only define when OBJ_ELF.
1284 (build_Mytes): Fix build failure for non-elf targets.
1285 * config/tc-tic4x.c (tic4x_eval): Restore terminator char.
1286 * config/tc-xtensa.c (xtensa_end_directive): Fix switch enum warning.
1287
1288 * cgen.c (gas_cgen_md_apply_fix): Avoid set but unused warning.
1289 * ecoff.c (add_ecoff_symbol): Likewise.
1290 * itbl-ops.c (append_insns_as_macros): Likewise.
1291 * listing.c (debugging_pseudo): Likewise.
1292 * read.c (s_mri_common, stringer): Likewise.
1293 * config/obj-coff.c (coff_frob_section): Likewise.
1294 * config/tc-alpha.c (emit_ldgp, s_alpha_proc): Likewise.
1295 * config/tc-arm.c (my_get_expression): Likewise.
1296 * config/tc-hppa.c (process_exit, pa_type_args): Likewise.
1297 * config/tc-m32c.c (md_assemble): Likewise.
1298 * config/tc-microblaze.c (md_convert_frag): Likewise.
1299 * config/tc-mips.c (s_change_section): Likewise.
1300 * config/tc-mt.c (mt_fix_adjustable): Likewise.
1301 * config/tc-xtensa.c (xtensa_literal_pseudo): Likewise.
1302
1303 * config/obj-aout.c (obj_aout_frob_symbol): Delete set but otherwise
1304 unused vars.
1305 * config/tc-alpha.c (load_expression): Likewise.
1306 (s_alpha_rdata, s_alpha_section, s_alpha_prologue): Likewise.
1307 * config/tc-arm.c (parse_neon_el_struct_list): Likewise.
1308 * config/tc-avr.c (extract_word): Likewise.
1309 * config/tc-cris.c (cris_get_expression): Likewise.
1310 * config/tc-d30v.c (build_insn, find_format): Likewise.
1311 * config/tc-dlx.c (machine_ip): Likewise.
1312 * config/tc-hppa.c (pa_get_absolute_expression): Likewise.
1313 * config/tc-i370.c (md_assemble): Likewise.
1314 * config/tc-i960.c (brtab_emit): Likewise.
1315 * config/tc-iq2000.c (s_iq2000_ent): Likewise.
1316 * config/tc-m32c.c (md_convert_frag): Likewise.
1317 * config/tc-m68hc11.c (fixup24, build_jump_insn): Likewise.
1318 (md_estimate_size_before_relax, md_apply_fix): Likewise.
1319 * config/tc-m68k.c (md_show_usage): Likewise.
1320 * config/tc-microblaze.c (microblaze_s_lcomm): Likewise.
1321 * config/tc-mips.c (s_mips_end): Likewise.
1322 * config/tc-mmix.c (mmix_byte, mmix_cons): Likewise.
1323 * config/tc-mn10300.c (md_assemble): Likewise.
1324 * config/tc-msp430.c (extract_word): Likewise.
1325 * config/tc-mt.c (md_assemble): Likewise.
1326 * config/tc-or32.c (machine_ip): Likewise.
1327 * config/tc-pj.c (md_apply_fix): Likewise.
1328 * config/tc-s390.c (md_gather_operands): Likewise.
1329 * config/tc-sh.c (sh_cons_align): Likewise.
1330 * config/tc-sparc.c (sparc_cons_align): Likewise.
1331 * config/tc-tic4x.c (tic4x_sect): Likewise.
1332 * config/tc-tic54x.c (tic54x_stringer): Likewise.
1333 * config/tc-vax.c (vip_op): Likewise.
1334 * config/tc-xstormy16.c (xstormy16_cons_fix_new): Likewise.
1335 * config/tc-xtensa.c (md_assemble): Likewise.
1336 (xtensa_fix_short_loop_frags, convert_frag_immed): Likewise.
1337 (xtensa_move_literals): Likewise.
1338
8e560766
MGD
13392010-06-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1340
1341 * config/tc-arm.c (parse_neon_alignment): New function.
1342 (parse_address_main): Fix Neon load/store alignment parsing.
1343
b7adb16d
JB
13442010-06-22 Jan Beulich <jbeulich@novell.com>
1345
b7adb16d
JB
1346 * config/tc-i386-intel.c (i386_intel_parse_name): Handle pseudo
1347 symbols named "$".
1348 (i386_intel_operand): Remove bogus handling of pseudo symbols
1349 named "$".
1350 * expr.c (current_location): Remove 'static' and local
1351 declaration.
1352 * expr.h (current_location): Declare.
1353
58e8191c
SA
13542010-06-21 Sterling Augustine <sterling@tensilica.com>
1355
1356 PR gas/11728
1357 * as.c: Globalize keep_it.
1358 (main): Remove keep_it. Move conditional from here...
1359 (close_output_file): ...to here.
1360
1f9bb1ca
AS
13612010-06-21 Andreas Schwab <schwab@redhat.com>
1362
1363 * doc/as.texinfo (Overview): Use @itemx for grouped @table
1364 items.
1365 * doc/c-alpha.texi (Alpha Options): Likewise.
1366 * doc/c-arm.texi (ARM Directives): Likewise.
1367 * doc/c-bfin.texi (Blackfin Options): Likewise.
1368 * doc/c-d10v.texi (D10V-Opts): Likewise.
1369 * doc/c-i386.texi (i386-Options): Likewise.
1370 * doc/c-ia64.texi (IA-64 Options): Likewise.
1371 * doc/c-m68k.texi (M68K-Opts): Likewise.
1372 * doc/c-tic54x.texi (TIC54X-Directives): Likewise.
1373 * doc/internals.texi (Symbols): Likewise.
1374
6d0cb78c
AM
13752010-06-21 Alan Modra <amodra@gmail.com>
1376
1377 PR gas/11733
1378 * config/tc-sh.c (find_cooked_opcode): Correct array bounds check.
1379
38bd8d09
JM
13802010-06-18 Joseph Myers <joseph@codesourcery.com>
1381
1382 * config/tc-tic6x.h (tic6x_segment_info_type): Add field
1383 func_units_used.
1384 * config/tc-tic6x.c (tic6x_cons_align: Clear func_units_used.
1385 (md_assemble): Clear func_units_used for new execute packet.
1386 Check for duplicate functional units and update func_units_used
1387 for instructions using a functional unit.
1388
59e6276b
JM
13892010-06-15 Joseph Myers <joseph@codesourcery.com>
1390
1391 * config/tc-tic6x.c: Include elf/tic6x.h.
1392 (tic6x_arch_attribute, tic6x_seen_insns): New.
1393 (tic6x_arch_table, tic6x_arches): Add attribute values.
1394 (tic6x_use_arch): Handle attribute settings.
1395 (tic6x_attributes_set_explicitly, s_tic6x_c6xabi_attribute,
1396 tic6x_attribute_table, tic6x_attributes,
1397 tic6x_convert_symbolic_attribute): New.
1398 (md_pseudo_table): Add c6xabi_attribute.
1399 (md_assemble): Set tic6x_seen_insns and tic6x_arch_attribute.
1400 (tic6x_set_attribute_int, tic6x_set_attributes): New.
1401 (tic6x_end): Call tic6x_set_attributes.
1402 * config/tc-tic6x.h (CONVERT_SYMBOLIC_ATTRIBUTE): Define.
1403 (tic6x_convert_symbolic_attribute): Declare.
1404
e01d869a
AM
14052010-06-14 Alan Modra <amodra@gmail.com>
1406
1407 * config/tc-ppc.c (md_assemble): Emit APUinfo section for
1408 PPC_OPCODE_E500.
1409
1ded5609
JB
14102010-06-11 Jan Beulich <jbeulich@novell.com>
1411
1412 * config/tc-i386.c (md_parse_option): Ignore impossible processor
1413 types.
1414 (show_arch): New parameter 'check'.
1415 (md_show_usage): Adjust calls to show_arch().
1416
78f12dd3
L
14172010-06-10 H.J. Lu <hongjiu.lu@intel.com>
1418
1419 * config/tc-i386.c (update_code_flag): New.
1420 (set_code_flag): Use it.
1421 (i386_target_format): Replace set_code_flag with update_code_flag.
1422
e1f000f6
TG
14232010-06-10 Tristan Gingold <gingold@adacore.com>
1424
1425 * config/obj-som.h: Includes som/reloc.h
1426
89507696
JB
14272010-06-10 Jan Beulich <jbeulich@novell.com>
1428
1429 * config/tc-i386.c (cpu_arch): Add comment.
1430 (i386_target_format): Set cpu_arch_isa_flags and cpu_arch_tune_flags
1431 from the generic entries of cpu_arch[].
1432
55881a11
MGD
14332010-06-08 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1434
e1f000f6 1435 * config/tc-arm.c (operand_parse_code): Add OP_RRnpctw enum
55881a11
MGD
1436 value.
1437 (parse_operands): Add support for OP_RRnpctw.
e1f000f6 1438 (insns): Update floating-point load/store multiples so the
55881a11
MGD
1439 first register is of type OP_RRnpctw.
1440
09137c09
SP
14412010-06-08 Quentin Neill <quentin.neill@amd.com>
1442
1443 * config/tc-i386.c (pi): Rename local loop counter
1444 variable i that shadows global static i386_insn i
1445 when DEBUG386 is defined.
1446 (pte) Ditto.
1447
9fbcbd81
NC
14482010-06-08 Nick Clifton <nickc@redhat.com>
1449
1450 * doc/as.texinfo: Replace abbreviated 20th century year numbers
1451 with full versions.
1452
40a9833c
SP
14532010-06-02 Quentin Neill <quentin.neill@amd.com>
1454
1455 * config/tc-i386.c (OPTION_MAVXSCALAR): Fix define.
1456
aadd8030
TG
14572010-06-02 Tristan Gingold <gingold@adacore.com>
1458
1459 * as.h: Remove conditionnal definition of HAVE_STDARG_H,
1460 USE_STDARG, va_alist, va_dcl, va_list, va_start, va_end.
1461 Remove conditionnal inclusion of stdarg.h and varargs.h.
1462 Assume ISO C.
1463 * config.in: Regenerate.
1464 * configure: Regenerate.
1465 * configure.in: Remove stdarg.h and varargs.h from
1466 AC_CHECK_HEADERS list.
1467 * messages.c (as_tsktsk): Remove non ISO C version.
1468 (as_warn, as_warn_where, as_bad, as_bad_where, as_fatal): Ditto.
1469
51794af8
TG
14702010-05-31 Tristan Gingold <gingold@adacore.com>
1471
1472 * config/tc-alpha.c: Add comments for evax.
1473 * config/obj-evax.c: Ditto.
1474
941a8a52
MGD
14752010-05-28 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1476
1477 * config/tc-arm.c (do_t_mov_cmp): In unified syntax encode movs as
1478 lsls and not adds.
1479
1e5b0379
NC
14802010-05-27 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1481
1482 * config/tc-arm.c (encode_thumb2_ldmstm): Make warning about
1483 writeback when base register is in register list an error, and
1484 correct check.
1485 (do_t_ldmstm): Change warnings.
1486
f79e2745
CM
14872010-05-26 Catherine Moore <clm@codesourcery.com>
1488
1489 * config/tc-mips.c (is_opcode_valid): Remove expansionp.
1490 (macro_build): Change invocation of is_opcode_valid.
1491 (mips_ip): Likewise.
1492
5ae57a91
NC
14932010-05-25 Nick Clifton <nickc@redhat.com>
1494
1495 * Makefile.am (MOSTLYCLEANFILES): Fix typo.
1496 * Makefile.in: Regenerate.
1497
8e45593f
NC
14982010-05-25 Daniel Jacobowitz <dan@codesourcery.com>
1499 Joseph Myers <joseph@codesourcery.com>
1500 Andrew Stubbs <ams@codesourcery.com>
1501
1502 * config/tc-sh.c (sh_fdpic): New.
1503 (sh_check_fixup): Handle relocations on movi20.
1504 (parse_exp): Do not reject PIC operators here.
1505 (build_Mytes): Check for unhandled PIC operators here. Use
1506 sh_check_fixup for movi20.
1507 (enum options): Add OPTION_FDPIC.
1508 (md_longopts, md_parse_option, md_show_usage): Add --fdpic.
1509 (sh_fix_adjustable, md_apply_fix): Handle FDPIC and movi20 relocations.
1510 (sh_elf_final_processing): Handle --fdpic.
1511 (sh_uclinux_target_format): New.
1512 (sh_parse_name): Handle FDPIC relocation operators.
1513 * config/tc-sh.h (TARGET_FORMAT): Define specially for TE_UCLINUX.
1514 (sh_uclinux_target_format): Declare for TE_UCLINUX.
1515 * configure.tgt (sh-*-uclinux* | sh[12]-*-uclinux*): Set
1516 em=uclinux.
1517 * doc/c-sh.texi (SH Options): Document --fdpic.
1518
52a6ecd2
NC
15192010-05-25 Jay Krell <jay.krell@cornell.edu>
1520
1521 PR ld/11621
1522 * Makefile.am: Replace all occurences of .o with .@OBJEXT@
1523 * Makefile.in: Regenerate.
1524
1239de13
AM
15252010-05-25 Alan Modra <amodra@gmail.com>
1526
1527 * config/tc-ppc.c (ppc_section_flags): Add ATTRIBUTE_UNUSED to "attr".
1528
9c8b3bfe
NC
15292010-05-19 Nick Clifton <nickc@redhat.com>
1530
1531 * config/tc-h8300.c (h8300_elf_section): Add .zdebug to the list
1532 of known section prefixes.
1533
18ae9cc1
L
15342010-05-18 H.J. Lu <hongjiu.lu@intel.com>
1535
1536 PR gas/11600
1537 * obj-elf.c (obj_elf_change_section): Handle SHF_EXCLUDE.
1538 (obj_elf_parse_section_letters): Likewise.
1539 (obj_elf_section_word): Likewise.
1540
1541 * config/tc-ppc.c (ppc_section_letter): Removed.
1542 (ppc_section_word): Likewise.
1543 * config/tc-ppc.h (ppc_section_letter): Likewise.
1544 (ppc_section_word): Likewise.
1545 (md_elf_section_letter): Likewise.
1546 (md_elf_section_word): Likewise.
1547
1548 * doc/as.texinfo: Document `e' and `#exclude'.
1549
bf3eeda7
NS
15502010-05-13 Nathan Sidwell <nathan@codesourcery.com>
1551
1552 * config/tc-arm.c (md_assemble): Clarify current mode in error
1553 messages about unsupported instructions.
1554 (UT): Delete #define.
1555 (insns): Adjust cbnz, cbz appropriately.
1556
4547cb56
NC
15572010-05-11 Andrew Stubbs <ams@codesourcery.com>
1558
1559 * config/tc-arm.c (aeabi_set_public_attributes): Set Tag_DIV_use.
1560
15612010-05-11 Jie Zhang <jie@codesourcery.com>
1562
1563 * config/tc-arm.c (aeabi_set_public_attributes): Set
1564 Tag_ABI_HardFP_use to 1 if a single precision FPU is selected.
1565
6540b386
TG
15662010-05-07 Tristan Gingold <gingold@adacore.com>
1567
1568 * Makefile.in: Regenerate with automake 1.11.1.
1569 * aclocal.m4: Ditto.
1570 * doc/Makefile.in: Ditto.
1571
3e01a7fd
NC
15722010-05-05 Nick Clifton <nickc@redhat.com>
1573
1574 * po/es.po: Updated Spanish translation.
1575
847d4311
NS
15762010-05-05 Julian Brown <julian@codesourcery.com>
1577
1578 * read.c (cons_worker): Detect and reject unexpected string argument.
1579
1fc5d88e
NC
15802010-05-04 Nick Clifton <nickc@redhat.com>
1581
1582 * write.c (fixup_segment): Revert previous delta.
1583 * config/tc-arm.h (TC_FORCE_RELOCATION_LOCAL): Also force the
1584 generation of relocations for fixups against weak symbols.
1585
77db8e2e
NC
15862010-04-29 Nathan Sidwell <nathan@codesourcery.com>
1587
1588 * write.c (fixup_segment): Do not assume we know the section a
1589 defined weak symbol is in.
1590 * config/tc-arm.c (relax_adr, relax_branch, md_apply_fix): Treat
1591 weak symbols as not known to be in the same section, even if they
1592 are defined.
1593
d99e5b39
JM
15942010-04-27 Joseph Myers <joseph@codesourcery.com>
1595
1596 * config/tc-tic6x.h (tic6x_label_list): New.
1597 (tic6x_segment_info_type): Keep a list of labels and a current
1598 frag instead of a boolean for whether labels seen and a count of
1599 instructions.
1600 (tic6x_frag_info, TC_FRAG_TYPE, TC_FRAG_INIT, tic6x_frag_init,
1601 md_do_align, tic6x_do_align, md_end, tic6x_end): New.
1602 * config/tc-tic6x.c (tic6x_frob_label): Put label on list.
1603 (tic6x_cleanup): Correct comment.
1604 (tic6x_free_label_list): New.
1605 (tic6x_cons_align): Free label list and update for
1606 tic6x_segment_info_type changes.
1607 (tic6x_do_align): New.
1608 (md_assemble): Handle list of labels and saved frag for execute
1609 packet. Create machine-dependent frag for new execute packet and
1610 adjust labels accordingly.
1611 (tic6x_adjust_section, tic6x_frag_init, tic6x_end): New.
1612 (md_convert_frag, md_estimate_size_before_relax): Update comments.
1613
25303607
L
16142010-04-24 H.J. Lu <hongjiu.lu@intel.com>
1615
1616 PR gas/11535
1617 * config/tc-i386-intel.c (intel_state): Add is_indirect.
1618 (i386_intel_operand): Initialize intel_state.is_indirect. Check
1619 intel_state.is_indirect for "call|jmp [symbol]".
1620
9c9c98a5
NC
16212010-04-22 Nick Clifton <nickc@redhat.com>
1622
1623 * po/gas.pot: Updated by the Translation project.
1624
0398aac5
L
16252010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1626
1627 * config/tc-i386.c (i386_is_register): Removed.
1628 (x86_cons): Don't use i386_is_register.
1629 (parse_register): Likewise.
1630 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1631 (i386_intel_operand): Likewise.
1632
e96d56a1
L
16332010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1634
1635 * config/tc-i386.c (tc_x86_parse_to_dw2regnum): Don't use
1636 i386_is_register.
1637
8d46fc7c
L
16382010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1639
1640 * config/tc-i386.c (i386_is_register): Remove is_intel_syntax.
1641 (x86_cons): Updated.
1642 (parse_register): Likewise.
1643 (tc_x86_parse_to_dw2regnum): Likewise.
1644 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
1645 (i386_intel_operand): Likewise.
1646
3c7b9c2c
L
16472010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1648
1649 PR gas/11509
1650 * config/tc-i386-intel.c (i386_intel_simplify_register): New.
1651 (i386_intel_simplify): Use i386_is_register and
1652 i386_intel_simplify_register. Set X_md for O_register and
1653 check X_md for O_constant.
1654 (i386_intel_operand): Use i386_is_register.
1655
1656 * config/tc-i386.c (i386_is_register): New.
1657 (x86_cons): Initialize the X_md field. Use i386_is_register.
1658 (parse_register): Use i386_is_register.
1659 (tc_x86_parse_to_dw2regnum): Likewise.
1660
34a7d6c6
L
16612010-04-21 H.J. Lu <hongjiu.lu@intel.com>
1662
1663 * expr.c (expr): Initialize the X_md field.
1664
41820509
JM
16652010-04-20 Joseph Myers <joseph@codesourcery.com>
1666
1667 * config/tc-tic6x.c (OPTION_MGENERATE_REL): New.
1668 (md_longopts): Add -mgenerate-rel.
1669 (tic6x_generate_rela): New.
1670 (md_parse_option): Handle -mgenerate-rel.
1671 (md_show_usage): Add comment that -mgenerate-rel is undocumented.
1672 (tic6x_init_after_args): New.
1673 (md_apply_fix): Correct shift calculations for SB-relative
1674 relocations.
1675 (md_pcrel_from): Change to tic6x_pcrel_from_section. Do not
1676 adjust addresses for relocations referencing symbols in other
1677 sections.
1678 (tc_gen_reloc): Adjust addend calculations for REL relocations.
1679 * config/tc-tic6x.h (MD_PCREL_FROM_SECTION,
1680 tic6x_pcrel_from_section, tc_init_after_args,
1681 tic6x_init_after_args): New.
1682
aa27de95
NC
16832010-04-20 Nick Clifton <nickc@redhat.com>
1684
1685 PR gas/11507
1686 * macro.c (macro_expand_body): Do not treat LOCAL as a keyword in
1687 altmacro mode if found inside a quoted string.
1688
048e5b80
MF
16892010-04-20 Mike Frysinger <vapier@gentoo.org>
1690
1691 * config/bfin-lex.l (parse_int): Change index() to strchr().
1692
bb7835b8
NC
16932010-04-16 Nick Clifton <nickc@redhat.com>
1694
1695 PR gas/11395
1696 * config/tc-hppa.c (pa_ip): Do not allow 64-bit add condition
1697 matcher to accept and unconditional 32-bit add instruction.
1698 (pa_build_unwind_subspace): Cope with error conditions not
1699 allowing the start symbol to be set.
1700
75375b3e
MGD
17012010-04-15 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1702
1703 * config/tc-arm.c (arm_convert_symbolic_attribute): Add support for
1704 new tag names in v2.08 of ARM ABI.
1705 * doc/c-arm.texi: Document new tag names in ABI.
1706
d8703844
TG
17072010-04-14 Tristan Gingold <gingold@adacore.com>
1708
1709 * config/tc-alpha.c: Includes vms/egps.h on EVAX.
1710 (s_alpha_comm): Used new EGPS macros from egps.h
1711 (RGPS__V_NO_SHIFT, EGPS__V_MASK): New local macros.
1712 (s_alpha_section_word): Add comments. Use new EGPS macros.
1713 Adjust for modified bfd_vms_set_section_flags function.
1714
aa0c8c1a
AM
17152010-04-10 Alan Modra <amodra@gmail.com>
1716
1717 PR gas/11486
1718 * config/tc-ppc.c (ppc_elf_cons): Clear frag contents.
1719
3d540e93
NC
17202010-04-09 Nick Clifton <nickc@redhat.com>
1721
1722 * as.c (create_obj_attrs_section): Remove unused variable addr.
1723 * listing.c (listing_listing): Remove unused variable message.
1724 * read.c: Remove unnecessary register type qualifiers.
1725 (s_mri): Only define/use old_flag variable if MRI_MODE_CHANGE is
1726 defined.
1727
e760a81b
EW
17282010-04-07 Eric B. Weddington <eric.weddington@atmel.com>
1729
1730 * config/tc-avr.c (mcu_types): Add support for atmega16a, atmega168a,
1731 atmega164a, atmega165a, atmega169a, atmega169pa, atmega16hva2,
1732 atmega324a, atmega324pa, atmega325a, atmega3250a, atmega328,
1733 atmega329a, atmega329pa, atmega3290a, atmega48a, atmega644a,
1734 atmega645a, atmega645p, atmega6450a, atmega6450p, atmega649a,
1735 atmega649p, atmega6490a, atmega6490p, atmega64hve, atmega88a,
1736 atmega88pa, attiny461a, attiny84a, m3000.
1737 Remove support for atmega8m1, atmega8c1, atmega16c1, atmega4hvd,
1738 atmega8hvd, attiny327, m3000f, m3000s, m3001b.
1739 * doc/c-avr.texi: Same.
1740
2de7820f
JZ
17412010-04-07 Jie Zhang <jie@codesourcery.com>
1742
1743 * config/tc-arm.c (make_mapping_symbol): Handle the case
1744 that multiple mapping symbols have the same value 0.
1745
397841b5
AM
17462010-04-07 Alan Modra <amodra@gmail.com>
1747
1748 * configure: Regenerate.
1749
bd32c6bd
NC
17502010-04-06 Nick Clifton <nickc@redhat.com>
1751
1752 * po/ru.po: New Russian translation.
1753 * configure.in (ALL_LINGUAS): Add ru.
1754 * configure: Regenerate.
1755
b36562f6
L
17562010-03-30 H.J. Lu <hongjiu.lu@intel.com>
1757
1758 PR gas/11456
1759 * input-scrub.c (input_scrub_next_buffer): Use memmove instead
1760 of memcpy to copy overlap memory.
1761
40b36596
JM
17622010-03-25 Joseph Myers <joseph@codesourcery.com>
1763
1764 * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tic6x.c.
1765 (TARGET_CPU_HFILES): Add config/tc-tic6x.h.
1766 * Makefile.in: Regenerate.
1767 * NEWS: Add news entry for TI C6X support.
1768 * app.c (do_scrub_chars): Handle "||^" for TI C6X. Handle
1769 TC_PREDICATE_START_CHAR and TC_PREDICATE_END_CHAR. Keep spaces in
1770 operands if TC_KEEP_OPERAND_SPACES.
1771 * configure.tgt (tic6x-*-*): New.
1772 * config/tc-ia64.h (TC_PREDICATE_START_CHAR,
1773 TC_PREDICATE_END_CHAR): Define.
1774 * config/tc-tic6x.c, config/tc-tic6x.h: New.
1775 * doc/Makefile.am (CPU_DOCS): Add c-tic6x.texi.
1776 * doc/Makefile.in: Regenerate.
1777 * doc/all.texi (TIC6X): Define.
1778 * doc/as.texinfo: Add TI C6X documentation. Include c-tic6x.texi.
1779 * doc/c-tic6x.texi: New.
1780
cff8d58a
L
17812010-03-22 H.J. Lu <hongjiu.lu@intel.com>
1782
1783 * config/tc-i386.c (lex_got): Use STRING_COMMA_LEN on gotrel.
1784
86e026a4
L
17852010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1786
1787 * config/tc-i386.c (i386_error): Replace oprand_size_mismatch
1788 with operand_size_mismatch.
1789 (operand_size_match): Updated.
1790 (match_template): Likewise.
1791
a65babc9
L
17922010-03-21 H.J. Lu <hongjiu.lu@intel.com>
1793
1794 * config/tc-i386.c (i386_error): New.
1795 (_i386_insn): Replace err_msg with error.
1796 (operand_size_match): Set error instead of err_msg on failure.
1797 (operand_type_match): Likewise.
1798 (operand_type_register_match): Likewise.
1799 (VEX_check_operands): Likewise.
1800 (match_template): Likewise. Use error instead of err_msg with
1801 as_bad.
1802
0f020cef
JZ
18032010-03-19 Jie Zhang <jie@codesourcery.com>
1804
1805 * config/tc-arm.c (make_mapping_symbol): Hanle the case
1806 that two mapping symbols have the same value.
1807
a5b82cbe
DJ
18082010-03-18 Daniel Jacobowitz <dan@codesourcery.com>
1809
1810 * doc/c-arm.texi (.setfp): Correct example.
1811
b43420e6
NC
18122010-03-18 Wei Guozhi <carrot@google.com>
1813
1814 PR gas/11323
1815 * config/tc-arm.c (reloc_names): New relocation names.
1816 (md_apply_fix): New case for BFD_RELOC_ARM_GOT_PREL.
1817 (tc_gen_reloc): New case for BFD_RELOC_ARM_GOT_PREL.
1818 * doc/c-arm.texi (ARM-Relocations): Document the new relocation.
1819
4e4e1355
TS
18202010-03-15 Thomas Schwinge <thomas@codesourcery.com>
1821
d905c788
TS
1822 * dw2gencfi.c (output_cie): Consider emitting the S augmentation in all
1823 cases, and not only for .eh_frame.
1824
4e4e1355
TS
1825 * dw2gencfi.c (output_cie): Make it more explicit which code paths
1826 belong to .eh_frame only.
1827
dc86b458
SB
18282010-03-13 Segher Boessenkool <segher@kernel.crashing.org>
1829
1830 * config/tc-v850.c (v850_insert_operand): Handle out-of-range
1831 assembler constants on 64-bit hosts.
1832
ee9e7c78
MF
18332010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1834
1835 * bfin-defs.h, bfin-lex.l, bfin-parse.y, tc-bfin.c, tc-bfin.h:
1836 Strip trailing whitespace.
1837
a23c851a
MF
18382010-03-10 Mike Frysinger <michael.frysinger@analog.com>
1839
1840 * doc/c-bfin.texi (-mcpu): Add bf504 and bf506.
1841 * config/tc-bfin.c (bfin_cpu_type): Add BFIN_CPU_BF504 and
1842 BFIN_CPU_BF506.
1843 (bfin_cpus[]): Add 0.0 for bf504 and bf506.
1844
9982501a
JZ
18452010-03-10 Jie Zhang <jie@codesourcery.com>
1846
1847 * doc/as.texinfo: Add Blackfin options.
1848 * doc/c-bfin.texi: Document -mfdpic, -mno-fdpic and -mnopic.
1849 * config/tc-bfin.c (md_show_usage): Show usage for all
1850 Blackfin specific options.
1851
4199fe12
AM
18522010-03-09 Alan Modra <amodra@gmail.com>
1853
1854 PR gas/11356
1855 * listing.c (listing_newline): Correct backslash quote logic.
1856
40cf28aa
RO
18572010-03-08 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
1858
1859 * config/tc-i386.h [TE_SOLARIS] (ELF_TARGET_FORMAT): Define.
1860 (ELF_TARGET_FORMAT64): Define.
1861
26b6f191
PB
18622010-03-05 Paul Brook <paul@codesourcery.com>
1863
1864 * config/tc-arm.c (arm_cpu_option_table): Add cortex-m4.
1865
772657e9
AS
18662010-03-02 Andrew Stubbs <ams@codesourcery.com>
1867
1868 * config/tc-sh.c (get_specific): Move overflow checking code to avoid
1869 reading uninitialized data.
1870
bd56defd
TG
18712010-03-01 Tristan Gingold <gingold@adacore.com>
1872
1873 * config/tc-score7.c (s7_frag_check): Add ATTRIBUTE_UNUSED.
1874
743d7f19
DE
18752010-02-26 Doug Evans <dje@sebabeach.org>
1876
1877 * configure.tgt: Fix mep cpu case.
1878
f8a8e9d6
JZ
18792010-02-26 Jie Zhang <jie@codesourcery.com>
1880
1881 * config/tc-arm.c (do_t_strexd): Remove
1882 operand[1] != operand[2] contraint.
1883
3fde54a2
JZ
18842010-02-26 Jie Zhang <jie@codesourcery.com>
1885
1886 * config/tc-arm.c (neon_select_shape): No need to match
1887 the remaining operands in the shape when one operand does
1888 not match.
1889
e23c0ad8
JZ
18902010-02-26 Jie Zhang <jie@codesourcery.com>
1891
1892 * config/tc-arm.c (do_neon_ld_st_interleave): Reject bad
1893 alignment.
1894
fae0b242
DE
18952010-02-25 Doug Evans <dje@sebabeach.org>
1896
1897 * cgen.c: Whitespace fixes.
1898 (weak_operand_overflow_check): Formatting fix.
1899
a6c56050
L
19002010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1901
1902 * config/tc-i386.c (match_template): Update error messages.
1903
891edac4
L
19042010-02-25 H.J. Lu <hongjiu.lu@intel.com>
1905
1906 * config/tc-i386.c (_i386_insn): Add err_msg.
1907 (operand_size_match): Set err_msg on failure.
1908 (operand_type_match): Likewise.
1909 (operand_type_register_match): Likewise.
1910 (VEX_check_operands): Likewise.
1911 (match_template): Likewise. Use i.err_msg with as_bad.
1912
c67a084a
NC
19132010-02-25 Wu Zhangjin <wuzhangjin@gmail.com>
1914
1915 * config/tc-mips.c (mips_fix_loongson2f, mips_fix_loongson2f_nop,
1916 mips_fix_loongson2f_jump): New variables.
1917 (md_longopts): Add New options -mfix-loongson2f-nop/jump,
1918 -mno-fix-loongson2f-nop/jump.
1919 (md_parse_option): Initialize variables via above options.
1920 (options): New enums for the above options.
1921 (md_begin): Initialize nop_insn from LOONGSON2F_NOP_INSN.
1922 (fix_loongson2f, fix_loongson2f_nop, fix_loongson2f_jump):
1923 New functions.
1924 (append_insn): call fix_loongson2f().
1925 (mips_handle_align): Replace the implicit nops.
1926 * config/tc-mips.h (MAX_MEM_FOR_RS_ALIGN_CODE): Modified
1927 for the new mips_handle_align().
1928 * doc/c-mips.texi: Document the new options.
1929
56adecf4
DG
19302010-02-23 Daniel Gutson <dgutson@codesourcery.com>
1931
1932 * config/tc-arm.c (do_rd_rm_rn): Added warning
1933 for obsolete insns.
1934
17e57237
NC
19352010-02-23 Andrew Zabolotny <anpaza@mail.ru>
1936
1937 PR binutils/11297
1938 * config/tc-avr.c (md_apply_fix): Handle BFD_RELOC_8.
1939 (avr_cons_fix_new): Handle fixups of a single byte.
1940
8a59fff3
MGD
19412010-02-22 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1942
1943 PR 9861
1944 * config/tc-arm.c (CPU_DEFAULT): Do not define based upon build
1945 compiler's predefines.
1946
487565fe
AM
19472010-02-19 Alan Modra <amodra@gmail.com>
1948
1949 * configure.tgt: Whiltespace. Sort moxie entry.
1950
cd21e546
MGD
19512010-02-18 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1952
1953 * config/tc-arm.c (arm_convert_symbolic_attribute): Add Tag_DIV_use.
1954 * doc/c-arm.texi: Likewise.
1955
77551a33
DG
19562010-02-12 Daniel Gutson <dgutson@codesourcery.com>
1957
1958 * config/tc-arm.c (asm_opcode): operands type
1959 change.
1960 (BAD_PC_ADDRESSING): New macro message.
1961 (BAD_PC_WRITEBACK): Likewise.
1962 (MIX_ARM_THUMB_OPERANDS): New macro.
1963 (operand_parse_code): Added enum values.
1964 (parse_operands): Added thumb/arm distinction,
1965 plus new enum values handling.
1966 (encode_arm_addr_mode_2): Validations enhanced.
1967 (encode_arm_addr_mode_3): Likewise.
1968 (do_rm_rd_rn): Likewise.
1969 (encode_thumb32_addr_mode): Likewise.
1970 (do_t_ldrex): Likewise.
1971 (do_t_ldst): Likewise.
1972 (do_t_strex): Likewise.
1973 (md_assemble): Call parse_operands with
1974 a new parameter.
1975 (OPS_1): New macro.
1976 (OPS_2): Likewise.
1977 (OPS_3): Likewise.
1978 (OPS_4): Likewise.
1979 (OPS_5): Likewise.
1980 (OPS_6): Likewise.
1981 (insns): Updated insns operands.
1982
9d0e8497
TG
19832010-02-12 Tristan Gingold <gingold@adacore.com>
1984 Douglas B Rupp <rupp@gnat.com>
1985
1986 * config/tc-ia64.c (enum reloc_func): Add FUNC_SLOTCOUNT_RELOC.
1987 (DUMMY_RELOC_IA64_SLOTCOUNT): Added.
1988 (pseudo_func): Add an entry for slotcount.
1989 (md_begin): Initialize slotcount pseudo symbol.
1990 (ia64_parse_name): Handle @slotcount parameter.
1991 (ia64_gen_real_reloc_type): Handle slotcount.
1992 (md_apply_fix): Ditto.
1993 * doc/c-ia64.texi (IA-64-Relocs): Document @slotcount.
1994
6fa78d94
SA
19952010-02-11 Sterling Augustine <sterling@jaw.hq.tensilica.com>
1996
1997 * config/tc-xtensa.c (istack_init): Don't call memset.
1998
a89c407e
SA
19992010-02-11 Sterling Augustine <sterling@tensilica.com>
2000
2001 * config/tc-xtensa.c (cache_literal_section): Handle prefixes as
2002 well as suffixes.
2003
6fa78d94 20042010-02-11 Sterling Augustine <sterling@tensilica.com>
a89c407e
SA
2005
2006 * config/tc-xtensa.c (xtensa_find_unaligned_loops): Rewrite.
2007
24981e7b
L
20082010-02-11 H.J. Lu <hongjiu.lu@intel.com>
2009
2010 * config/tc-i386.c (build_modrm_byte): Reformat.
2011
c75ef631
L
20122010-02-11 H.J. Lu <hongjiu.lu@intel.com>
2013
2014 * config/tc-i386.c: Update copyright.
2015
a683cc34
SP
20162010-02-10 Quentin Neill <quentin.neill@amd.com>
2017 Sebastian Pop <sebastian.pop@amd.com>
2018
2019 * config/tc-i386.c (vec_imm4) New operand type.
2020 (fits_in_imm4): New.
2021 (VEX_check_operands): New.
2022 (check_reverse): Call VEX_check_operands.
2023 (build_modrm_byte): Reintroduce code for 5
2024 operand insns. Fix whitespace.
2025
cdc51b07
RS
20262010-02-10 Richard Sandiford <r.sandiford@uk.ibm.com>
2027
2028 * config/tc-ppc.c (md_show_usage): Add -mpwr4, -mpwr5, -mpwr5x,
2029 -mpwr6 and -mpwr7.
2030
3a1e9c4a
SA
20312010-02-09 Sterling Augustine <sterling@tensilica.com>
2032
2033 * config/tc-xtensa.c (RELAXED_LOOP_INSN_BYTES): New.
2034 (next_frag_pre_opcode_bytes): Use RELAXED_LOOP_INSN_BYTES.
2035 (xtensa_mark_zcl_first_insns): Rewrite to handle corner case.
2036
486499d0
CL
20372010-02-08 Christophe Lyon <christophe.lyon@st.com>
2038
2039 * config/tc-arm.c (md_pcrel_from_section): Keep base to zero for
2040 non-local branches (BFD_RELOC_THUMB_PCREL_BRANCH23,
2041 BFD_RELOC_THUMB_PCREL_BLX, BFD_RELOC_ARM_PCREL_BLX,
2042 BFD_RELOC_ARM_PCREL_CALL)
2043
19ef5f3d
SA
20442010-02-08 Sterling Augustine <sterling@tensilica.com>
2045
2046 * config/tc-xtensa.c (frag_format_size): Generalize logic to
2047 handle more instruction sizes and fetch widths.
2048 (branch_align_power): Likewise.
2049 (text_align_power): Likewise.
2050 (bytes_to_stretch): Likewise.
2051
ce3d2015
AM
20522010-02-08 Philipp Tomsich <philipp.tomsich@theobroma-systems.com>
2053
2054 * config/tc-ppc.c (md_show_usage): Mention -mtitan. Don't use tabs.
2055 (ppc_mach): Handle titan.
2056 * doc/c-ppc.texi: Mention -mtitan.
2057
19ef5f3d
SA
20582010-02-05 Sterling Augustine <sterling@tensilica.com>
2059
2060 * config/tc-xtensa.c (UNREACHABLE_MAX_WIDTH): Delete and
2061 replace with...
2062 (xtensa_fetch_width) ...this.
2063
1e4cb857
JM
20642010-02-05 Joseph Myers <joseph@codesourcery.com>
2065
2066 * Makefile.am (CPU_TYPES, OBJ_FORMATS, CPU_OBJ_VALID,
2067 MULTI_CPU_TYPES, MULTI_CPU_OBJ_VALID): Remove.
2068 * Makefile.in: Regenerate.
2069
68339fdf
SP
20702010-02-03 Quentin Neill <quentin.neill@amd.com>
2071
2072 * config/tc-i386.c (cpu_arch): Change amdfam15 to bdver1.
2073 (i386_align_code): Rename PROCESSOR_AMDFAM15 to PROCESSOR_BDVER1.
2074 * config/tc-i386.h (processor_type): Same.
2075 * doc/c-i386.texi: Change amdfam15 to bdver1.
2076
99b253c5
NC
20772010-01-29 Nick Clifton <nickc@redhat.com>
2078
2079 PR 11136
2080 * config/tc-arm.c (neon_check_type): Handle a neon_shape value of
2081 NS_NULL.
2082
31907d5e
DK
20832010-01-27 Dave Korn <dave.korn.cygwin@gmail.com>
2084
2085 * NEWS: Mention new feature.
2086 * config/obj-coff.c (obj_coff_section): Accept digits and use
2087 to override default section alignment power if specified.
2088 * doc/as.texinfo (.section directive): Update documentation.
2089
539f890d
L
20902010-01-27 H.J. Lu <hongjiu.lu@intel.com>
2091
2092 * config/tc-i386.c (avxscalar): New.
2093 (OPTION_MAVXSCALAR): Likewise.
2094 (build_vex_prefix): Select vector_length for scalar instructions
2095 based on avxscalar.
2096 (md_longopts): Add OPTION_MAVXSCALAR.
2097 (md_parse_option): Handle OPTION_MAVXSCALAR.
2098 (md_show_usage): Add -mavxscalar=.
2099
2100 * doc/c-i386.texi: Document -mavxscalar=.
2101
80de6e00
L
21022010-01-24 H.J. Lu <hongjiu.lu@intel.com>
2103
2104 * config/tc-i386.c (build_vex_prefix): Set i.vex.bytes[0] to
2105 0xc4 individually.
2106
c865e45b
RS
21072010-01-23 Richard Sandiford <r.sandiford@uk.ibm.com>
2108
2109 * write.h (fix_at_start): Declare.
2110 * write.c (fix_new_internal): Add at_beginning parameter.
2111 Use it instead of REVERSE_SORT_RELOCS. Fix the handling of
2112 seg_fix_tailP for the at_beginning/REVERSE_SORT_RELOCS case.
2113 (fix_new, fix_new_exp): Update accordingly.
2114 (fix_at_start): New function.
2115 * config/tc-ppc.c (md_pseudo_table): Add .ref to the OBJ_XCOFF section.
2116 (ppc_ref): New function, for OBJ_XCOFF.
2117 (md_apply_fix): Handle BFD_RELOC_NONE for OBJ_XCOFF.
2118 * config/te-i386aix.h (REVERSE_SORT_RELOCS): Remove #undef.
2119
53e5c8fe
RO
21202010-01-21 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
2121
2122 * config/te-solaris.h (DWARF2_EH_FRAME_READ_ONLY): Make read-only
2123 on 64-bit Solaris/x86.
2124 Include obj-format.h earlier.
2125
55786da2 21262010-01-21 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
99b253c5 2127
55786da2
AK
2128 * config/tc-s390.c (s390_elf_final_processing): New function.
2129 * config/tc-s390.h (elf_tc_final_processing): New macro definition.
2130 (s390_elf_final_processing): Added prototype.
2131
2132
760f3a89
NC
21332010-01-20 Nick Clifton <nickc@redhat.com>
2134
2135 PR 11109
2136 * config/tc-arm.c (do_neon_cvt): Rename to do_neon_cvt_1. Add
2137 code to handle round-to-zero for VCVT conversions.
2138 (do_neon_cvt): New. Call do_neon_cvt_1.
2139 (do_neon_cvtr): New. Call do_neon_cvt_1.
2140 (insns): Use do_neon_cvt for VCVT insn and do_neon_cvtr for VCVTR
2141 insn.
2142
37a1f277
TG
21432010-01-18 Tristan Gingold <gingold@adacore.com>
2144
2145 * config/tc-ia64.c (ia64_vms_note): Generate 24 bytes note headers.
760f3a89 2146
a6461c02
SP
21472010-01-15 Sebastian Pop <sebastian.pop@amd.com>
2148
2149 * config/tc-i386.c (md_assemble): Before accessing the IMM field
2150 check that it's not an XOP insn.
2151
62fb9fe1
JZ
21522010-01-14 Jie Zhang <jie.zhang@analog.com>
2153
2154 * config/bfin-aux.h: Remove argument names in function
2155 declarations.
2156 * config/bfin-lex.l (parse_int): Fix shadowed variable name
2157 warning.
2158 * config/bfin-parse.y (value_match): Remove argument names
2159 in declaration.
2160 (notethat): Likewise.
2161 (yyerror): Likewise.
2162
afa62d5e
DJ
21632010-01-13 Daniel Jacobowitz <dan@codesourcery.com>
2164
2165 * config/tc-arm.c (do_t_nop): Correct check for Thumb-2 NOP.
2166
52b010e4
NC
21672010-01-13 Nick Clifton <nickc@redhat.com>
2168
2169 * config/tc-h8300.c (h8300_elf_section): New function - issue a
2170 warning message if a new section is created without setting any
2171 attributes for it.
2172 (md_pseudo_table): Intercept section creation pseudos.
2173 (md_pcrel_from): Replace abort with an error message.
2174 * config/obj-elf.c (obj_elf_section_name): Export this function.
2175 * config/obj-elf.h (obj_elf_section_name): Prototype.
2176
cc761f75
AM
21772010-01-12 Alan Modra <amodra@gmail.com>
2178
2179 PR 11122
2180 * listing.c (print_source): Add one to line number.
2181
3725885a
RW
21822010-01-09 Ralf Wildenhues <Ralf.Wildenhues@gmx.de>
2183
2184 * Makefile.in: Regenerate.
2185 * configure: Regenerate.
2186 * doc/Makefile.in: Regenerate.
2187
5256a5b0
L
21882010-01-08 H.J. Lu <hongjiu.lu@intel.com>
2189
2190 * version.c (parse_args): Change to "Copyright 2010".
2191
69dd9865
SP
21922010-01-06 Quentin Neill <quentin.neill@amd.com>
2193
2194 * config/tc-i386.c (cpu_arch): Add amdfam15.
2195 (i386_align_code): Add PROCESSOR_AMDFAM15 cases.
2196 * config/tc-i386.h (processor_type): Add PROCESSOR_AMDFAM15.
2197 * doc/c-i386.texi: Add amdfam15.
2198
4316f0d2
DG
21992010-01-04 Daniel Gutson <dgutson@codesourcery.com>
2200
2201 * config/tc-arm.c (do_neon_logic): Accept imm value
2202 in the third operand too.
2203 (operand_parse_code): OP_RNDQ_IMVNb renamed to
2204 OP_RNDQ_Ibig.
2205 (parse_operands): OP_NILO case removed, applied renaming.
2206 (insns): Neon shape changed for some logic instructions.
2207
b1a769ed
DG
22082010-01-04 Daniel Gutson <dgutson@codesourcery.com>
2209
2210 * config/tc-arm.c (do_neon_ldx_stx): Added
2211 validation for vector load/store insns.
2212
0dc93057
AM
22132010-01-04 Edmar Wienskoski <edmar@freescale.com>
2214
2215 * config/tc-ppc.c (md_show_usage): Document -me500mc64.
2216
88714cb8
DG
22172010-01-03 Daniel Gutson <dgutson@codesourcery.com>
2218
2219 * config/tc-arm.c (struct arm_it): New flag 'is_neon'.
2220 (NEON_ENC_*): Macros renamed to _NEON_ENC_*.
2221 (NEON_ENCODE): New macro.
2222 (check_neon_suffixes): New macro.
2223 (do_vfp_cond_or_thumb): Set the 'is_neon' flag.
2224 (do_vfp_nsyn_opcode): Likewise.
2225 (do_vfp_nsyn_nmul): Use the new 'NEON_ENCODE' macro.
2226 (do_vfp_nsyn_cmp): Likewise.
2227 (do_neon_shl_imm): Likewise.
2228 (do_neon_qshl_imm): Likewise.
2229 (neon_dyadic_misc): Likewise.
2230 (do_neon_mac_maybe_scalar): Likewise.
2231 (do_neon_qdmulh): Likewise.
2232 (do_neon_qmovn): Likewise.
2233 (do_neon_qmovun): Likewise.
2234 (do_neon_movn): Likewise.
2235 (neon_mac_reg_scalar_long): Likewise.
2236 (do_neon_vmull): Likewise.
2237 (do_neon_trn): Likewise.
2238 (do_neon_ldx_stx): Likewise.
2239 (neon_dp_fixup): Changed signature and set the flag.
2240 (neon_three_same): Call the above with new signature.
2241 (neon_two_same): Likewise.
2242 (neon_imm_shift): Likewise.
2243 (neon_mul_mac): Likewise.
2244 (do_neon_abs_neg): Likewise.
2245 (neon_mixed_length): Likewise.
2246 (do_neon_ext): Likewise.
2247 (do_neon_mov): Likewise.
2248 (do_neon_tbl_tbx): Likewise.
2249 (do_neon_logic): Likewise, and use the new 'NEON_ENCODE' macro.
2250 (neon_compare): Likewise.
2251 (do_neon_shll): Likewise.
2252 (do_neon_cvt): Likewise.
2253 (do_neon_mvn): Likewise.
2254 (do_neon_dup): Likewise.
0dc93057 2255 (md_assemble): Call check_neon_suffixes ().
99f1a7a7 2256
43ecc30f 2257For older changes see ChangeLog-2009
08d56133
NC
2258\f
2259Local Variables:
2260mode: change-log
2261left-margin: 8
2262fill-column: 74
2263version-control: never
2264End:
This page took 1.141759 seconds and 4 git commands to generate.