2012-11-09 Nick Clifton <nickc@redhat.com>
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
708e2187
NC
12012-11-09 Nick Clifton <nickc@redhat.com>
2
3 * config/obj-elf.c (obj_elf_change_section): Allow init array
4 sections to have the SHF_EXECINSTR attribute for the RX target.
5 * config/tc-rx.c (elf_flags): Initialise with E_FLAG_RX_ABI.
6 (enum options): Add OPTION_USES_GCC_ABI and OPTION_USES_RX_ABI.
7 (md_longopts): Add -mgcc-abi and -mrx-abi.
8 (md_parse_option): Add support for OPTION_USES_GCC_ABI and
9 OPTION_USES_RX_ABI.
10 * doc/as.texinfo (RX Options): Add mention of remaining RX
11 options.
12 * doc/c-rx.texi: Document -mgcc-abi and -mrx-abi.
13
de863c74
NC
14 * config/tc-v850.c (v850_target_arch): New.
15 (v850_target_format): New.
16 (set_machine): Use v850_target_arch.
17 (md_begin): Likewise.
18 (md_show_usage): Document new switches.
19 (md_parse_option): Add -mgcc-abi, -mrh850-abi, -m8byte-align and
20 -m4byte-align.
21 * config/tc-v850.c (TARGET_ARCH) Use v850_target_arch.
22 (TARGET_FORMAT): Use v850_target_format.
23 * doc/c-v850.texi: Document new options.
24
f23200ad
ME
252012-11-09 David Holsgrove <david.holsgrove@xilinx.com>
26
27 * gas/microblaze/endian.exp: New file - endian testcase for microblaze / microblazeel.
28 * gas/microblaze/endian.s: Likewise.
29 * gas/microblaze/endian_be.d: Likewise.
30 * gas/microblaze/endian_le.d: Likewise.
31 * gas/microblaze/endian_le_elf.d: Likewise.
32 * gas/microblaze/reloc_sym.d: Update to accept targets other than elf32-microblaze.
33 * gas/microblaze/special_reg.d: Likewise.
34
5bb3703f
L
352012-11-09 H.J. Lu <hongjiu.lu@intel.com>
36
37 * config/atof-ieee.c (gen_to_words): Remove trailing redundant
38 `;'.
39 * config/atof-vax.c (flonum_gen2vax): Likewise.
40 * config/tc-d10v.c (write_2_short): Likewise.
41 * config/tc-i386-intel.c (i386_intel_simplify): Likewise.
42 * config/tc-s390.c (tc_s390_force_relocation): Likewise.
43 * config/tc-v850.c (md_parse_option): Likewise.
44 * config/tc-xtensa.c (find_address_of_next_align_frag): Likewise.
45 * dwarf2dbg.c (out_header): Likewise.
46 * symbols.c (dollar_label_name): Likewise.
47 (fb_label_name): Likewise.
48
5821951c
MR
492012-11-08 Maciej W. Rozycki <macro@codesourcery.com>
50
51 * config/tc-mips.c (mips_ip) <'u'>: Default to BFD_RELOC_LO16.
52
6febeb74
AM
532012-11-08 Alan Modra <amodra@gmail.com>
54
55 * po/POTFILES.in: Regenerate.
56
0570af4f
SK
572012-11-07 James Murray <jsm@jsm-net.demon.co.uk>
58
59 * config/tc-m68hc11.c: Fix R_M68HC12_16B relocation for movb/w
60
34ecb04d
ME
612012-11-07 David Holsgrove <david.holsgrove@xilinx.com>
62
63 * config/tc-microblaze.c: Remove special register condition check
64 for INST_TYPE_RFSL related instructions.
65
234fa27c
AM
662012-11-06 Alan Modra <amodra@gmail.com>
67
68 * config/tc-xgate.c: Make some functions static. Formatting
69 style and whitespace fixes. Wrap overly long lines. Format
70 help message.
71
18498503
AM
722012-11-06 Alan Modra <amodra@gmail.com>
73
74 * config/tc-tic4x.c: Remove alignment TODO comments.
75 (tic4x_do_align): Enable subseg_text_p test.
76
a38a07e0
AM
772012-11-06 Alan Modra <amodra@gmail.com>
78
79 * config/tc-ppc.c (ppc_elf_adjust_symtab): New function, split out..
80 (ppc_frob_file_before_adjust): ..from here.
81 (md_apply_fix): Set BSF_KEEP on .TOC. if not @tocbase.
82 * config/tc-ppc.h (ppc_elf_adjust_symtab): Declare.
83 (tc_adjust_symtab): Define.
84
1ec2d25e
AM
852012-11-06 Alan Modra <amodra@gmail.com>
86
87 * config/tc-ppc.c (md_apply_fix): Fix xcoff build breakage from
88 last patch.
89
9798e45d
SK
902012-11-05 Sean Keys <skeys@ipdatasys.com>
91
92 * config/tc-xgate.c: Remove bogus use of <fx_pcrel_adjust>.
93 * config/tc-m68hc11.c: Likewise.
94
d17dce55
AM
952012-11-05 Alan Modra <amodra@gmail.com>
96
97 * configure.in: Apply 2012-09-10 change to config.in here.
98
552c607f
AM
992012-11-05 Alan Modra <amodra@gmail.com>
100
3b8b57a9
AM
101 * config/tc-ppc.c (md_chars_to_number): Delete.
102 (ppc_setup_opcodes): Assert num_powerpc_operands fit.
103 (ppc_is_toc_sym): Move earlier in file.
104 (md_assemble): Move code setting reloc from md_apply_fix. Combine
105 non-ELF code setting fixup with ELF code. Stash opindex in
106 fx_pcrel_adjust. Adjust fixup offset for VLE. Don't set
107 fx_no_overflow here.
108 (md_apply_fix): Rewrite to use ppc_insert_operand for all
109 resolved instruction fields. Leave insn field zero when
110 emitting an ELF reloc in most cases.
111
552c607f
AM
112 * write.h (struct fix <fx_pcrel_adjust>): Make it a signed char.
113 * config/tc-m68k.c (tc_gen_reloc, md_pcrel_from): Remove explicit
114 sign extendion of fx_pxrel_adjust.
115
c06dec14
MR
1162012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
117
118 * config/tc-mips.c (is_delay_slot_valid): Simplify expression.
119
ddaf2c41
MR
1202012-11-01 Chao-ying Fu <fu@mips.com>
121
122 * config/tc-mips.c (append_insn): Set fx_no_overflow for 16-bit
123 microMIPS branch relocations.
124
e64af278
MR
1252012-11-01 Maciej W. Rozycki <macro@codesourcery.com>
126
127 * config/tc-mips.c (is_delay_slot_valid): Don't accept macros
128 in 16-bit delay slots.
129 (macro_build_jalr): Emit 32-bit JALR if placed in a 32-bit delay
130 slot.
131 (macro) <M_JAL_2>: Likewise
132
28ad2e2d
ME
1332012-10-31 David Holsgrove <david.holsgrove@xilinx.com>
134
135 * config/tc-microblaze.c: Check for weak symbols before
136 emitting relocation.
137
0c5daaa9
AM
1382012-10-29 Alan Modra <amodra@gmail.com>
139
140 * sb.c (sb_check): Use __builtin_clzll when size_t is not the
141 same size as long.
142
ce23608f
AM
1432012-10-29 Alan Modra <amodra@gmail.com>
144
145 * config/tc-ppc.c (ppc_znop): Remove unused vars.
146
1fe532cf
AM
1472012-10-26 Alan Modra <amodra@gmail.com>
148
149 PR target/14758
150 * config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
151 (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
152 (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
153
ef8e09a0
SB
1542012-10-22 Simon Baldwin <simonb@google.com>
155
156 * as.c (dump_statistics): Compute data size as the delta between
157 current sbrk(0) and start_sbrk.
158 * (main): Set start_sbrk to sbrk(0) on entry.
159
70e0ee1a
KT
1602012-10-18 Kai Tietz <ktietz@redhat.com>
161
c207c2c6
KT
162 * config/obj-coff.c: Add include of struc-symbol.h header.
163 (coff_frob_symbol): Check that function-aux entries are generated for
164 defined symbols only.
165
70e0ee1a
KT
166 * doc/as.texinfo: Add missing documentation about section flag
167 exclude.
168
26cbfa82
DA
1692012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
170
8c57c799
DA
171 * config/tc-hppa.c (pa_get_number): New.
172 (pa_get_absolute_expression): Simplify.
173 (pa_ip): Use pa_get_number instead of pa_get_absolute_expression
174 to get SOP, SFU and COPR identifiers.
175
26cbfa82
DA
176 * config/tc-hppa.c (pa_ip): Reject double floating point stores and
177 loads that reference the right half of a floating point register.
178
aa710880
DA
1792012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
180
181 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those
182 not involving a carry.
183
b36546d2
PB
1842012-10-12 Peter Bergner <bergner@vnet.ibm.com>
185
186 * doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
187
56c0a61f
RE
1882012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
189
190 * config/tc-arm.c: Change condition code insertion for
191 lds[hb] instructions from after the 2nd character to after the 3rd.
192 (tCM): Remove macro.
193 (TxCM): Likewise.
194 (TxCM_): Likewise.
195 (TCM): Likewise.
196
5e5c50d3
NE
1972012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
198
199 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
200 * doc/c-i386.texi: Add -march=bdver3 option.
201
04ee5257
NC
2022012-10-04 Nick Clifton <nickc@redhat.com>
203
204 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
205 the error message.
206
cfc72779
AK
2072012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
208
209 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
210 * doc/as.texinfo: Document new option zEC12.
211 * doc/c-s390.texi: Likewise.
212
cbf1fdc9
DD
2132012-10-03 DJ Delorie <dj@redhat.com>
214
215 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
216 be used in expressions.
217
4fc0b46e
AM
2182012-10-01 Alan Modra <amodra@gmail.com>
219
220 * write.c (chain_frchains_together_1): Reorder assertion to avoid
221 uninit warning.
222
b886a2ab
RS
2232012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
224
225 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
226 * config/tc-mips.c (calculate_reloc): New function.
227 (append_insn): Use it. Do not resolve compound relocations here.
228 (mips16_macro_build, mips16_ip): Use calculate_reloc.
229 (mips16_immed_extend): New function, split out from...
230 (mips16_immed): ...here.
231 (mips_frob_file): Handle null symbols.
232 (mips_force_relocation): Remove NEWABI handling.
233 (read_reloc_insn, write_reloc_insn): New functions.
234 (md_apply_fix): Report TLS relocations against constants.
235 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
236 Report relocations against constants that can't be resolved
237 at assembly time.
238
335574df
RS
2392012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
240
241 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
242 mark as incomplete for constant expressions.
243 <BFD_RELOC_MIPS16_JMP>: Likewise.
244
e1b47bd5
RS
2452012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
246 Maciej W. Rozycki <macro@codesourcery.com>
247
248 * config/tc-mips.h (mips_record_label): Delete.
249 (mips_add_dot_label): Declare.
250 (tc_new_dot_label): Use it.
251 * config/tc-mips.c (mips_assembling_insn): New variable.
252 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
253 while the main part of the function is executing.
254 (mips_compressed_mark_label): New function, split out from...
255 (mips_compressed_mark_labels): ...here.
256 (append_insn): Don't call mips_mark_labels here.
257 (mips_record_label): Make local.
258 (mips_add_dot_label): New function.
259
43c0598f
RS
2602012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
261
262 * config/tc-mips.c (SEXT_16BIT): New macro.
263 (mips16_immed): Take the reloc type as a parameter. Do not impose
264 a signed vs. unsigned distinction on the value when a relocation
265 operator was used.
266 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
267 type to mips16_immed.
268 (macro): Use SEXT_16BIT.
269
4d68580a
RS
2702012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
271
272 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
273 New functions.
274 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
275 Use them, and write_compressed_insn.
276
5c04167a
RS
2772012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
278
279 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
280 (MIPS16_EXTEND): New macro.
281 (mips16_opcode_length): New function.
282 (insn_length): Use it.
283 (create_insn): Update after mips_cl_insn change.
284 (write_compressed_insn): New function.
285 (install_insn): Use it.
286 (append_insn): Use insn_length to check for unextended MIPS16
287 instructions.
288 (mips16_macro_build): Update call to mips16_immed.
289 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
290 instruction.
291 (mips16_immed): Remove use_extend and extend; install EXTEND
292 opcodes in the upper 16 bits of *INSN instead. Keep the
293 instruction extended if it already is. Replace warn, small
294 and ext with a forced_insn_length-like parameter.
295 (md_convert_frag): Update call mips16_immed.
296 Use write_compressed_insn.
297
60aa667e
L
2982012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
299
300 * config/tc-i386.c (cpu_arch): Add .cx16.
301 * doc/c-i386.texi: Document .cx16.
302
c76b75fd
SE
3032012-09-19 Steve Ellcey <sellcey@mips.com>
304
305 * configure.tgt: Add mips*-mti-elf* target.
306
4b8c8c02
RE
3072012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
308
309 * config/tc-arm.c: Changed ldra and strl-form mnemonics
310 to lda and stl-form for armv8.
311
5a1ad39d
RE
3122012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
313
314 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
315
6c9c0a50
DE
3162012-09-14 David Edelsohn <dje.gcc@gmail.com>
317
318 * configure: Regenerate.
319
e202fa84
AG
3202012-09-13 Anthony Green <green@moxielogic.com>
321
322 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
323 (TARGET_FORMAT): Don't hard-code endian-ness.
324 * config/tc-moxie.c (target_big_endian, moxie_target_format):
325 Define.
326 (md_assemble): Handle bi-endian encodings.
327 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
328 (md_number_to_chars, md_chars_to_number): Update for bi-endian
329 support.
330
f41aef5f
RE
3312012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
332
333 * config/tc-aarch64.c
334 (reloc_table): Add reloc to table entry.
335 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
336 (parse_operands): Check for unused reloc.
337 (md_apply_fix): New case for reloc.
338 (aarch64_force_relocation): Likewise.
1179bed3
DC
339
3402012-09-11 Georg-Johann Lay <avr@gjlay.de>
341
342 PR gas/13503
343 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
344 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
345
5c7a0b3e
AM
3462012-09-11 Alan Modra <amodra@gmail.com>
347
348 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
349 * Makefile.in: Regenerate.
350
00716ab1
AM
3512012-09-10 Matthias Klose <doko@ubuntu.com>
352
353 * config.in: Disable sanity check for kfreebsd.
354
6d2920c8
L
3552012-09-10 H.J. Lu <hongjiu.lu@intel.com>
356
357 * configure: Regenerated.
358
7078b409
AG
3592012-09-07 Anthony Green <green@moxielogic.com>
360
361 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
6d2920c8 362 to the address following the branch instruction.
7078b409 363
1dd53816
AK
3642012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
365
366 * config/tc-s390.c (set_highgprs_p): New variable.
367 (s390_machinemode): New function.
368 (md_pseudo_table): Add new pseudo command machinemode.
369 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
370 specified on command line.
371 (s390_elf_final_processing): Set the highgprs flag in the ELF
372 header depending on set_highgprs_p.
373
374 * doc/c-s390.texi: Document new pseudo machinemode.
375
47527d7e
JL
3762012-09-05 James Lemke <jwlemke@codesourcery.com>
377
378 * doc/c-ppc.texi: Document -mvle.
b4b783be 379 * doc/as.texinfo: Likewise.
47527d7e 380
b3e14eda
L
3812012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
382
383 * config/tc-ia64.c (reg_symbol): Add a new register.
384 (indirect_reg): Ditto.
385 (pseudo_func): Add new symbolic constants.
386 (operand_match): Add new operand types recognition.
387 (operand_insn): Add new register recognition.
388 (md_begin): Add new register definition.
389 (specify_resource): Add new register recognition.
390
6c106515
HPN
3912012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
392
393 PR gas/14521
394 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
395 after call to mmix_frob_file.
396
b1929900
MR
3972012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
398
399 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
400 option.
401
e5b95258
WL
4022012-08-27 Walter Lee <walt@tilera.com>
403
404 * tc-tilegx.c (O_hw0_plt): Define operator.
405 (O_hw1_plt): Ditto.
406 (O_hw1_last_plt): Ditto.
407 (O_hw2_last_plt): Ditto.
408 (md_begin): Handle new operators.
409 (emit_tilegx_instruction): Ditto.
410 (md_apply_fix): Ditto.
411 * doc/c-tilegx.texi: Document new operators.
412
3c9017d2
MGD
4132012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
414
415 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
416 (do_sha1h): New function.
417 (do_sha1su1): Likewise.
418 (do_sha256su0): Likewise.
419 (insns): Add 2 operand SHA instructions.
420
48adcd8e
MGD
4212012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
422
423 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
424 (do_crypto_3op_1): New function.
425 (do_sha1c): Likewise.
426 (do_sha1p): Likewise.
427 (do_sha1m): Likewise.
428 (do_sha1su0): Likewise.
429 (do_sha256h): Likewise.
430 (do_sha256h2): Likewise.
431 (do_sha256su1): Likewise.
432 (insns): Add SHA 3 operand instructions.
433
4f51b4bd
MGD
4342012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
435
436 * config/tc-arm.c (neon_type_mask): Add P64 type.
437 (type_chk_of_el_type): Handle P64 type.
438 (el_type_of_type_chk): Likewise.
439 (do_neon_vmull): Handle VMULL.P64.
440
91ff7894
MGD
4412012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
442
443 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
444 (neon_type_mask): Add N_UNT.
445 (neon_check_type): Don't always decay typed to untyped sizes.
446 (do_crypto_2op_1): New function.
447 (do_aese): Likewise.
448 (do_aesd): Likewise.
449 (do_aesmc.8): Likewise.
450 (do_aesimc.8): Likewise.
451 (insns): Add AES instructions.
452
c70a8987
MGD
4532012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
454
455 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
456 floating point types.
457 (do_neon_cvttb_2): New function.
458 (do_neon_cvttb_1): Likewise.
459 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
460 (do_neon_cvtt): Likewise.
461
30bdf752
MGD
4622012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
463
464 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
465 (neon_cvt_mode): Add neon_cvt_mode_r.
466 (do_vrint_1): New function.
467 (do_vrint_x): Likewise.
468 (do_vrint_z): Likewise.
469 (do_vrint_r): Likewise.
470 (do_vrint_a): Likewise.
471 (do_vrint_n): Likewise.
472 (do_vrint_p): Likewise.
473 (do_vrint_m): Likewise.
474 (insns): Add VRINT instructions.
475
7e8e6784
MGD
4762012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
477
478 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
479 (neon_cvt_mode): New enumeration.
480 (do_vfp_nsyn_cvt_fpv8): New function.
481 (do_neon_cvt_1): Add support for new conversions.
482 (do_neon_cvtr): Use neon_cvt_mode enumerator.
483 (do_neon_cvt): Likewise.
484 (do_neon_cvta): New function.
485 (do_neon_cvtn): Likewise.
486 (do_neon_cvtp): Likewise.
487 (do_neon_cvtm): Likewise.
488 (insns): Add new VCVT instructions.
489
6b9a8b67
MGD
4902012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
491
492 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
493 (CVT_VAR): New helper define.
494 (neon_cvt_flavour): New enumeration, function renamed...
495 (get_neon_cvt_flavour): ...to this.
496 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
497 (do_vfp_nsyn_cvtz): Likewise.
498 (do_neon_cvt_1): Likewise.
499
73924fbc
MGD
5002012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
501
502 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
503 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
504 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
505 (do_maxnm): New function.
506 (insns): Add vmaxnm, vminnm entries.
507
33399f07
MGD
5082012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
509
510 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
511 (NEON_ENC_FPV8_): New define.
512 (do_vfp_nsyn_fpv8): New function.
513 (do_vsel): Likewise.
514 (insns): Add VSEL instructions.
515
9eb6c0f1
MGD
5162012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
517
518 * config/tc-arm.c (do_rm_rn): New function.
519 (do_strlex): Likewise.
520 (do_t_strlex): Likewise.
521 (insns): Add support for LDRA/STRL instructions.
522
8884b720
MGD
5232012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
524
525 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
526 (do_t_hlt): New function.
527 (do_t_bkpt): Use do_t_bkpt_hlt1.
528 (insns): Add HLT.
529
b79f7053
MGD
5302012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
531
532 * config/tc-arm.c (insns): Add DCPS instruction.
533
53c4b28b
MGD
5342012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
535
536 * config/tc-arm.c (T16_32_TAB): Add _sevl.
537 (insns): Add SEVL.
538
e797f7e0
MGD
5392012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
540
541 * config/tc-arm.c (asm_barrier_opt): Add arch field.
542 (mark_feature_used): New function.
543 (parse_barrier): Check specified option is valid for the
544 specified architecture.
545 (UL_BARRIER): New macro.
546 (barrier_opt_names): Update for new barrier options.
547
12e37cbc
MGD
5482012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
549
550 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
551 (do_t_setend): Likewise.
552
5a01bb1d
MGD
5532012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
554
555 * config/tc-arm.c (do_t_it): Fully initialise now_it.
556 (new_automatic_it_block): Likewise.
557 (handle_it_block): Record whether current instruction is
558 conditionally executed.
559 * config/tc-arm.c (depr_insn_mask): New structure.
560 (depr_it_insns): New variable.
561 (it_fsm_post_encode): Warn on deprecated uses.
562 * config/tc-arm.h (current_it): Add new fields.
563
dcbd0d71
MGD
5642012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
565
566 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
567 (deprecated_coproc_regs): New variable.
568 (deprecated_coproc_reg_count): Likewise.
569 (do_co_reg): Error on obsolete & warn on deprecated registers.
570
59d09be6
MGD
5712012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
572
573 * config/tc-arm.c (check_obsolete): New function.
574 (do_rd_rm_rn): Check swp{b} for obsoletion.
575
bca38921
MGD
5762012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
577
578 * config/tc-arm.h (arm_ext_v8): New variable.
579 (fpu_vfp_ext_armv8): Likewise.
580 (fpu_neon_ext_armv8): Likewise.
581 (fpu_crypto_ext_armv8): Likewise.
582 (arm_archs): Add armv8-a.
583 (arm_extensions): Add crypto, fp, and simd.
584 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
585 (cpu_arch_ver): Add support for ARMv8.
586 (aeabi_set_public_sttributes): Likewise.
587 * doc/c-arm.texi (ARM Options): Document new architecture and
588 extension options for ARMv8.
589
542385d9
L
5902012-08-20 H.J. Lu <hongjiu.lu@intel.com>
591
592 * doc/as.texinfo: Replace --n32 with --x32.
593
7b458c12
L
5942012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
595
596 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
597 CPU_BTVER2_FLAGS.
598 (i386_align_code): Add case for PROCESSOR_BT.
599
600 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
601
602 * doc/c-i386.texi: Add -march={btver1, btver2} options.
603
f76bf5e0
L
6042012-08-14 H.J. Lu <hongjiu.lu@intel.com>
605
606 PR gas/14457
607 * config/tc-i386.c (i386_att_operand): Terminate register name
608 when reporting bad register.
609
c3330fbe
HPN
6102012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
611
612 * config/tc-mmix.c (loc_asserts): New variable.
613 (mmix_greg_internal): Handle expressions not determinable at first
614 pass.
615 (s_loc): Ditto. Record expressions where the section isn't
616 determinable at the first pass, and assume they don't refer to
617 other sections.
618 (mmix_md_end): Verify that recorded LOC expressions weren't
619 to other sections, else emit error messages.
620
a06ea964
NC
6212012-08-13 Ian Bolton <ian.bolton@arm.com>
622 Laurent Desnogues <laurent.desnogues@arm.com>
623 Jim MacArthur <jim.macarthur@arm.com>
624 Marcus Shawcroft <marcus.shawcroft@arm.com>
625 Nigel Stephens <nigel.stephens@arm.com>
626 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
627 Richard Earnshaw <rearnsha@arm.com>
628 Sofiane Naci <sofiane.naci@arm.com>
629 Tejas Belagod <tejas.belagod@arm.com>
630 Yufeng Zhang <yufeng.zhang@arm.com>
631
632 * Makefile.am: Add AArch64.
633 * Makefile.in: Regenerate.
634 * config/tc-aarch64.c: New file.
635 * config/tc-aarch64.h: New file.
636 * configure.tgt: Add AArch64.
637 * doc/Makefile.am: Add AArch64.
638 * doc/Makefile.in: Regenerate.
639 * doc/all.texi: Add AArch64.
640 * doc/as.texinfo: Add AArch64.
641 * doc/c-aarch64.texi: New file.
642 * po/POTFILES.in: Regenerate.
643 * NEWS: Mention the new support.
644
35d0a169
MR
6452012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
646
647 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
648 (is_opcode_valid): Remove coprocessor instruction exclusions.
649 Replace OPCODE_IS_MEMBER with opcode_is_member.
650 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
651 opcode_is_member.
652 (macro): Remove coprocessor instruction exclusions.
653
a276b80c
MR
6542012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
655
656 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
657 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
658
848930b2
JB
6592012-08-07 Jan Beulich <jbeulich@suse.com>
660
661 * config/tc-i386-intel.c (build_modrm_byte): Split determining
662 default segment from figuring out encoding. Honor RegRex for
663 the former.
664
7bab8ab5
JB
6652012-08-07 Jan Beulich <jbeulich@suse.com>
666
667 * config/tc-i386.c (set_check): Renamed from set_sse_check.
668 Generalize to also handle operand checking option.
669 (enum i386_error): New enumerator 'invalid_vector_register_set'.
670 (match_template): Handle it.
671 (enum check_kind): Give it a tag. Drop sse_ prefixes from
672 enumerators.
673 (operand_check): New.
674 (md_pseudo_table): Add "operand_check".
675 (check_VecOperands): Don't special case RIP addressing. Check
676 that vSIB operands use distinct vector registers unless no
677 checking was requested.
678 (OPTION_MOPERAND_CHECK): New.
679 (md_parse_option): Handle it.
680 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
681 (md_longopts): Add "moperand-check".
682 (md_show_usage): Add help text for it.
683
4c692bc7
JB
6842012-08-07 Jan Beulich <jbeulich@suse.com>
685
686 * config/tc-i386.c (register_number): New function.
687 (build_vex_prefix, process_immext, process_operands,
688 build_modrm_byte, i386_index_check): Use it.
689
a988325c
NC
6902012-08-07 Daniel Green <venix1@gmail.com>
691
692 * config/tc-i386.c (lex_got): Provide implementation for PE
693 format.
694
464ab0e5
MR
6952012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
696
697 * config/tc-mips.c (append_insn): Also handle moving delay-slot
698 instruction across frags for fixed branches.
699
3db8daf3
MR
7002012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
701
702 * frags.c (frag_grow): Never shrink the obstack size requested
703 below the default.
704
03d46c0e
SK
7052012-08-02 Sean Keys <skeys@ipdatasys.com>
706
707 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
708 New function to parse pseudo ops that are unreleated to
709 existing pseudo ops.
710
711eefe4
SL
7112012-08-01 Catherine Moore <clm@codesourcery.com>
712 Sandra Loosemore <sandra@codesourcery.com>
713
714 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
715 * doc/c-mips.texi (MIPS Opts): Document it.
716
8fbf7334
JL
7172012-08-01 James Lemke <jwlemke@codesourcery.com>
718
4e47244d 719 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 720 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 721 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
722 and initialize.
723 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 724 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
725 variable reference.
726
03f66e8a 7272012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
728 Chao-Ying Fu <fu@mips.com>
729 Catherine Moore <clm@codesourcery.com>
03f66e8a 730
7a2d09cc
MR
731 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
732 mode.
733 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
734 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
735 (macro) <M_BALIGN>: Update error handling.
736 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
737 <'7', '8', '0', '@', '^'>: Likewise.
738 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
739 <'9'>: Fix formatting.
740 <'0', '@'>: Handle microMIPS.
741 <'^'>: New case.
742
4a2608e3
JB
7432012-07-31 Jan Beulich <jbeulich@suse.com>
744
745 * config/tc-i386.c (match_template): Adjust error message
746 for 'bad_imm4' case.
747
5a819eb9
JB
7482012-07-31 Jan Beulich <jbeulich@suse.com>
749
750 * config/tc-i386.c (check_byte_reg): Check for I/O port
751 register earlier, and just once. Drop diagnostic that got
752 issued only for some registers.
753
5614d22c
JB
7542012-07-31 Jan Beulich <jbeulich@suse.com>
755
756 * config/tc-i386.c (match_template): New local variable
757 'specific_error'. Set it from i.error after failed
758 check_VecOperands or VEX_check_operands. Use it if set in
759 preference to i.error when actually issuing disagnostic.
760
a6dc81d2
NC
7612012-07-30 Nick Clifton <nickc@redhat.com>
762
763 * po/gas.pot: Updated template.
764 * po/es.po: Updated Spanish translation.
765 * po/fi.po: Updated Finnish translation.
766 * po/fr.po: Updated French translation.
767
c4dd807e
MF
7682012-07-27 Mike Frysinger <vapier@gentoo.org>
769
770 * configure.in (BFD_VERSION): Run bfd/configure --version and
771 parse the output of that.
772 * configure: Regenerate.
773
af18cb59
TG
7742012-07-27 Tristan Gingold <gingold@adacore.com>
775
776 * NEWS: Add marker for 2.23.
777
204d254e
SK
7782012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
779
780 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
781
c71bb85d
SB
7822012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
783
784 * listing.c (struct list_message): New.
785 (struct list_info_struct): Delete "message". Add "messages"
786 and "last_message".
787 (listing_message): Adjust.
788 (listing_newline): Adjust.
789 (print_lines): Adjust.
790
9e2934f7
JB
7912012-07-24 Jan Beulich <jbeulich@suse.com>
792
793 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
794 xmm/ymm index register being specified first as well as esp/rsp
795 base register being specified last in a memory operand.
796
8280f326
JB
7972012-07-24 Jan Beulich <jbeulich@suse.com>
798
799 * config/tc-i386-intel.c (i386_intel_simplify_register):
800 Replace literal 4 by corresponding ESP_REG_NUM.
801
5e73442d
SL
8022012-07-24 Sandra Loosemore <sandra@codesourcery.com>
803 Jie Zhang <jzhang918@gmail.com>
804
805 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
806 if offset is negative.
807
e2e1fcde
L
8082012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
809
810 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
811 * doc/c-i386.texi: Document the new directives.
812
6b0d957e 8132012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
814
815 * config/tc-xgate.c: Revised assembler so that operands
816 are collected before the addressing mode is determined.
6b0d957e 817
586ec8c1
NC
8182012-07-02 Nick Clifton <nickc@redhat.com>
819
820 * write.c (fixup_segment): Only perform the subtraction of an
821 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
822 properly defined.
823 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
824
e95a6b1c
AM
8252012-06-30 Alan Modra <amodra@gmail.com>
826
827 PR gas/14315
828 * config/obj-elf.c (obj_elf_weak): Don't set local.
829
08ea7020
AM
8302012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
831
832 * frags.h (frag_offset_fixed_p): Update prototype.
833 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
834 * expr.c (expr, resolve_expression): Likewise for frag_off var.
835
99aad254
NC
8362012-06-29 Nick Clifton <nickc@redhat.com>
837
838 PR gas/14263
839 * config/tc-arm.c (parse_operands): Initialise val.
840
2b2f5df9
NC
8412012-06-28 Nick Clifton <nickc@redhat.com>
842
843 PR gas/14260
844 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
845 message if literal pool addressing is used.
846
453dc3f0
NC
8472012-06-28 Nick Clifton <nickc@redhat.com>
848
849 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
850 linker relaxation.
851 (dwarf2_gen_line_info): Generate real, local, labels for line
852 numbers.
853 (dwarf2dbg_convert_frag): Do not finalize the computation of the
854 frag's symbol value when linker relaxation is enabled.
855 (ADDR_DELTA_LIMIT): Define.
856 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
857 (emit_fixed_inc_line_addr): Likewise.
858 * write.c (fixup_segment): If the subtraction of two symbols
859 cannot be resolved but is valid, then prevent bogus range warnings
860 by pre-biasing add_number.
861 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
862
6b0d957e
SK
8632012-06-28 Sean Keys <skeys@ipdatasys.com>
864
4e47244d
L
865 * config/tc-xgate.h: Defined tc_frob_symbol.
866 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
867 symbols as being XGATE by setting st_target_internal value.
6b0d957e 868
29c048b6
RM
8692012-06-22 Roland McGrath <mcgrathr@google.com>
870
fe13e45b
RM
871 * NEWS: Mention 'rep ret' too.
872
29c048b6
RM
873 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
874 when the template has opcode_modifier.repprefixok set.
875 * NEWS: Mention the change.
876
a574142b
AM
8772012-06-18 Iain Sandoe <iain@codesourcery.com>
878
879 * configure.in: Check DECLS for free, getenv, malloc, realloc,
880 * configure: Regenerate.
881 * config.in: Likewise.
882
357d1bd8
L
8832012-06-13 H.J. Lu <hongjiu.lu@intel.com>
884
885 * config/tc-i386.c (x86_address_bytes): New.
886 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
887 (x86_address_bytes): Likewise.
888
1a43faaf
NC
8892012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
890
891 PR gas/12698
892 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
893 architecure when assembling for all archiectures.
894 (do_t_msr): Likewise.
895
e4efb665
NC
8962012-06-11 Georg-Johann Lay <avr@gjlay.de>
897
898 PR 13503
899 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
900 from 2012-05-16.
901
d2ae702c
L
9022012-06-09 H.J. Lu <hongjiu.lu@intel.com>
903
904 * input-scrub.c (input_scrub_include_sb): Use sb_build to
905 allocate sufficient space for from_sb. Use sb_terminate to
906 terminate string.
907 * read.c (read_a_source_file): Use sb_build to allocate
908 sufficient space and replace sb_add_string with sb_add_buffer.
909 (s_macro): Likewise.
910 (input_scrub_insert_line): Likewise.
911 (s_irp): Use sb_build to allocate sufficient space.
912 (do_repeat): Use sb_build to allocate sufficient space
913 for many.
914 * sb.c (sb_build): Remove static.
915 * sb.h (sb_build): New prototype.
916
5197bfb5
AM
9172012-06-09 Alan Modra <amodra@gmail.com>
918
919 * sb.c: Include limits.h.
920 (dsize): Delete.
921 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
922 (sb_new): Use INIT_ALLOC.
923 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
924 (sb_terminate): Don't use sb_add_char.
925
39a45edc
AM
9262012-06-07 Alan Modra <amodra@gmail.com>
927
928 PR gas/14201
929 * sb.h (sb_max_power_two): Delete.
930 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
931 (sb_element): Delete.
932 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
933 prototypes.
934 * sb.c (string_count, free_list): Delete.
935 (sb_build, sb_kill, sb_check): Rewrite.
936 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
937 sb_skip_white, sb_skip_comma): Replace assorted int params,
938 vars and return types with size_t.
939 * input-scrub.c: Likewise.
940 * macro.c: Likewise.
941 * macro.h: Likewise.
942 * as.c: Likewise.
943 * as.h: Likewise.
944 * input-file.h: Likewise.
945 * input-file.c: Likewise.
946 * read.c: Likewise.
947 * app.c: ..or ptrdiff_t.
948 * input-file.c (input_file_get): Use ferror.
949 (input_file_give_next_buffer): Use input_file_get.
950
6b0d957e
SK
9512012-05-31 Sean Keys <skeys@ipdatasys.com>
952
4e47244d 953 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 954
d416e51d
RM
9552012-05-29 Roland McGrath <mcgrathr@google.com>
956
957 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
958 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
959 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
960 pairs.
961
7bfd842d
NC
9622012-05-28 Nick Clifton <nickc@redhat.com>
963
964 * read.c (read_symbol_name): New function. Reads a symbol names.
965 Allows escape codes in names.
966 (s_comm_internal): Use read_symbol_name.
967 (s_globl, s_lsym, s_set, s_weakref): Likewise.
968 * doc/as.texinfo: Document support for multibyte characters in
969 symbol names.
970
95bfe26e
MF
9712012-05-21 Mike Frysinger <vapier@gentoo.org>
972
973 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
974 is non-NULL.
975
59365e19
AM
9762012-05-19 Alan Modra <amodra@gmail.com>
977
978 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
979 targets when checking for "comdat".
980
f3719d90
AM
9812012-05-19 Alan Modra <amodra@gmail.com>
982
983 * config/tc-dlx.c (s_proc): Don't use asprintf.
984
74cda0c4
AM
9852012-05-18 Alan Modra <amodra@gmail.com>
986
987 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
988 return value.
989
d6ed37ed
AM
9902012-05-18 James Lemke <jwlemke@codesourcery.com>
991 Alan Modra <amodra@gmail.com>
992
993 * config/tc-ppc.c: Don't capitalise error and warning messages.
994 (md_parse_option): Add checks for -a32 -mvle.
995
222661cb
AM
9962012-05-18 Alan Modra <amodra@gmail.com>
997
998 * config/obj-evax.c: Include as.h first.
999
f2c621e4
AS
10002012-05-18 Andreas Schwab <schwab@linux-m68k.org>
1001
1002 * aclocal.m4: Regenerate.
1003 * configure: Regenerate.
1004 * Makefile.in: Regenerate.
1005
df7b86aa
NC
10062012-05-17 Daniel Richard G. <skunk@iskunk.org>
1007 Nick Clifton <nickc@redhat.com>
1008
1009 PR 14072
1010 * configure.in: Add check that sysdep.h has been included before
1011 any system header files.
1012 * configure: Regenerate.
1013 * config.in: Regenerate.
1014 * aclocal.m4: Regenerate.
1015 * Makefile.am: Use wrappers around C files generated by flex.
1016 * Makefile.in: Regenerate.
1017 * doc/Makefile.in: Regenerate.
1018 * itbl-lex-wrapper.c: New file.
1019 * config/bfin-lex-wrapper.c: New file.
1020 * cgen.c: Include as.h before setjmp.h.
1021 * config/tc-dlx.c: Include as.h before any other header.
1022 * config/tc-h8300.c: Likewise.
1023 * config/tc-lm32.c: Likewise.
1024 * config/tc-mep.c: Likewise.
1025 * config/tc-microblaze.c: Likewise.
1026 * config/tc-mmix.c: Likewise.
1027 * config/tc-msp430.c: Likewise.
1028 * config/tc-or32.c: Likewise.
1029 * config/tc-tic4x.c: Likewise.
1030 * config/tc-tic54x.c: Likewise.
1031 * config/tc-xtensa.c: Likewise.
1032
a0f49396
NC
10332012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
1034
1035 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
1036 as the first argument for `bfd_get_section_vma'.
1037
536695d0
NC
10382012-05-16 Alberto Garcia <agarcia@igalia.com>
1039
1040 PR gas/14082
1041 * app.c (do_scrub_chars): Prevent possible out of bounds access to
1042 lex[] array.
1043
40551fb8
NC
10442012-05-16 Georg-Johann Lay <avr@gjlay.de>
1045
1046 PR target/13503
1047 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
1048 R_AVR_8_HLO8.
1049 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
1050 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
1051
c1c30076
NS
10522012-05-16 Nathan Sidwell <nathan@codesourcery.com>
1053 Kwok Cheung Yeung <kcy@codesourcery.com>
1054
1055 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
1056 51qm variants.
1057
6927f982
NC
10582012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
1059
1060 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
1061 Add option to offset S12 addresses into XGATE memory space.
1062 Tweak target flags to match other tools. (i.e. -m m68hc11).
1063 * doc/as.texinfo: Mention new options.
1064 * doc/c-m68hc11.texi: Document new options.
1065 * NEWS: Mention new support.
1066
0e25bcb4
DD
10672012-05-14 DJ Delorie <dj@redhat.com>
1068
918edac3
DD
1069 * config/rx-parse.y (rx_range): declare.
1070 (O1,O2,O3,O4): Add calls to rx_range.
1071 (UO1,UO2,UO3): Likewise.
1072 (IMM2,IMMB): Likewise.
1073 (rx_range): New.
1074
0e25bcb4
DD
1075 * config/tc-rx.c (rx_fetchalign): Declare.
1076 (md_pseudo_table): Add .fetchalign.
1077 (RX_NBASE_FETCHALIGN): New.
1078 (fetchalign_bytes): New.
1079 (rx_fetchalign): New.
1080 (rx_frag_init): If a "magic" value is found, also init the
1081 machine-specific data.
1082 (md_assemble): Note following opcode size if called for.
1083 (rx_next_opcode): New.
1084 (rx_relax_frag): Support .fetchalign.
1085 (md_convert_frag): Likewise.
1086 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
1087
b9c361e0
JL
10882012-05-14 James Lemke <jwlemke@codesourcery.com>
1089
1090 * config/tc-ppc.c (insn_validate): New func of existing code to call..
1091 (ppc_setup_opcodes): ..from 2 places here.
1092 Revise for second (VLE) opcode table.
1093 Add #ifdef'd code to print opcode tables.
1094
10952012-05-14 James Lemke <jwlemke@codesourcery.com>
1096
1097 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
1098 for the VLE conditional branches.
1099
11002012-05-14 Catherine Moore <clm@codesourcery.com>
1101 Maciej W. Rozycki <macro@codesourcery.com>
1102 Rhonda Wittels <rhonda@codesourcery.com>
1103
1104 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
1105 (PPC_VLE_SPLIT16D): New macro.
1106 (PPC_VLE_LO16A): New macro.
1107 (PPC_VLE_LO16D): New macro.
1108 (PPC_VLE_HI16A): New macro.
1109 (PPC_VLE_HI16D): New macro.
1110 (PPC_VLE_HA16A): New macro.
1111 (PPC_VLE_HA16D): New macro.
1112 (PPC_APUINFO_VLE): New definition.
1113 (md_chars_to_number): New function.
1114 (md_parse_option): Check for combinations of little
1115 endian and -mvle.
1116 (md_show_usage): Document -mvle.
1117 (ppc_arch): Recognize VLE.
1118 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 1119 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
1120 * config/tc-ppc.h (ppc_frag_check): Declare.
1121 * doc/c-ppc.texi: Document -mvle.
1122 * NEWS: Mention PowerPC VLE port.
1123
11242012-05-14 Catherine Moore <clm@codesourcery.com>
1125
1126 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
1127 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
1128 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
1129 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 1130 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 1131
56e63005
L
11322012-05-12 H.J. Lu <hongjiu.lu@intel.com>
1133
1134 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
1135 for BFD_RELOC_64.
1136
208a4923
NC
11372012-05-11 Daniel Richard G. <skunk@iskunk.org>
1138
1139 PR binutils/14028
1140 * configure.in: Invoke ACX_HEADER_STRING.
1141 * configure: Regenerate.
1142 * config.in: Regenerate.
1143 * as.h: If STRINGS_WITH_STRING is defined then include both
1144 string.h and strings.h.
1145
99700d6f
NC
11462012-05-11 Georg-Johann Lay <avr@gjlay.de
1147
1148 PR target/13503
1149 * config/tc-avr.c (exp_mod_pm): Remove variable.
1150 (exp_mod_data_t): New typedef.
1151 (pexp_mod_data, exp_mod_data): New variables.
1152 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
1153 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
1154 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
1155 (avr_cons_fix_new): Handle new data expression modifiers shipped
1156 in pexp_mod_data.
1157 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
1158 BFD_RELOC_AVR_8_HHI.
1159
268a8d3a
L
11602012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1161
1162 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
1163 addend overflow check.
1164
6f2c9068
L
11652012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1166
1167 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
1168 x32 addend overflow check.
1169
83acd3e8
L
11702012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1171
1172 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
1173
8cf0d2dd
L
11742012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1175
1176 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
1177 for BFD_RELOC_64.
1178
e5b62927
AM
11792012-05-08 Alan Modra <amodra@gmail.com>
1180
1181 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
1182 LC and LANG environment vars.
1183 * Makefile.in: Regenerate.
1184
cce3d66c
AM
11852012-05-07 Alan Modra <amodra@gmail.com>
1186
1187 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1188 * Makefile.in: Regenerate.
1189
25045f79
AM
11902012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1191
1192 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
1193 * config/tc-z80.c(md_begin): Store register names in symbol table,
1194 preventing usage as ordinary symbol.
25045f79
AM
1195 * config/tc-z80.c(contains_register): New function.
1196 * config/tc-z80.c(parse_exp2): Removed.
1197 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
1198 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1199 addressing after parsing.
25045f79 1200 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
1201 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1202 condition for jump to register.
1203 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1204 parse_exp_not_indexed.
25045f79 1205
45dfa85a
AM
12062012-05-05 Alan Modra <amodra@gmail.com>
1207
1208 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1209 bfd_und_section and bfd_ind_section with their _ptr variants, or
1210 use corresponding bfd_is_* macros.
1211 * symbols.c: Likewise.
1212 * config/obj-aout.c: Likewise.
1213 * config/obj-coff-seh.h: Likewise.
1214 * config/tc-hppa.c: Likewise.
1215 * config/tc-hppa.h: Likewise.
1216 * config/tc-ia64.c: Likewise.
1217 * config/tc-m32r.c: Likewise.
1218 * config/tc-microblaze.c: Likewise.
1219 * config/tc-mips.c: Likewise.
1220 * config/tc-score.c: Likewise.
1221 * config/tc-score7.c: Likewise.
1222 * config/tc-tic6x.c: Likewise.
1223
3c995545
L
12242012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1225
1226 * configure.tgt: Support x86_64-*-linux-gnux32.
1227
35262a23
L
12282012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1229
1230 * config/tc-i386.c (match_template): Add `instruction' to
1231 unsupported error message.
1232
89e71f5c
L
12332012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1234
1235 * config/tc-i386.c (output_insn): Reformat.
1236
ae5c1c7b
L
12372012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1238
1239 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1240
10efe3f6
L
12412012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1242
1243 * config/tc-i386.c (match_template): Improve unsupported error
1244 message.
1245
f6c1a2d5
NC
12462012-05-03 Sean Keys <skeys@ipdatasys.com>
1247
1248 * configure, Makefile.in: Regenerate.
1249 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1250 * configure.tgt: Added cpu type.
1251 Added files for XGATE assembler.
1252 * config/tc-xgate.c: Assembler for XGATE.
1253 * config/tc-xgate.h: Header definition for assembler
1254 Added files for XGATE testsuite.
1255 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1256 * doc/c-xgate.texi: Document XGATE and XGATE port.
1257 * doc/as.texinfo: Ditto.
1258 * doc/all.texi: Ditto
1259 * NEWS: Mention the new support.
1260
cad335c9
DD
12612012-04-30 DJ Delorie <dj@redhat.com>
1262
1263 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1264 Check for large positive constants really being small negative
1265 ones.
1266 (BRA, BSR): Update calls to rx_intop.
1267 (immediate): Likewise.
1268
88ebb0a1
MW
12692012-04-26 Mark Wielaard <mjw@redhat.com>
1270
1271 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1272 (DWARF2_LINE_VERSION): Likewise.
1273 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1274 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1275 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1276 DWARF2_VERSION >= 4.
1277 (out_debug_info): Use difference between start and end as data
1278 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1279 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1280
ec668d69
DM
12812012-04-27 David S. Miller <davem@davemloft.net>
1282
2755f698
DM
1283 * doc/c-sparc.text: Document %l34 and %h34.
1284
2e52845b
DM
1285 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1286
58004e23
DM
1287 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1288 v8pluse, v8plusv, v9e, and v9v.
1289 (v9a_asr_table): Add 'pause'.
1290
698544e1
DM
1291 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1292 sparc4, v8pluse, v8plusv, v9e, and v9v.
1293 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1294 order to accomodate cbcond which otherwise would require two
1295 relocations to be handled in a single instruction..
1296
6cda1326
DM
1297 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1298 names containing "_".
1299 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1300 hwcap masks to v8plusv and v9v.
1301
ec668d69
DM
1302 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1303 masks.
1304 (sparc_md_end): No longer need to translate hwcap_seen values into
1305 ELF hwcap bits, they now match exactly.
1306 (get_hwcap_name): Use HWCAP_* and handle new values.
1307 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1308
2b0bc501
TG
13092012-04-20 Tristan Gingold <gingold@adacore.com>
1310
1311 * config/tc-ia64.c (obj_elf_vms_common): New function.
1312 (md_pseudo_table): Add .vms_common pseudo.
1313 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1314 * config/obj-elf.c (obj_elf_section_name): Make it public.
1315
0b649256
RS
13162012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1317
1318 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1319
2615994e
DM
13202012-04-12 David S. Miller <davem@davemloft.net>
1321
1322 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1323 BFD_RELOC_SPARC_H34.
1324 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1325 (tc_gen_reloc): Likewise.
1326
b38cadfb
NC
13272012-04-12 Roland McGrath <mcgrathr@google.com>
1328
1329 * configure.tgt (arm-*-nacl*): Match it.
1330 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1331 (LOCAL_LABELS_DOLLAR): Define.
1332 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1333 Use nacl format variants.
1334
6530b175 13352012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 1336 Meador Inge <meadori@codesourcery.com>
6530b175
NC
1337
1338 * config/tc-arm.c (only_one_reg_in_list): New function.
1339 (encode_ldmstm): Ditto.
1340 (do_ldmstm): Use a different encoding when pushing or poping
1341 a single register.
1342 (A_COND_MASK): New macro.
1343 (A_PUSH_POP_OP_MASK): Ditto.
1344 (A1_OPCODE_PUSH): Ditto.
1345 (A2_OPCODE_PUSH): Ditto.
1346 (A2_OPCODE_POP): Ditto.
1347
45e279f5
MR
13482012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1349
1350 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1351 -mno-fix-24k.
1352
58797674
RM
13532012-04-06 Roland McGrath <mcgrathr@google.com>
1354
1355 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1356 * config.in: Regenerate.
1357 * configure: Regenerate.
1358
44350750
NC
13592012-04-05 Nick Clifton <nickc@redhat.com>
1360
1361 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1362 (AM_LC_MESSAGES): Add.
1363 * aclocal.m4: Regenerate.
1364 * config.in: Regenerate.
1365 * configure: Regenerate.
1366
e91a22ce
DD
13672012-04-03 DJ Delorie <dj@redhat.com>
1368
1369 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1370
b1c0804b
DD
13712012-04-02 DJ Delorie <dj@redhat.com>
1372
1373 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1374 transfer size.
1375 (IMM): New, call IMM_ with the default 32.
1376 (IMMW,IMMB): Likewise, for 16 and 8.
1377 (NIMM, MBIMM): Add size parameter.
1378 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1379 (MOV.W): Use IMMW instead of IMM.
1380
1381 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1382 (op_dp20_rm_l): New.
1383 (op_dp20_rim_l): New.
1384
1385 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1386 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1387
ce32bd10
MGD
13882012-03-29 Terry Guo <terry.guo@arm.com>
1389
1390 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1391 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1392
55a36193
MK
13932012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1394
1395 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1396 * doc/c-mips.texi: Mention XLP.
1397
32b9ff0d
TS
13982012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1399
1400 [SH] Support the .uaquad and .8byte directives also for non-sh64
1401 configurations.
1402
1403 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1404 BFD_RELOC_64.
1405 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1406 description...
1407 * doc/c-sh.texi (SH Machine Directives): ... here.
1408
7465e07a
NC
14092012-03-20 Nick Clifton <nickc@redhat.com>
1410
1411 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1412 registers.
1413 (do_vmsr): Likewise.
1414 (arm_opcode_insns): Do not default to using the FPSCR register in
1415 the VMRS and VMSR registers.
1416
8059fb19
RM
14172012-03-16 Roland McGrath <mcgrathr@google.com>
1418
1419 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1420 Define for this case.
1421 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1422
69239280
MGD
14232012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1424
1425 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1426 handling of Tag_DIV_use.
1427
27dcf5c0
TS
14282012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1429
1430 * doc/as.texinfo (Bundle directives): Fix typo.
1431
ec82c18e
L
14322012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1433
1434 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1435
8d3eaee6 14362012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
1437
1438 * config/tc-arm.c (arm_frag_max_var): New function.
1439 * config/tc-arm.h: Declare it.
1440 (md_frag_max_var): New macro.
1441
1442 * config/tc-i386.c (i386_frag_max_var): New function.
1443 * config/tc-i386.h: Declare it.
1444 (md_frag_max_var): New macro.
1445
1446 * doc/as.texinfo (Bundle directives): New node.
1447 (Pseudo Ops): Add it to the menu.
1448 * NEWS: Mention new feature.
1449 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1450 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1451 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1452 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1453 New functions.
1454 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1455 to md_assembly if not.
1456 (read_a_source_file): Call assemble_one in place of md_assemble.
1457 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1458 .bundle_lock at end of processing.
1459 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1460 New functions.
1461 [HANDLE_BUNDLE] (potable): Add their entries.
1462 * read.h: Declare new functions.
1463
aea77599
AM
14642012-03-10 Edmar Wienskoski <edmar@freescale.com>
1465
1466 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1467 (ppc_handle_align): Add termination nop opcode for e500mc family.
1468 * doc/as.texinfo: Document options -me5500 and -me6500.
1469 * doc/c-ppc.texi: Likewise.
1470
0a22ae8e
NC
14712012-03-07 Nick Clifton <nickc@redhat.com>
1472
1473 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1474 (md_assemble): Add support for TLS relocs.
1475 (mn10300_parse_name): Likewise.
1476
805e800d
AM
14772012-02-27 Alan Modra <amodra@gmail.com>
1478
1479 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1480
b9fcee79
AM
14812012-02-27 Alan Modra <amodra@gmail.com>
1482
1483 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1484 params. Properly generate NOP pattern. Comment reason for
1485 subseg_text_p failure.
1486
35a35807
AM
14872012-02-27 Alan Modra <amodra@gmail.com>
1488
1489 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1490 and sign extend before range tests.
1491 (constant_fits_size_p): Similarly.
1492 (get_specific): Trim X_add_number to 32 bits.
1493 (fix_operand_size): Likewise, and use unsigned test for signed
1494 ranges.
1495
1f42f8b3
AM
14962012-02-27 Alan Modra <amodra@gmail.com>
1497
1498 * config/tc-crx.c: Include bfd_stdint.h.
1499 (getconstant): Remove irrelevant comment. Don't fail due to
1500 sign-extension of int mask.
1501 (check_range): Rewrite using unsigned arithmetic throughout.
1502
481fe810
WL
15032012-02-25 Walter Lee <walt@tilera.com>
1504
1505 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1506 non-local before checking sy_value.
1507 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1508
6f7be959
WL
15092012-02-25 Walter Lee <walt@tilera.com>
1510
1511 * tc-tilepro.c (O_tls_le): Define operator.
1512 (O_tls_le_lo16): Ditto.
1513 (O_tls_le_hi16): Ditto.
1514 (O_tls_le_ha16): Ditto.
1515 (O_tls_gd_call): Ditto.
1516 (O_tls_gd_add): Ditto.
1517 (O_tls_ie_load): Ditto.
1518 (md_begin): Delete old operators; handle new operators.
1519 (emit_tilepro_instruction): Ditto.
1520 (md_apply_fix): Ditto.
1521 * tc-tilegx.c (O_hw1_got): Delete operator.
1522 (O_hw2_got): Ditto.
1523 (O_hw3_got): Ditto.
1524 (O_hw2_last_got): Ditto.
1525 (O_hw1_tls_gd): Ditto.
1526 (O_hw2_tls_gd): Ditto.
1527 (O_hw3_tls_gd): Ditto.
1528 (O_hw2_last_tls_gd): Ditto.
1529 (O_hw1_tls_ie): Ditto.
1530 (O_hw2_tls_ie): Ditto.
1531 (O_hw3_tls_ie): Ditto.
1532 (O_hw2_last_tls_ie): Ditto.
1533 (O_hw0_tls_le): Define operator.
1534 (O_hw0_last_tls_le): Ditto.
1535 (O_hw1_last_tls_le): Ditto.
1536 (O_tls_gd_call): Ditto.
1537 (O_tls_gd_add): Ditto.
1538 (O_tls_ie_load): Ditto.
1539 (O_tls_add): Ditto.
1540 (md_begin): Delete old operators; handle new operators.
1541 (emit_tilegx_instruction): Ditto.
1542 (md_apply_fix): Ditto.
1543 * doc/c-tilegx.texi: Delete old operators; document new operators.
1544 * doc/c-tilepro.texi: Ditto.
1545
82590249
WL
15462012-02-25 Walter Lee <walt@tilera.com>
1547
5414dbef
WL
1548 * tc-tilepro.c (apply_special_operator): delete cases for
1549 got and tls operators.
1550 (md_apply_fix): Ditto.
fb6cedde
WL
1551 * tc-tilegx.c (md_begin): Set architecture and machine.
1552 (tilegx_target_format): Handle big endian.
1553 (OPTION_EB): Define.
1554 (OPTION_EL): Define.
1555 (md_longopts): Add entries for "EB" and "EL".
1556 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1557 (md_show_usage): Add -EB and -EL.
1558 (md_number_to_chars): New.
5414dbef
WL
1559 (apply_special_operator): delete cases for got and tls
1560 operators.
1561 (md_apply_fix): Ditto.
fb6cedde
WL
1562 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1563 ifndef.
1564 (md_number_to_chars): Delete.
1565 * configure.tgt (tilegx*be): Handle.
1566 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1567 * doc/c-tilegx.texi: Ditto.
82590249 1568
82c2def5
L
15692012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1570
1571 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1572 HLEPrefixAny and HLEPrefixRelease.
1573
1bf10b0d
NC
15742012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1575
1576 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1577
16a87420
IS
15782012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1579
1580 * write.c (write_object_file): Add md_pre_output_hook.
1581 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1582 (obj_mach_o_pre_output_hook): New.
1583 * config/obj-macho.h (md_pre_output_hook): Define.
1584 (obj_mach_o_pre_output_hook): Declare.
1585
cdaa5616
IS
15862012-02-21 Tristan Gingold <gingold@adacore.com>
1587
1588 * config/tc-i386.h (OBJ_MACH_O): New section.
1589 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1590 (TC_FORCE_RELOCATION_SUB_SAME): New
1591 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1592 (TC_VALIDATE_FIX_SUB): New.
1593 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1594 * symbols.c (colon): obj_frob_colon: New hook.
1595 * write.c (write_object_file): md_pre_relax_hook, new
1596 hook.
1597 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1598 (obj_mach_o_frob_label): Record sub-section labels.
1599 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1600 (obj_mach_o_set_subsections): New.
1601 (obj_mach_o_pre_relax_hook): New.
1602 (obj_mach_o_in_different_subsection): New.
1603 (obj_mach_o_force_reloc_sub_same): New.
1604 (obj_mach_o_force_reloc_sub_local): New.
1605 (obj_mach_o_force_reloc): New.
1606 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1607 (obj_frob_colon): New Define.
1608 (obj_mach_o_frob_label): Renamed.
1609 (obj_mach_o_frob_symbol): Renamed.
1610 (OBJ_FRAG_TYPE): New.
1611 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1612 obj_mach_o_force_reloc_sub_same,
1613 obj_mach_o_force_reloc_sub_local): New declarations.
1614
854ac8ba
IS
16152012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1616
1617 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1618 (obj_mach_o_allow_local_subtract): New.
1619 * config/obj-macho.h (md_allow_local_subtract): Define.
1620 (obj_mach_o_allow_local_subtract): Declare.
1621
a5759139
IS
16222012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1623
1624 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1625 canonical information, try to determine CODE and DEBUG section flags
1626 from the mach-o section data.
1627
9ad45734
NC
16282012-02-20 Nick Clifton <nickc@redhat.com>
1629
1630 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1631 local symbols.
1632
8e43fc02
IS
16332012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1634
1635 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1636 any local symbol used as an indirect.
1637
fb4914b0
IS
16382012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1639
1640 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1641 stub size when provided. (obj_mach_o_section): Flag that stub-size
1642 has been provided.
1643
42164a71
L
16442012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1645
1646 * config/tc-i386.c (HLE_PREFIX): New.
1647 (check_hle): Likewise.
1648 (_i386_insn): Add have_hle.
1649 (cpu_arch): Add .hle and .rtm.
1650 (md_assemble): Call check_hle if i.have_hle isn't zero.
1651 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1652 (output_jump): Support up to 2 byte opcode.
1653
1654 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1655
facf03f2
TG
16562012-02-02 Tristan Gingold <gingold@adacore.com>
1657
1658 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1659 uninitialized variable warning.
1660
f6616a06
NC
16612012-02-02 Nick Clifton <nickc@redhat.com>
1662
1663 PR gas/13224
1664 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1665 to 'is_clone' to avoid shadowing a gloabl.
1666 (obj_elf_section): Likewise.
1667
bac03263 16682012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1669
bac03263
PB
1670 * doc/c-tic6x.c: Fix typo.
1671
f8819316
NC
16722012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1673
1674 PR gas/13624
1675 * app.c (app_push): Set 'add_newlines' to zero after saving.
1676
21abe33a
DD
16772012-01-24 DJ Delorie <dj@redhat.com>
1678
1679 * config/rl78-parse.y (NOT1): Add.
1680
8d63c93e
RM
16812012-01-23 Roland McGrath <mcgrathr@google.com>
1682
1683 * configure.tgt (i386-*-nacl*): Match it.
1684 * config/te-nacl.h: New file.
1685 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1686 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1687 Use TE_GNU et al case for TE_NACL too.
1688
a501d77e
L
16892012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1690
1691 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1692 disp_encoding.
1693 (md_assemble): Updated.
1694 (output_branch): Likewise.
1695 (parse_insn): Support .d8 suffix.
1696 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1697 suffixes.
1698
1699 * doc/c-i386.texi: Document .d8 suffix.
1700
032fbb7a
AM
17012012-01-17 Andrew Burgess <aburgess@broadcom.com>
1702
1703 * write.c (fix_new_internal): Don't mark used parameter as unused.
1704
576477a6
AM
17052012-01-17 Alan Modra <amodra@gmail.com>
1706
1707 * as.c (parse_args): Update copyright message year.
1708
8729a6f6
L
17092012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1710
1711 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1712
1713 * doc/c-i386.texi: Document vmfunc.
1714
34dd18bc
IS
17152012-01-13 Tristan Gingold <gingold@adacore.com>
1716
1717 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1718 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1719 (obj_mach_o_reorder_section_relocs): Declare.
1720
687be931
IS
17212012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1722
1723 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1724 absolute indirect symbols.
1725
c3402d20
IS
17262012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1727
1728 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1729 (obj_mach_o_set_section_vma): New.
1730 (obj_mach_o_post_relax_hook): New.
1731 * config/obj-macho.h (md_post_relax_hook): Define.
1732 (obj_mach_o_post_relax_hook): Declare.
1733
50d10658
IS
17342012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1735
1736 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1737 lazy when the symbol is private_extern.
1738 (obj_mach_o_indirect_sym): New type.
1739 (obj_mach_o_indirect_symbol): New.
1740 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1741 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1742 (obj_macho_frob_label): Likewise. Adjust external and comm
1743 symbol tests.
1744 (obj_mach_o_set_indirect_symbols): New.
1745 (obj_mach_o_frob_file_after_relocs): New.
1746 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1747 (obj_mach_o_frob_file_after_relocs): Declare.
1748
0a4734dc
TG
17492012-01-12 Tristan Gingold <gingold@adacore.com>
1750
1751 PR gas/13591
1752 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1753
158184ac
TG
17542012-01-10 Tristan Gingold <gingold@adacore.com>
1755
1756 * struc-symbol.h (struct symbol_flags): New struct, created from...
1757 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1758 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1759 Adjust comment.
1760 (local_symbol_resolved_p): Adjust.
1761 (local_symbol_mark_resolved): Likewise.
1762 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1763 (local_symbol_make, local_symbol_convert, colon)
1764 (symbol_clone_if_forward_ref, verify_symbol_chain)
1765 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1766 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1767 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1768 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1769 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1770 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1771 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1772 (symbol_mark_mri_common, symbol_clear_mri_common)
1773 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1774 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1775 (symbol_equated_reloc_p, dot_symbol_init)
1776 (print_symbol_value_1): Adjust.
1777
b22161d6
IS
17782012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1779
1780 * config/obj-macho.c (obj_mach_o_weak): Remove.
1781 (obj_mach_o_common_parse): Set symbol qualifiers.
1782 (LAZY, REFE): New macros.
1783 (obj_mach_o_symbol_type): New enum.
1784 (obj_mach_o_set_symbol_qualifier): New.
1785 (obj_mach_o_sym_qual): New.
1786 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1787 a dummy function.
1788 (obj_mach_o_type_for_symbol): New.
1789 (obj_macho_frob_label): New.
1790 (obj_macho_frob_symbol): New.
1791 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1792 (obj_frob_label, obj_macho_frob_label): Declare.
1793 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1794
de64cffd
RS
17952012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1796
1797 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1798
462427c4
RS
17992012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1800 Richard Sandiford <rdsandiford@googlemail.com>
1801
1802 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1803 textness as parameters.
1804 (mips_move_text_labels): New function.
1805 (append_insn): Use it instead of mips_move_labels.
1806 (mips_emit_delays, start_noreorder): Likewise.
1807 (mips_align): Take the labels rather than just one label.
1808 Move all labels to after the .align.
1809 (s_align): Change the last argument to mips_align.
1810 (s_cons): Likewise.
1811 (s_float_cons): Likewise.
1812 (s_gpword): Likewise.
1813 (s_gpdword): Likewise.
1814
d382c579
TG
18152012-01-06 Tristan Gingold <gingold@adacore.com>
1816
1817 * config/tc-i386.c: Update copyright year.
1818 (lex_got): Also defined for Mach-O.
1819 Add a guard for non-ELF configuration.
1820 (md_longopts): Also handle -64 for Mach-O.
1821 (md_parse_option): Likewise.
1822 (i386_target_format): Adjust for x86_64-darwin.
1823
8cf6e084
IS
18242012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1825
1826 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1827 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1828 (obj_mach_o_make_or_get_sect): Likewise.
1829 (obj_mach_o_section): Split out the functionality shared with zerofill.
1830 (obj_mach_o_zerofill): New.
1831 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1832 (mach_o_pseudo_table): Add .zerofill.
1833
68588f95
IS
18342012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1835
1836 * config/obj-macho.c (obj_macho_process_stab): New.
1837 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1838 (obj_macho_process_stab): Declare.
1839
23e1d329 1840For older changes see ChangeLog-2011
08d56133
NC
1841\f
1842Local Variables:
1843mode: change-log
1844left-margin: 8
1845fill-column: 74
1846version-control: never
1847End:
This page took 0.631785 seconds and 4 git commands to generate.