* gdbarch.c: Rebuild.
[deliverable/binutils-gdb.git] / gas / ChangeLog
CommitLineData
0c5daaa9
AM
12012-10-29 Alan Modra <amodra@gmail.com>
2
3 * sb.c (sb_check): Use __builtin_clzll when size_t is not the
4 same size as long.
5
ce23608f
AM
62012-10-29 Alan Modra <amodra@gmail.com>
7
8 * config/tc-ppc.c (ppc_znop): Remove unused vars.
9
1fe532cf
AM
102012-10-26 Alan Modra <amodra@gmail.com>
11
12 PR target/14758
13 * config/tc-ppc.c (ppc_setup_opcodes): Fix comment.
14 (md_assemble): Translate to _DS relocs for ppc32 as well as ppc64.
15 (tc_gen_reloc): Handle _DS relocs in ppc32 mode.
16
ef8e09a0
SB
172012-10-22 Simon Baldwin <simonb@google.com>
18
19 * as.c (dump_statistics): Compute data size as the delta between
20 current sbrk(0) and start_sbrk.
21 * (main): Set start_sbrk to sbrk(0) on entry.
22
70e0ee1a
KT
232012-10-18 Kai Tietz <ktietz@redhat.com>
24
c207c2c6
KT
25 * config/obj-coff.c: Add include of struc-symbol.h header.
26 (coff_frob_symbol): Check that function-aux entries are generated for
27 defined symbols only.
28
70e0ee1a
KT
29 * doc/as.texinfo: Add missing documentation about section flag
30 exclude.
31
26cbfa82
DA
322012-10-14 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
33
8c57c799
DA
34 * config/tc-hppa.c (pa_get_number): New.
35 (pa_get_absolute_expression): Simplify.
36 (pa_ip): Use pa_get_number instead of pa_get_absolute_expression
37 to get SOP, SFU and COPR identifiers.
38
26cbfa82
DA
39 * config/tc-hppa.c (pa_ip): Reject double floating point stores and
40 loads that reference the right half of a floating point register.
41
aa710880
DA
422012-10-13 John David Anglin <dave.anglin@nrc-cnrc.gc.ca>
43
44 * config/tc-hppa.c (pa_ip): Limit unit conditions for uxor to those
45 not involving a carry.
46
b36546d2
PB
472012-10-12 Peter Bergner <bergner@vnet.ibm.com>
48
49 * doc/as.texinfo (-mpwr4, -mpwr7): Fix option name typos.
50
56c0a61f
RE
512012-10-11 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
52
53 * config/tc-arm.c: Change condition code insertion for
54 lds[hb] instructions from after the 2nd character to after the 3rd.
55 (tCM): Remove macro.
56 (TxCM): Likewise.
57 (TxCM_): Likewise.
58 (TCM): Likewise.
59
5e5c50d3
NE
602012-10-09 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
61
62 * config/tc-i386.c (cpu_arch): Add CPU_BDVER3_FLAGS.
63 * doc/c-i386.texi: Add -march=bdver3 option.
64
04ee5257
NC
652012-10-04 Nick Clifton <nickc@redhat.com>
66
67 * config/tc-v850.c (v850_insert_operand): Use a static buffer for
68 the error message.
69
cfc72779
AK
702012-10-04 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
71
72 * config/tc-s390.c (s390_parse_cpu): Add new option zEC12.
73 * doc/as.texinfo: Document new option zEC12.
74 * doc/c-s390.texi: Likewise.
75
cbf1fdc9
DD
762012-10-03 DJ Delorie <dj@redhat.com>
77
78 * config/tc-rl78.c: Change line_separator to '@' so that '|' can
79 be used in expressions.
80
4fc0b46e
AM
812012-10-01 Alan Modra <amodra@gmail.com>
82
83 * write.c (chain_frchains_together_1): Reorder assertion to avoid
84 uninit warning.
85
b886a2ab
RS
862012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
87
88 * config/tc-mips.h (TC_FORCE_RELOCATION): Remove comment.
89 * config/tc-mips.c (calculate_reloc): New function.
90 (append_insn): Use it. Do not resolve compound relocations here.
91 (mips16_macro_build, mips16_ip): Use calculate_reloc.
92 (mips16_immed_extend): New function, split out from...
93 (mips16_immed): ...here.
94 (mips_frob_file): Handle null symbols.
95 (mips_force_relocation): Remove NEWABI handling.
96 (read_reloc_insn, write_reloc_insn): New functions.
97 (md_apply_fix): Report TLS relocations against constants.
98 Use read_reloc_insn, calculate_reloc and write_reloc_insn.
99 Report relocations against constants that can't be resolved
100 at assembly time.
101
335574df
RS
1022012-09-23 Maciej W. Rozycki <macro@codesourcery.com>
103
104 * config/tc-mips.c (append_insn) <BFD_RELOC_MIPS_JMP>: Don't
105 mark as incomplete for constant expressions.
106 <BFD_RELOC_MIPS16_JMP>: Likewise.
107
e1b47bd5
RS
1082012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
109 Maciej W. Rozycki <macro@codesourcery.com>
110
111 * config/tc-mips.h (mips_record_label): Delete.
112 (mips_add_dot_label): Declare.
113 (tc_new_dot_label): Use it.
114 * config/tc-mips.c (mips_assembling_insn): New variable.
115 (md_assemble): Call mips_mark_labels. Set mips_assembling_insn
116 while the main part of the function is executing.
117 (mips_compressed_mark_label): New function, split out from...
118 (mips_compressed_mark_labels): ...here.
119 (append_insn): Don't call mips_mark_labels here.
120 (mips_record_label): Make local.
121 (mips_add_dot_label): New function.
122
43c0598f
RS
1232012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
124
125 * config/tc-mips.c (SEXT_16BIT): New macro.
126 (mips16_immed): Take the reloc type as a parameter. Do not impose
127 a signed vs. unsigned distinction on the value when a relocation
128 operator was used.
129 (mips16_macro_build, mips16_ip, md_convert_frag): Pass the reloc
130 type to mips16_immed.
131 (macro): Use SEXT_16BIT.
132
4d68580a
RS
1332012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
134
135 * config/tc-mips.c (read_insn, write_insn, read_compressed_insn):
136 New functions.
137 (install_insn, md_apply_fix, md_convert_frag, mips_handle_align):
138 Use them, and write_compressed_insn.
139
5c04167a
RS
1402012-09-23 Richard Sandiford <rdsandiford@googlemail.com>
141
142 * config/tc-mips.c (mips_cl_insn): Remove use_extend and extend.
143 (MIPS16_EXTEND): New macro.
144 (mips16_opcode_length): New function.
145 (insn_length): Use it.
146 (create_insn): Update after mips_cl_insn change.
147 (write_compressed_insn): New function.
148 (install_insn): Use it.
149 (append_insn): Use insn_length to check for unextended MIPS16
150 instructions.
151 (mips16_macro_build): Update call to mips16_immed.
152 (mips16_ip): Likewise. Use MIPS16_EXTEND to force an extended
153 instruction.
154 (mips16_immed): Remove use_extend and extend; install EXTEND
155 opcodes in the upper 16 bits of *INSN instead. Keep the
156 instruction extended if it already is. Replace warn, small
157 and ext with a forced_insn_length-like parameter.
158 (md_convert_frag): Update call mips16_immed.
159 Use write_compressed_insn.
160
60aa667e
L
1612012-09-20 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
162
163 * config/tc-i386.c (cpu_arch): Add .cx16.
164 * doc/c-i386.texi: Document .cx16.
165
c76b75fd
SE
1662012-09-19 Steve Ellcey <sellcey@mips.com>
167
168 * configure.tgt: Add mips*-mti-elf* target.
169
4b8c8c02
RE
1702012-09-18 Kyrylo Tkachov <kyrylo.tkachov@arm.com>
171
172 * config/tc-arm.c: Changed ldra and strl-form mnemonics
173 to lda and stl-form for armv8.
174
5a1ad39d
RE
1752012-09-17 Yufeng Zhang <yufeng.zhang@arm.com>
176
177 * config/tc-aarch64.c (aarch64_archs): Rename 'armv8' to 'armv8-a'.
178
6c9c0a50
DE
1792012-09-14 David Edelsohn <dje.gcc@gmail.com>
180
181 * configure: Regenerate.
182
e202fa84
AG
1832012-09-13 Anthony Green <green@moxielogic.com>
184
185 * config/tc-moxie.h (DEFAULT_TARGET_FORMAT): Define.
186 (TARGET_FORMAT): Don't hard-code endian-ness.
187 * config/tc-moxie.c (target_big_endian, moxie_target_format):
188 Define.
189 (md_assemble): Handle bi-endian encodings.
190 (md_shortopts, md_parse_option, md_show_usage, md_apply_fix)
191 (md_number_to_chars, md_chars_to_number): Update for bi-endian
192 support.
193
f41aef5f
RE
1942012-09-12 Chris Schlumberger-Socha <chris.schlumberger-socha@arm.com>
195
196 * config/tc-aarch64.c
197 (reloc_table): Add reloc to table entry.
198 (parse_address_main): Add support for #:<reloc_op>:<symbol>.
199 (parse_operands): Check for unused reloc.
200 (md_apply_fix): New case for reloc.
201 (aarch64_force_relocation): Likewise.
1179bed3
DC
202
2032012-09-11 Georg-Johann Lay <avr@gjlay.de>
204
205 PR gas/13503
206 * config/tc-avr.h (TC_VALIDATE_FIX): Skip: BFD_RELOC_AVR_8_LO,
207 BFD_RELOC_AVR_8_HI, BFD_RELOC_AVR_8_HLO.
208
5c7a0b3e
AM
2092012-09-11 Alan Modra <amodra@gmail.com>
210
211 * Makefile.am (bootstrap): Add $EXEEXT to dependency.
212 * Makefile.in: Regenerate.
213
00716ab1
AM
2142012-09-10 Matthias Klose <doko@ubuntu.com>
215
216 * config.in: Disable sanity check for kfreebsd.
217
6d2920c8
L
2182012-09-10 H.J. Lu <hongjiu.lu@intel.com>
219
220 * configure: Regenerated.
221
7078b409
AG
2222012-09-07 Anthony Green <green@moxielogic.com>
223
224 * config/tc-moxie.c (md_pcrel_from): Branches are now relative
6d2920c8 225 to the address following the branch instruction.
7078b409 226
1dd53816
AK
2272012-09-06 Andreas Krebbel <Andreas.Krebbel@de.ibm.com>
228
229 * config/tc-s390.c (set_highgprs_p): New variable.
230 (s390_machinemode): New function.
231 (md_pseudo_table): Add new pseudo command machinemode.
232 (md_parse_option): Set set_highgprs_p to TRUE if -mzarch was
233 specified on command line.
234 (s390_elf_final_processing): Set the highgprs flag in the ELF
235 header depending on set_highgprs_p.
236
237 * doc/c-s390.texi: Document new pseudo machinemode.
238
47527d7e
JL
2392012-09-05 James Lemke <jwlemke@codesourcery.com>
240
241 * doc/c-ppc.texi: Document -mvle.
b4b783be 242 * doc/as.texinfo: Likewise.
47527d7e 243
b3e14eda
L
2442012-09-04 Sergey A. Guriev <sergey.a.guriev@intel.com>
245
246 * config/tc-ia64.c (reg_symbol): Add a new register.
247 (indirect_reg): Ditto.
248 (pseudo_func): Add new symbolic constants.
249 (operand_match): Add new operand types recognition.
250 (operand_insn): Add new register recognition.
251 (md_begin): Add new register definition.
252 (specify_resource): Add new register recognition.
253
6c106515
HPN
2542012-09-01 Hans-Peter Nilsson <hp@bitrange.com>
255
256 PR gas/14521
257 * config/tc-mmix.h (tc_frob_file_before_fix): Renumber sections
258 after call to mmix_frob_file.
259
b1929900
MR
2602012-08-31 Maciej W. Rozycki <macro@codesourcery.com>
261
262 * doc/c-mips.texi (MIPS Opts): Correct a typo in the -mips5
263 option.
264
e5b95258
WL
2652012-08-27 Walter Lee <walt@tilera.com>
266
267 * tc-tilegx.c (O_hw0_plt): Define operator.
268 (O_hw1_plt): Ditto.
269 (O_hw1_last_plt): Ditto.
270 (O_hw2_last_plt): Ditto.
271 (md_begin): Handle new operators.
272 (emit_tilegx_instruction): Ditto.
273 (md_apply_fix): Ditto.
274 * doc/c-tilegx.texi: Document new operators.
275
3c9017d2
MGD
2762012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
277
278 * config/tc-arm.c (ARM_ENC_TAB): Add sha1h and sha2op entries.
279 (do_sha1h): New function.
280 (do_sha1su1): Likewise.
281 (do_sha256su0): Likewise.
282 (insns): Add 2 operand SHA instructions.
283
48adcd8e
MGD
2842012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
285
286 * config/tc-arm.c (NEON_ENC_TAB): Add sha3op entry.
287 (do_crypto_3op_1): New function.
288 (do_sha1c): Likewise.
289 (do_sha1p): Likewise.
290 (do_sha1m): Likewise.
291 (do_sha1su0): Likewise.
292 (do_sha256h): Likewise.
293 (do_sha256h2): Likewise.
294 (do_sha256su1): Likewise.
295 (insns): Add SHA 3 operand instructions.
296
4f51b4bd
MGD
2972012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
298
299 * config/tc-arm.c (neon_type_mask): Add P64 type.
300 (type_chk_of_el_type): Handle P64 type.
301 (el_type_of_type_chk): Likewise.
302 (do_neon_vmull): Handle VMULL.P64.
303
91ff7894
MGD
3042012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
305
306 * config/tc-arm.c (NEON_ENC_TAB): Add aes entry.
307 (neon_type_mask): Add N_UNT.
308 (neon_check_type): Don't always decay typed to untyped sizes.
309 (do_crypto_2op_1): New function.
310 (do_aese): Likewise.
311 (do_aesd): Likewise.
312 (do_aesmc.8): Likewise.
313 (do_aesimc.8): Likewise.
314 (insns): Add AES instructions.
315
c70a8987
MGD
3162012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
317
318 * config/tc-arm.c (el_type_type_check): Add handling for 16-bit
319 floating point types.
320 (do_neon_cvttb_2): New function.
321 (do_neon_cvttb_1): Likewise.
322 (do_neon_cvtb): Refactor to use do_neon_cvttb_1.
323 (do_neon_cvtt): Likewise.
324
30bdf752
MGD
3252012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
326
327 * config/tc-arm.c (NEON_ENC_TAB): Add vrint entries.
328 (neon_cvt_mode): Add neon_cvt_mode_r.
329 (do_vrint_1): New function.
330 (do_vrint_x): Likewise.
331 (do_vrint_z): Likewise.
332 (do_vrint_r): Likewise.
333 (do_vrint_a): Likewise.
334 (do_vrint_n): Likewise.
335 (do_vrint_p): Likewise.
336 (do_vrint_m): Likewise.
337 (insns): Add VRINT instructions.
338
7e8e6784
MGD
3392012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
340
341 * config/tc-arm.c (NEON_ENC_TAB): Add vcvta entry.
342 (neon_cvt_mode): New enumeration.
343 (do_vfp_nsyn_cvt_fpv8): New function.
344 (do_neon_cvt_1): Add support for new conversions.
345 (do_neon_cvtr): Use neon_cvt_mode enumerator.
346 (do_neon_cvt): Likewise.
347 (do_neon_cvta): New function.
348 (do_neon_cvtn): Likewise.
349 (do_neon_cvtp): Likewise.
350 (do_neon_cvtm): Likewise.
351 (insns): Add new VCVT instructions.
352
6b9a8b67
MGD
3532012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm>
354
355 * config/tc-arm.c (CVT_FLAVOUR_VAR): New define.
356 (CVT_VAR): New helper define.
357 (neon_cvt_flavour): New enumeration, function renamed...
358 (get_neon_cvt_flavour): ...to this.
359 (do_vfp_nsyn_cvt): Update to use new neon_cvt_flavour.
360 (do_vfp_nsyn_cvtz): Likewise.
361 (do_neon_cvt_1): Likewise.
362
73924fbc
MGD
3632012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
364
365 * config/tc-arm.c (NEON_ENC_TAB): Add vmaxnm, vminnm entries.
366 (vfp_or_neon_is_neon_bits): Add NEON_CHECK_ARCH8 enumerator.
367 (vfp_or_neon_is_neon): Add check for SIMD for ARMv8.
368 (do_maxnm): New function.
369 (insns): Add vmaxnm, vminnm entries.
370
33399f07
MGD
3712012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
372
373 * config/tc-arm.c (NEON_ENC_TAB): Add entries for VSEL.
374 (NEON_ENC_FPV8_): New define.
375 (do_vfp_nsyn_fpv8): New function.
376 (do_vsel): Likewise.
377 (insns): Add VSEL instructions.
378
9eb6c0f1
MGD
3792012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
380
381 * config/tc-arm.c (do_rm_rn): New function.
382 (do_strlex): Likewise.
383 (do_t_strlex): Likewise.
384 (insns): Add support for LDRA/STRL instructions.
385
8884b720
MGD
3862012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
387
388 * config/tc-arm.c (do_t_bkpt_hlt1): New function.
389 (do_t_hlt): New function.
390 (do_t_bkpt): Use do_t_bkpt_hlt1.
391 (insns): Add HLT.
392
b79f7053
MGD
3932012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
394
395 * config/tc-arm.c (insns): Add DCPS instruction.
396
53c4b28b
MGD
3972012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
398
399 * config/tc-arm.c (T16_32_TAB): Add _sevl.
400 (insns): Add SEVL.
401
e797f7e0
MGD
4022012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
403
404 * config/tc-arm.c (asm_barrier_opt): Add arch field.
405 (mark_feature_used): New function.
406 (parse_barrier): Check specified option is valid for the
407 specified architecture.
408 (UL_BARRIER): New macro.
409 (barrier_opt_names): Update for new barrier options.
410
12e37cbc
MGD
4112012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
412
413 * config/tc-arm.c (do_setend): Warn on deprecated SETEND.
414 (do_t_setend): Likewise.
415
5a01bb1d
MGD
4162012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
417
418 * config/tc-arm.c (do_t_it): Fully initialise now_it.
419 (new_automatic_it_block): Likewise.
420 (handle_it_block): Record whether current instruction is
421 conditionally executed.
422 * config/tc-arm.c (depr_insn_mask): New structure.
423 (depr_it_insns): New variable.
424 (it_fsm_post_encode): Warn on deprecated uses.
425 * config/tc-arm.h (current_it): Add new fields.
426
dcbd0d71
MGD
4272012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
428
429 * config/tc-arm.c (deprecated_coproc_regs_s): New structure.
430 (deprecated_coproc_regs): New variable.
431 (deprecated_coproc_reg_count): Likewise.
432 (do_co_reg): Error on obsolete & warn on deprecated registers.
433
59d09be6
MGD
4342012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
435
436 * config/tc-arm.c (check_obsolete): New function.
437 (do_rd_rm_rn): Check swp{b} for obsoletion.
438
bca38921
MGD
4392012-08-24 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
440
441 * config/tc-arm.h (arm_ext_v8): New variable.
442 (fpu_vfp_ext_armv8): Likewise.
443 (fpu_neon_ext_armv8): Likewise.
444 (fpu_crypto_ext_armv8): Likewise.
445 (arm_archs): Add armv8-a.
446 (arm_extensions): Add crypto, fp, and simd.
447 (arm_fpus): Add fp-armv8, neon-fp-armv8, crypto-neon-fp-armv8.
448 (cpu_arch_ver): Add support for ARMv8.
449 (aeabi_set_public_sttributes): Likewise.
450 * doc/c-arm.texi (ARM Options): Document new architecture and
451 extension options for ARMv8.
452
542385d9
L
4532012-08-20 H.J. Lu <hongjiu.lu@intel.com>
454
455 * doc/as.texinfo: Replace --n32 with --x32.
456
7b458c12
L
4572012-08-17 Nagajyothi Eggone <nagajyothi.eggone@amd.com>
458
459 * config/tc-i386.c (cpu_arch): Add CPU_BTVER1_FLAGS and
460 CPU_BTVER2_FLAGS.
461 (i386_align_code): Add case for PROCESSOR_BT.
462
463 * config/tc-i386.h (enum processor_type): Add PROCESSOR_BT.
464
465 * doc/c-i386.texi: Add -march={btver1, btver2} options.
466
f76bf5e0
L
4672012-08-14 H.J. Lu <hongjiu.lu@intel.com>
468
469 PR gas/14457
470 * config/tc-i386.c (i386_att_operand): Terminate register name
471 when reporting bad register.
472
c3330fbe
HPN
4732012-08-14 Hans-Peter Nilsson <hp@bitrange.com>
474
475 * config/tc-mmix.c (loc_asserts): New variable.
476 (mmix_greg_internal): Handle expressions not determinable at first
477 pass.
478 (s_loc): Ditto. Record expressions where the section isn't
479 determinable at the first pass, and assume they don't refer to
480 other sections.
481 (mmix_md_end): Verify that recorded LOC expressions weren't
482 to other sections, else emit error messages.
483
a06ea964
NC
4842012-08-13 Ian Bolton <ian.bolton@arm.com>
485 Laurent Desnogues <laurent.desnogues@arm.com>
486 Jim MacArthur <jim.macarthur@arm.com>
487 Marcus Shawcroft <marcus.shawcroft@arm.com>
488 Nigel Stephens <nigel.stephens@arm.com>
489 Ramana Radhakrishnan <ramana.radhakrishnan@arm.com>
490 Richard Earnshaw <rearnsha@arm.com>
491 Sofiane Naci <sofiane.naci@arm.com>
492 Tejas Belagod <tejas.belagod@arm.com>
493 Yufeng Zhang <yufeng.zhang@arm.com>
494
495 * Makefile.am: Add AArch64.
496 * Makefile.in: Regenerate.
497 * config/tc-aarch64.c: New file.
498 * config/tc-aarch64.h: New file.
499 * configure.tgt: Add AArch64.
500 * doc/Makefile.am: Add AArch64.
501 * doc/Makefile.in: Regenerate.
502 * doc/all.texi: Add AArch64.
503 * doc/as.texinfo: Add AArch64.
504 * doc/c-aarch64.texi: New file.
505 * po/POTFILES.in: Regenerate.
506 * NEWS: Mention the new support.
507
35d0a169
MR
5082012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
509
510 * config/tc-mips.c (NO_ISA_COP, COP_INSN): Remove macros.
511 (is_opcode_valid): Remove coprocessor instruction exclusions.
512 Replace OPCODE_IS_MEMBER with opcode_is_member.
513 (is_opcode_valid_16): Replace OPCODE_IS_MEMBER with
514 opcode_is_member.
515 (macro): Remove coprocessor instruction exclusions.
516
a276b80c
MR
5172012-08-13 Maciej W. Rozycki <macro@codesourcery.com>
518
519 * config/tc-mips.c (s_cpload, s_cpsetup): Fail if MIPS16 mode.
520 (s_cplocal, s_cprestore, s_cpreturn): Likewise.
521
848930b2
JB
5222012-08-07 Jan Beulich <jbeulich@suse.com>
523
524 * config/tc-i386-intel.c (build_modrm_byte): Split determining
525 default segment from figuring out encoding. Honor RegRex for
526 the former.
527
7bab8ab5
JB
5282012-08-07 Jan Beulich <jbeulich@suse.com>
529
530 * config/tc-i386.c (set_check): Renamed from set_sse_check.
531 Generalize to also handle operand checking option.
532 (enum i386_error): New enumerator 'invalid_vector_register_set'.
533 (match_template): Handle it.
534 (enum check_kind): Give it a tag. Drop sse_ prefixes from
535 enumerators.
536 (operand_check): New.
537 (md_pseudo_table): Add "operand_check".
538 (check_VecOperands): Don't special case RIP addressing. Check
539 that vSIB operands use distinct vector registers unless no
540 checking was requested.
541 (OPTION_MOPERAND_CHECK): New.
542 (md_parse_option): Handle it.
543 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
544 (md_longopts): Add "moperand-check".
545 (md_show_usage): Add help text for it.
546
4c692bc7
JB
5472012-08-07 Jan Beulich <jbeulich@suse.com>
548
549 * config/tc-i386.c (register_number): New function.
550 (build_vex_prefix, process_immext, process_operands,
551 build_modrm_byte, i386_index_check): Use it.
552
a988325c
NC
5532012-08-07 Daniel Green <venix1@gmail.com>
554
555 * config/tc-i386.c (lex_got): Provide implementation for PE
556 format.
557
464ab0e5
MR
5582012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
559
560 * config/tc-mips.c (append_insn): Also handle moving delay-slot
561 instruction across frags for fixed branches.
562
3db8daf3
MR
5632012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
564
565 * frags.c (frag_grow): Never shrink the obstack size requested
566 below the default.
567
03d46c0e
SK
5682012-08-02 Sean Keys <skeys@ipdatasys.com>
569
570 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
571 New function to parse pseudo ops that are unreleated to
572 existing pseudo ops.
573
711eefe4
SL
5742012-08-01 Catherine Moore <clm@codesourcery.com>
575 Sandra Loosemore <sandra@codesourcery.com>
576
577 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
578 * doc/c-mips.texi (MIPS Opts): Document it.
579
8fbf7334
JL
5802012-08-01 James Lemke <jwlemke@codesourcery.com>
581
4e47244d 582 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
8fbf7334 583 DWARF2_LINE_MIN_INSN_LENGTH
4e47244d 584 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
8fbf7334
JL
585 and initialize.
586 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
4e47244d 587 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
8fbf7334
JL
588 variable reference.
589
03f66e8a 5902012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
4e47244d
L
591 Chao-Ying Fu <fu@mips.com>
592 Catherine Moore <clm@codesourcery.com>
03f66e8a 593
7a2d09cc
MR
594 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
595 mode.
596 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
597 (macro_build) <'2'>: Handle microMIPS.
03f66e8a
MR
598 (macro) <M_BALIGN>: Update error handling.
599 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
600 <'7', '8', '0', '@', '^'>: Likewise.
601 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
602 <'9'>: Fix formatting.
603 <'0', '@'>: Handle microMIPS.
604 <'^'>: New case.
605
4a2608e3
JB
6062012-07-31 Jan Beulich <jbeulich@suse.com>
607
608 * config/tc-i386.c (match_template): Adjust error message
609 for 'bad_imm4' case.
610
5a819eb9
JB
6112012-07-31 Jan Beulich <jbeulich@suse.com>
612
613 * config/tc-i386.c (check_byte_reg): Check for I/O port
614 register earlier, and just once. Drop diagnostic that got
615 issued only for some registers.
616
5614d22c
JB
6172012-07-31 Jan Beulich <jbeulich@suse.com>
618
619 * config/tc-i386.c (match_template): New local variable
620 'specific_error'. Set it from i.error after failed
621 check_VecOperands or VEX_check_operands. Use it if set in
622 preference to i.error when actually issuing disagnostic.
623
a6dc81d2
NC
6242012-07-30 Nick Clifton <nickc@redhat.com>
625
626 * po/gas.pot: Updated template.
627 * po/es.po: Updated Spanish translation.
628 * po/fi.po: Updated Finnish translation.
629 * po/fr.po: Updated French translation.
630
c4dd807e
MF
6312012-07-27 Mike Frysinger <vapier@gentoo.org>
632
633 * configure.in (BFD_VERSION): Run bfd/configure --version and
634 parse the output of that.
635 * configure: Regenerate.
636
af18cb59
TG
6372012-07-27 Tristan Gingold <gingold@adacore.com>
638
639 * NEWS: Add marker for 2.23.
640
204d254e
SK
6412012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
642
643 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
644
c71bb85d
SB
6452012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
646
647 * listing.c (struct list_message): New.
648 (struct list_info_struct): Delete "message". Add "messages"
649 and "last_message".
650 (listing_message): Adjust.
651 (listing_newline): Adjust.
652 (print_lines): Adjust.
653
9e2934f7
JB
6542012-07-24 Jan Beulich <jbeulich@suse.com>
655
656 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
657 xmm/ymm index register being specified first as well as esp/rsp
658 base register being specified last in a memory operand.
659
8280f326
JB
6602012-07-24 Jan Beulich <jbeulich@suse.com>
661
662 * config/tc-i386-intel.c (i386_intel_simplify_register):
663 Replace literal 4 by corresponding ESP_REG_NUM.
664
5e73442d
SL
6652012-07-24 Sandra Loosemore <sandra@codesourcery.com>
666 Jie Zhang <jzhang918@gmail.com>
667
668 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
669 if offset is negative.
670
e2e1fcde
L
6712012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
672
673 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
674 * doc/c-i386.texi: Document the new directives.
675
6b0d957e 6762012-07-05 Sean Keys <skeys@ipdatasys.com>
4e47244d
L
677
678 * config/tc-xgate.c: Revised assembler so that operands
679 are collected before the addressing mode is determined.
6b0d957e 680
586ec8c1
NC
6812012-07-02 Nick Clifton <nickc@redhat.com>
682
683 * write.c (fixup_segment): Only perform the subtraction of an
684 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
685 properly defined.
686 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
687
e95a6b1c
AM
6882012-06-30 Alan Modra <amodra@gmail.com>
689
690 PR gas/14315
691 * config/obj-elf.c (obj_elf_weak): Don't set local.
692
08ea7020
AM
6932012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
694
695 * frags.h (frag_offset_fixed_p): Update prototype.
696 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
697 * expr.c (expr, resolve_expression): Likewise for frag_off var.
698
99aad254
NC
6992012-06-29 Nick Clifton <nickc@redhat.com>
700
701 PR gas/14263
702 * config/tc-arm.c (parse_operands): Initialise val.
703
2b2f5df9
NC
7042012-06-28 Nick Clifton <nickc@redhat.com>
705
706 PR gas/14260
707 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
708 message if literal pool addressing is used.
709
453dc3f0
NC
7102012-06-28 Nick Clifton <nickc@redhat.com>
711
712 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
713 linker relaxation.
714 (dwarf2_gen_line_info): Generate real, local, labels for line
715 numbers.
716 (dwarf2dbg_convert_frag): Do not finalize the computation of the
717 frag's symbol value when linker relaxation is enabled.
718 (ADDR_DELTA_LIMIT): Define.
719 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
720 (emit_fixed_inc_line_addr): Likewise.
721 * write.c (fixup_segment): If the subtraction of two symbols
722 cannot be resolved but is valid, then prevent bogus range warnings
723 by pre-biasing add_number.
724 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
725
6b0d957e
SK
7262012-06-28 Sean Keys <skeys@ipdatasys.com>
727
4e47244d
L
728 * config/tc-xgate.h: Defined tc_frob_symbol.
729 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
730 symbols as being XGATE by setting st_target_internal value.
6b0d957e 731
29c048b6
RM
7322012-06-22 Roland McGrath <mcgrathr@google.com>
733
fe13e45b
RM
734 * NEWS: Mention 'rep ret' too.
735
29c048b6
RM
736 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
737 when the template has opcode_modifier.repprefixok set.
738 * NEWS: Mention the change.
739
a574142b
AM
7402012-06-18 Iain Sandoe <iain@codesourcery.com>
741
742 * configure.in: Check DECLS for free, getenv, malloc, realloc,
743 * configure: Regenerate.
744 * config.in: Likewise.
745
357d1bd8
L
7462012-06-13 H.J. Lu <hongjiu.lu@intel.com>
747
748 * config/tc-i386.c (x86_address_bytes): New.
749 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
750 (x86_address_bytes): Likewise.
751
1a43faaf
NC
7522012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
753
754 PR gas/12698
755 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
756 architecure when assembling for all archiectures.
757 (do_t_msr): Likewise.
758
e4efb665
NC
7592012-06-11 Georg-Johann Lay <avr@gjlay.de>
760
761 PR 13503
762 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
763 from 2012-05-16.
764
d2ae702c
L
7652012-06-09 H.J. Lu <hongjiu.lu@intel.com>
766
767 * input-scrub.c (input_scrub_include_sb): Use sb_build to
768 allocate sufficient space for from_sb. Use sb_terminate to
769 terminate string.
770 * read.c (read_a_source_file): Use sb_build to allocate
771 sufficient space and replace sb_add_string with sb_add_buffer.
772 (s_macro): Likewise.
773 (input_scrub_insert_line): Likewise.
774 (s_irp): Use sb_build to allocate sufficient space.
775 (do_repeat): Use sb_build to allocate sufficient space
776 for many.
777 * sb.c (sb_build): Remove static.
778 * sb.h (sb_build): New prototype.
779
5197bfb5
AM
7802012-06-09 Alan Modra <amodra@gmail.com>
781
782 * sb.c: Include limits.h.
783 (dsize): Delete.
784 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
785 (sb_new): Use INIT_ALLOC.
786 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
787 (sb_terminate): Don't use sb_add_char.
788
39a45edc
AM
7892012-06-07 Alan Modra <amodra@gmail.com>
790
791 PR gas/14201
792 * sb.h (sb_max_power_two): Delete.
793 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
794 (sb_element): Delete.
795 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
796 prototypes.
797 * sb.c (string_count, free_list): Delete.
798 (sb_build, sb_kill, sb_check): Rewrite.
799 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
800 sb_skip_white, sb_skip_comma): Replace assorted int params,
801 vars and return types with size_t.
802 * input-scrub.c: Likewise.
803 * macro.c: Likewise.
804 * macro.h: Likewise.
805 * as.c: Likewise.
806 * as.h: Likewise.
807 * input-file.h: Likewise.
808 * input-file.c: Likewise.
809 * read.c: Likewise.
810 * app.c: ..or ptrdiff_t.
811 * input-file.c (input_file_get): Use ferror.
812 (input_file_give_next_buffer): Use input_file_get.
813
6b0d957e
SK
8142012-05-31 Sean Keys <skeys@ipdatasys.com>
815
4e47244d 816 * config/tc-xgate.c (md_begin): Refactored code.
6b0d957e 817
d416e51d
RM
8182012-05-29 Roland McGrath <mcgrathr@google.com>
819
820 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
821 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
822 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
823 pairs.
824
7bfd842d
NC
8252012-05-28 Nick Clifton <nickc@redhat.com>
826
827 * read.c (read_symbol_name): New function. Reads a symbol names.
828 Allows escape codes in names.
829 (s_comm_internal): Use read_symbol_name.
830 (s_globl, s_lsym, s_set, s_weakref): Likewise.
831 * doc/as.texinfo: Document support for multibyte characters in
832 symbol names.
833
95bfe26e
MF
8342012-05-21 Mike Frysinger <vapier@gentoo.org>
835
836 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
837 is non-NULL.
838
59365e19
AM
8392012-05-19 Alan Modra <amodra@gmail.com>
840
841 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
842 targets when checking for "comdat".
843
f3719d90
AM
8442012-05-19 Alan Modra <amodra@gmail.com>
845
846 * config/tc-dlx.c (s_proc): Don't use asprintf.
847
74cda0c4
AM
8482012-05-18 Alan Modra <amodra@gmail.com>
849
850 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
851 return value.
852
d6ed37ed
AM
8532012-05-18 James Lemke <jwlemke@codesourcery.com>
854 Alan Modra <amodra@gmail.com>
855
856 * config/tc-ppc.c: Don't capitalise error and warning messages.
857 (md_parse_option): Add checks for -a32 -mvle.
858
222661cb
AM
8592012-05-18 Alan Modra <amodra@gmail.com>
860
861 * config/obj-evax.c: Include as.h first.
862
f2c621e4
AS
8632012-05-18 Andreas Schwab <schwab@linux-m68k.org>
864
865 * aclocal.m4: Regenerate.
866 * configure: Regenerate.
867 * Makefile.in: Regenerate.
868
df7b86aa
NC
8692012-05-17 Daniel Richard G. <skunk@iskunk.org>
870 Nick Clifton <nickc@redhat.com>
871
872 PR 14072
873 * configure.in: Add check that sysdep.h has been included before
874 any system header files.
875 * configure: Regenerate.
876 * config.in: Regenerate.
877 * aclocal.m4: Regenerate.
878 * Makefile.am: Use wrappers around C files generated by flex.
879 * Makefile.in: Regenerate.
880 * doc/Makefile.in: Regenerate.
881 * itbl-lex-wrapper.c: New file.
882 * config/bfin-lex-wrapper.c: New file.
883 * cgen.c: Include as.h before setjmp.h.
884 * config/tc-dlx.c: Include as.h before any other header.
885 * config/tc-h8300.c: Likewise.
886 * config/tc-lm32.c: Likewise.
887 * config/tc-mep.c: Likewise.
888 * config/tc-microblaze.c: Likewise.
889 * config/tc-mmix.c: Likewise.
890 * config/tc-msp430.c: Likewise.
891 * config/tc-or32.c: Likewise.
892 * config/tc-tic4x.c: Likewise.
893 * config/tc-tic54x.c: Likewise.
894 * config/tc-xtensa.c: Likewise.
895
a0f49396
NC
8962012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
897
898 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
899 as the first argument for `bfd_get_section_vma'.
900
536695d0
NC
9012012-05-16 Alberto Garcia <agarcia@igalia.com>
902
903 PR gas/14082
904 * app.c (do_scrub_chars): Prevent possible out of bounds access to
905 lex[] array.
906
40551fb8
NC
9072012-05-16 Georg-Johann Lay <avr@gjlay.de>
908
909 PR target/13503
910 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
911 R_AVR_8_HLO8.
912 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
913 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
914
c1c30076
NS
9152012-05-16 Nathan Sidwell <nathan@codesourcery.com>
916 Kwok Cheung Yeung <kcy@codesourcery.com>
917
918 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
919 51qm variants.
920
6927f982
NC
9212012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
922
923 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
924 Add option to offset S12 addresses into XGATE memory space.
925 Tweak target flags to match other tools. (i.e. -m m68hc11).
926 * doc/as.texinfo: Mention new options.
927 * doc/c-m68hc11.texi: Document new options.
928 * NEWS: Mention new support.
929
0e25bcb4
DD
9302012-05-14 DJ Delorie <dj@redhat.com>
931
918edac3
DD
932 * config/rx-parse.y (rx_range): declare.
933 (O1,O2,O3,O4): Add calls to rx_range.
934 (UO1,UO2,UO3): Likewise.
935 (IMM2,IMMB): Likewise.
936 (rx_range): New.
937
0e25bcb4
DD
938 * config/tc-rx.c (rx_fetchalign): Declare.
939 (md_pseudo_table): Add .fetchalign.
940 (RX_NBASE_FETCHALIGN): New.
941 (fetchalign_bytes): New.
942 (rx_fetchalign): New.
943 (rx_frag_init): If a "magic" value is found, also init the
944 machine-specific data.
945 (md_assemble): Note following opcode size if called for.
946 (rx_next_opcode): New.
947 (rx_relax_frag): Support .fetchalign.
948 (md_convert_frag): Likewise.
949 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
950
b9c361e0
JL
9512012-05-14 James Lemke <jwlemke@codesourcery.com>
952
953 * config/tc-ppc.c (insn_validate): New func of existing code to call..
954 (ppc_setup_opcodes): ..from 2 places here.
955 Revise for second (VLE) opcode table.
956 Add #ifdef'd code to print opcode tables.
957
9582012-05-14 James Lemke <jwlemke@codesourcery.com>
959
960 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
961 for the VLE conditional branches.
962
9632012-05-14 Catherine Moore <clm@codesourcery.com>
964 Maciej W. Rozycki <macro@codesourcery.com>
965 Rhonda Wittels <rhonda@codesourcery.com>
966
967 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
968 (PPC_VLE_SPLIT16D): New macro.
969 (PPC_VLE_LO16A): New macro.
970 (PPC_VLE_LO16D): New macro.
971 (PPC_VLE_HI16A): New macro.
972 (PPC_VLE_HI16D): New macro.
973 (PPC_VLE_HA16A): New macro.
974 (PPC_VLE_HA16D): New macro.
975 (PPC_APUINFO_VLE): New definition.
976 (md_chars_to_number): New function.
977 (md_parse_option): Check for combinations of little
978 endian and -mvle.
979 (md_show_usage): Document -mvle.
980 (ppc_arch): Recognize VLE.
981 (ppc_mach): Recognize bfd_mach_ppc_vle.
6927f982 982 (ppc_setup_opcodes): Print the opcode table if
b9c361e0
JL
983 * config/tc-ppc.h (ppc_frag_check): Declare.
984 * doc/c-ppc.texi: Document -mvle.
985 * NEWS: Mention PowerPC VLE port.
986
9872012-05-14 Catherine Moore <clm@codesourcery.com>
988
989 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
990 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
991 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
992 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
6927f982 993 for DWARF2_LINE_MIN_INSN_LENGTH.
b9c361e0 994
56e63005
L
9952012-05-12 H.J. Lu <hongjiu.lu@intel.com>
996
997 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
998 for BFD_RELOC_64.
999
208a4923
NC
10002012-05-11 Daniel Richard G. <skunk@iskunk.org>
1001
1002 PR binutils/14028
1003 * configure.in: Invoke ACX_HEADER_STRING.
1004 * configure: Regenerate.
1005 * config.in: Regenerate.
1006 * as.h: If STRINGS_WITH_STRING is defined then include both
1007 string.h and strings.h.
1008
99700d6f
NC
10092012-05-11 Georg-Johann Lay <avr@gjlay.de
1010
1011 PR target/13503
1012 * config/tc-avr.c (exp_mod_pm): Remove variable.
1013 (exp_mod_data_t): New typedef.
1014 (pexp_mod_data, exp_mod_data): New variables.
1015 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
1016 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
1017 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
1018 (avr_cons_fix_new): Handle new data expression modifiers shipped
1019 in pexp_mod_data.
1020 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
1021 BFD_RELOC_AVR_8_HHI.
1022
268a8d3a
L
10232012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1024
1025 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
1026 addend overflow check.
1027
6f2c9068
L
10282012-05-10 H.J. Lu <hongjiu.lu@intel.com>
1029
1030 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
1031 x32 addend overflow check.
1032
83acd3e8
L
10332012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1034
1035 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
1036
8cf0d2dd
L
10372012-05-09 H.J. Lu <hongjiu.lu@intel.com>
1038
1039 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
1040 for BFD_RELOC_64.
1041
e5b62927
AM
10422012-05-08 Alan Modra <amodra@gmail.com>
1043
1044 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
1045 LC and LANG environment vars.
1046 * Makefile.in: Regenerate.
1047
cce3d66c
AM
10482012-05-07 Alan Modra <amodra@gmail.com>
1049
1050 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
1051 * Makefile.in: Regenerate.
1052
25045f79
AM
10532012-05-06 Arnold Metselaar <arnold_m@operamail.com>
1054
1055 * config/tc-z80.h(md_register_arithmetic): Define as 0.
cce3d66c
AM
1056 * config/tc-z80.c(md_begin): Store register names in symbol table,
1057 preventing usage as ordinary symbol.
25045f79
AM
1058 * config/tc-z80.c(contains_register): New function.
1059 * config/tc-z80.c(parse_exp2): Removed.
1060 * config/tc-z80.c(parse_exp_not_indexed): New function.
cce3d66c
AM
1061 * config/tc-z80.c(parse_exp): Add code to recogize indexed
1062 addressing after parsing.
25045f79 1063 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
cce3d66c
AM
1064 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
1065 condition for jump to register.
1066 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
1067 parse_exp_not_indexed.
25045f79 1068
45dfa85a
AM
10692012-05-05 Alan Modra <amodra@gmail.com>
1070
1071 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
1072 bfd_und_section and bfd_ind_section with their _ptr variants, or
1073 use corresponding bfd_is_* macros.
1074 * symbols.c: Likewise.
1075 * config/obj-aout.c: Likewise.
1076 * config/obj-coff-seh.h: Likewise.
1077 * config/tc-hppa.c: Likewise.
1078 * config/tc-hppa.h: Likewise.
1079 * config/tc-ia64.c: Likewise.
1080 * config/tc-m32r.c: Likewise.
1081 * config/tc-microblaze.c: Likewise.
1082 * config/tc-mips.c: Likewise.
1083 * config/tc-score.c: Likewise.
1084 * config/tc-score7.c: Likewise.
1085 * config/tc-tic6x.c: Likewise.
1086
3c995545
L
10872012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1088
1089 * configure.tgt: Support x86_64-*-linux-gnux32.
1090
35262a23
L
10912012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1092
1093 * config/tc-i386.c (match_template): Add `instruction' to
1094 unsupported error message.
1095
89e71f5c
L
10962012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1097
1098 * config/tc-i386.c (output_insn): Reformat.
1099
ae5c1c7b
L
11002012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1101
1102 * config/tc-i386.c (output_insn): Remove the extra VEX check.
1103
10efe3f6
L
11042012-05-04 H.J. Lu <hongjiu.lu@intel.com>
1105
1106 * config/tc-i386.c (match_template): Improve unsupported error
1107 message.
1108
f6c1a2d5
NC
11092012-05-03 Sean Keys <skeys@ipdatasys.com>
1110
1111 * configure, Makefile.in: Regenerate.
1112 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
1113 * configure.tgt: Added cpu type.
1114 Added files for XGATE assembler.
1115 * config/tc-xgate.c: Assembler for XGATE.
1116 * config/tc-xgate.h: Header definition for assembler
1117 Added files for XGATE testsuite.
1118 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
1119 * doc/c-xgate.texi: Document XGATE and XGATE port.
1120 * doc/as.texinfo: Ditto.
1121 * doc/all.texi: Ditto
1122 * NEWS: Mention the new support.
1123
cad335c9
DD
11242012-04-30 DJ Delorie <dj@redhat.com>
1125
1126 * config/rx-parse.y (rx_intop): Add parameter for operation size.
1127 Check for large positive constants really being small negative
1128 ones.
1129 (BRA, BSR): Update calls to rx_intop.
1130 (immediate): Likewise.
1131
88ebb0a1
MW
11322012-04-26 Mark Wielaard <mjw@redhat.com>
1133
1134 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
1135 (DWARF2_LINE_VERSION): Likewise.
1136 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
1137 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
1138 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
1139 DWARF2_VERSION >= 4.
1140 (out_debug_info): Use difference between start and end as data
1141 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
1142 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
1143
ec668d69
DM
11442012-04-27 David S. Miller <davem@davemloft.net>
1145
2755f698
DM
1146 * doc/c-sparc.text: Document %l34 and %h34.
1147
2e52845b
DM
1148 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
1149
58004e23
DM
1150 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
1151 v8pluse, v8plusv, v9e, and v9v.
1152 (v9a_asr_table): Add 'pause'.
1153
698544e1
DM
1154 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
1155 sparc4, v8pluse, v8plusv, v9e, and v9v.
1156 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
1157 order to accomodate cbcond which otherwise would require two
1158 relocations to be handled in a single instruction..
1159
6cda1326
DM
1160 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
1161 names containing "_".
1162 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
1163 hwcap masks to v8plusv and v9v.
1164
ec668d69
DM
1165 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
1166 masks.
1167 (sparc_md_end): No longer need to translate hwcap_seen values into
1168 ELF hwcap bits, they now match exactly.
1169 (get_hwcap_name): Use HWCAP_* and handle new values.
1170 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
1171
2b0bc501
TG
11722012-04-20 Tristan Gingold <gingold@adacore.com>
1173
1174 * config/tc-ia64.c (obj_elf_vms_common): New function.
1175 (md_pseudo_table): Add .vms_common pseudo.
1176 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
1177 * config/obj-elf.c (obj_elf_section_name): Make it public.
1178
0b649256
RS
11792012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
1180
1181 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
1182
2615994e
DM
11832012-04-12 David S. Miller <davem@davemloft.net>
1184
1185 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
1186 BFD_RELOC_SPARC_H34.
1187 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
1188 (tc_gen_reloc): Likewise.
1189
b38cadfb
NC
11902012-04-12 Roland McGrath <mcgrathr@google.com>
1191
1192 * configure.tgt (arm-*-nacl*): Match it.
1193 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
1194 (LOCAL_LABELS_DOLLAR): Define.
1195 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
1196 Use nacl format variants.
1197
6530b175 11982012-04-12 Jie Zhang <jie@codesourcery.com>
4e47244d 1199 Meador Inge <meadori@codesourcery.com>
6530b175
NC
1200
1201 * config/tc-arm.c (only_one_reg_in_list): New function.
1202 (encode_ldmstm): Ditto.
1203 (do_ldmstm): Use a different encoding when pushing or poping
1204 a single register.
1205 (A_COND_MASK): New macro.
1206 (A_PUSH_POP_OP_MASK): Ditto.
1207 (A1_OPCODE_PUSH): Ditto.
1208 (A2_OPCODE_PUSH): Ditto.
1209 (A2_OPCODE_POP): Ditto.
1210
45e279f5
MR
12112012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
1212
1213 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
1214 -mno-fix-24k.
1215
58797674
RM
12162012-04-06 Roland McGrath <mcgrathr@google.com>
1217
1218 * configure.in (AC_CHECK_HEADERS): Add locale.h.
1219 * config.in: Regenerate.
1220 * configure: Regenerate.
1221
44350750
NC
12222012-04-05 Nick Clifton <nickc@redhat.com>
1223
1224 * configure.in (AC_CHECK_FUNCS): Add setlocale.
1225 (AM_LC_MESSAGES): Add.
1226 * aclocal.m4: Regenerate.
1227 * config.in: Regenerate.
1228 * configure: Regenerate.
1229
e91a22ce
DD
12302012-04-03 DJ Delorie <dj@redhat.com>
1231
1232 * config/rx-parse.y: Make the .L optional for ADC and SBB.
1233
b1c0804b
DD
12342012-04-02 DJ Delorie <dj@redhat.com>
1235
1236 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
1237 transfer size.
1238 (IMM): New, call IMM_ with the default 32.
1239 (IMMW,IMMB): Likewise, for 16 and 8.
1240 (NIMM, MBIMM): Add size parameter.
1241 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
1242 (MOV.W): Use IMMW instead of IMM.
1243
1244 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
1245 (op_dp20_rm_l): New.
1246 (op_dp20_rim_l): New.
1247
1248 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
1249 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
1250
ce32bd10
MGD
12512012-03-29 Terry Guo <terry.guo@arm.com>
1252
1253 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
1254 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
1255
55a36193
MK
12562012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
1257
1258 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
1259 * doc/c-mips.texi: Mention XLP.
1260
32b9ff0d
TS
12612012-03-21 Thomas Schwinge <thomas@codesourcery.com>
1262
1263 [SH] Support the .uaquad and .8byte directives also for non-sh64
1264 configurations.
1265
1266 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
1267 BFD_RELOC_64.
1268 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
1269 description...
1270 * doc/c-sh.texi (SH Machine Directives): ... here.
1271
7465e07a
NC
12722012-03-20 Nick Clifton <nickc@redhat.com>
1273
1274 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
1275 registers.
1276 (do_vmsr): Likewise.
1277 (arm_opcode_insns): Do not default to using the FPSCR register in
1278 the VMRS and VMSR registers.
1279
8059fb19
RM
12802012-03-16 Roland McGrath <mcgrathr@google.com>
1281
1282 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
1283 Define for this case.
1284 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
1285
69239280
MGD
12862012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1287
1288 * config/tc-arm.c (aeabi_set_public_attributes): Correct
1289 handling of Tag_DIV_use.
1290
27dcf5c0
TS
12912012-03-15 Thomas Schwinge <thomas@codesourcery.com>
1292
1293 * doc/as.texinfo (Bundle directives): Fix typo.
1294
ec82c18e
L
12952012-03-14 Ryan Mansfield <rmansfield@qnx.com>
1296
1297 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
1298
8d3eaee6 12992012-03-13 Roland McGrath <mcgrathr@google.com>
fa94de6b
RM
1300
1301 * config/tc-arm.c (arm_frag_max_var): New function.
1302 * config/tc-arm.h: Declare it.
1303 (md_frag_max_var): New macro.
1304
1305 * config/tc-i386.c (i386_frag_max_var): New function.
1306 * config/tc-i386.h: Declare it.
1307 (md_frag_max_var): New macro.
1308
1309 * doc/as.texinfo (Bundle directives): New node.
1310 (Pseudo Ops): Add it to the menu.
1311 * NEWS: Mention new feature.
1312 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
1313 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
1314 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
1315 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
1316 New functions.
1317 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
1318 to md_assembly if not.
1319 (read_a_source_file): Call assemble_one in place of md_assemble.
1320 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
1321 .bundle_lock at end of processing.
1322 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
1323 New functions.
1324 [HANDLE_BUNDLE] (potable): Add their entries.
1325 * read.h: Declare new functions.
1326
aea77599
AM
13272012-03-10 Edmar Wienskoski <edmar@freescale.com>
1328
1329 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
1330 (ppc_handle_align): Add termination nop opcode for e500mc family.
1331 * doc/as.texinfo: Document options -me5500 and -me6500.
1332 * doc/c-ppc.texi: Likewise.
1333
0a22ae8e
NC
13342012-03-07 Nick Clifton <nickc@redhat.com>
1335
1336 * config/tc-mn10300.c (other_registers): Add SSP and USP.
1337 (md_assemble): Add support for TLS relocs.
1338 (mn10300_parse_name): Likewise.
1339
805e800d
AM
13402012-02-27 Alan Modra <amodra@gmail.com>
1341
1342 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
1343
b9fcee79
AM
13442012-02-27 Alan Modra <amodra@gmail.com>
1345
1346 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
1347 params. Properly generate NOP pattern. Comment reason for
1348 subseg_text_p failure.
1349
35a35807
AM
13502012-02-27 Alan Modra <amodra@gmail.com>
1351
1352 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
1353 and sign extend before range tests.
1354 (constant_fits_size_p): Similarly.
1355 (get_specific): Trim X_add_number to 32 bits.
1356 (fix_operand_size): Likewise, and use unsigned test for signed
1357 ranges.
1358
1f42f8b3
AM
13592012-02-27 Alan Modra <amodra@gmail.com>
1360
1361 * config/tc-crx.c: Include bfd_stdint.h.
1362 (getconstant): Remove irrelevant comment. Don't fail due to
1363 sign-extension of int mask.
1364 (check_range): Rewrite using unsigned arithmetic throughout.
1365
481fe810
WL
13662012-02-25 Walter Lee <walt@tilera.com>
1367
1368 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
1369 non-local before checking sy_value.
1370 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
1371
6f7be959
WL
13722012-02-25 Walter Lee <walt@tilera.com>
1373
1374 * tc-tilepro.c (O_tls_le): Define operator.
1375 (O_tls_le_lo16): Ditto.
1376 (O_tls_le_hi16): Ditto.
1377 (O_tls_le_ha16): Ditto.
1378 (O_tls_gd_call): Ditto.
1379 (O_tls_gd_add): Ditto.
1380 (O_tls_ie_load): Ditto.
1381 (md_begin): Delete old operators; handle new operators.
1382 (emit_tilepro_instruction): Ditto.
1383 (md_apply_fix): Ditto.
1384 * tc-tilegx.c (O_hw1_got): Delete operator.
1385 (O_hw2_got): Ditto.
1386 (O_hw3_got): Ditto.
1387 (O_hw2_last_got): Ditto.
1388 (O_hw1_tls_gd): Ditto.
1389 (O_hw2_tls_gd): Ditto.
1390 (O_hw3_tls_gd): Ditto.
1391 (O_hw2_last_tls_gd): Ditto.
1392 (O_hw1_tls_ie): Ditto.
1393 (O_hw2_tls_ie): Ditto.
1394 (O_hw3_tls_ie): Ditto.
1395 (O_hw2_last_tls_ie): Ditto.
1396 (O_hw0_tls_le): Define operator.
1397 (O_hw0_last_tls_le): Ditto.
1398 (O_hw1_last_tls_le): Ditto.
1399 (O_tls_gd_call): Ditto.
1400 (O_tls_gd_add): Ditto.
1401 (O_tls_ie_load): Ditto.
1402 (O_tls_add): Ditto.
1403 (md_begin): Delete old operators; handle new operators.
1404 (emit_tilegx_instruction): Ditto.
1405 (md_apply_fix): Ditto.
1406 * doc/c-tilegx.texi: Delete old operators; document new operators.
1407 * doc/c-tilepro.texi: Ditto.
1408
82590249
WL
14092012-02-25 Walter Lee <walt@tilera.com>
1410
5414dbef
WL
1411 * tc-tilepro.c (apply_special_operator): delete cases for
1412 got and tls operators.
1413 (md_apply_fix): Ditto.
fb6cedde
WL
1414 * tc-tilegx.c (md_begin): Set architecture and machine.
1415 (tilegx_target_format): Handle big endian.
1416 (OPTION_EB): Define.
1417 (OPTION_EL): Define.
1418 (md_longopts): Add entries for "EB" and "EL".
1419 (md_parse_option): Handle OPTION_EB and OPTION_EL.
1420 (md_show_usage): Add -EB and -EL.
1421 (md_number_to_chars): New.
5414dbef
WL
1422 (apply_special_operator): delete cases for got and tls
1423 operators.
1424 (md_apply_fix): Ditto.
fb6cedde
WL
1425 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
1426 ifndef.
1427 (md_number_to_chars): Delete.
1428 * configure.tgt (tilegx*be): Handle.
1429 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
1430 * doc/c-tilegx.texi: Ditto.
82590249 1431
82c2def5
L
14322012-02-21 H.J. Lu <hongjiu.lu@intel.com>
1433
1434 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
1435 HLEPrefixAny and HLEPrefixRelease.
1436
1bf10b0d
NC
14372012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
1438
1439 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
1440
16a87420
IS
14412012-02-21 Iain Sandoe <idsandoe@googlemail.com>
1442
1443 * write.c (write_object_file): Add md_pre_output_hook.
1444 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
1445 (obj_mach_o_pre_output_hook): New.
1446 * config/obj-macho.h (md_pre_output_hook): Define.
1447 (obj_mach_o_pre_output_hook): Declare.
1448
cdaa5616
IS
14492012-02-21 Tristan Gingold <gingold@adacore.com>
1450
1451 * config/tc-i386.h (OBJ_MACH_O): New section.
1452 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
1453 (TC_FORCE_RELOCATION_SUB_SAME): New
1454 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
1455 (TC_VALIDATE_FIX_SUB): New.
1456 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
1457 * symbols.c (colon): obj_frob_colon: New hook.
1458 * write.c (write_object_file): md_pre_relax_hook, new
1459 hook.
1460 * config/obj-macho.c (obj_mach_o_frob_colon): New.
1461 (obj_mach_o_frob_label): Record sub-section labels.
1462 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
1463 (obj_mach_o_set_subsections): New.
1464 (obj_mach_o_pre_relax_hook): New.
1465 (obj_mach_o_in_different_subsection): New.
1466 (obj_mach_o_force_reloc_sub_same): New.
1467 (obj_mach_o_force_reloc_sub_local): New.
1468 (obj_mach_o_force_reloc): New.
1469 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
1470 (obj_frob_colon): New Define.
1471 (obj_mach_o_frob_label): Renamed.
1472 (obj_mach_o_frob_symbol): Renamed.
1473 (OBJ_FRAG_TYPE): New.
1474 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
1475 obj_mach_o_force_reloc_sub_same,
1476 obj_mach_o_force_reloc_sub_local): New declarations.
1477
854ac8ba
IS
14782012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1479
1480 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
1481 (obj_mach_o_allow_local_subtract): New.
1482 * config/obj-macho.h (md_allow_local_subtract): Define.
1483 (obj_mach_o_allow_local_subtract): Declare.
1484
a5759139
IS
14852012-02-20 Iain Sandoe <idsandoe@googlemail.com>
1486
1487 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
1488 canonical information, try to determine CODE and DEBUG section flags
1489 from the mach-o section data.
1490
9ad45734
NC
14912012-02-20 Nick Clifton <nickc@redhat.com>
1492
1493 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
1494 local symbols.
1495
8e43fc02
IS
14962012-02-12 Iain Sandoe <idsandoe@googlemail.com>
1497
1498 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
1499 any local symbol used as an indirect.
1500
fb4914b0
IS
15012012-02-10 Iain Sandoe <idsandoe@googlemail.com>
1502
1503 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
1504 stub size when provided. (obj_mach_o_section): Flag that stub-size
1505 has been provided.
1506
42164a71
L
15072012-02-08 H.J. Lu <hongjiu.lu@intel.com>
1508
1509 * config/tc-i386.c (HLE_PREFIX): New.
1510 (check_hle): Likewise.
1511 (_i386_insn): Add have_hle.
1512 (cpu_arch): Add .hle and .rtm.
1513 (md_assemble): Call check_hle if i.have_hle isn't zero.
1514 (parse_insn): Set i.have_hle to 1 for HLE prefix.
1515 (output_jump): Support up to 2 byte opcode.
1516
1517 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
1518
facf03f2
TG
15192012-02-02 Tristan Gingold <gingold@adacore.com>
1520
1521 * config/obj-macho.c (obj_mach_o_zerofill): Silent
1522 uninitialized variable warning.
1523
f6616a06
NC
15242012-02-02 Nick Clifton <nickc@redhat.com>
1525
1526 PR gas/13224
1527 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1528 to 'is_clone' to avoid shadowing a gloabl.
1529 (obj_elf_section): Likewise.
1530
bac03263 15312012-01-31 Paul Brook <paul@codesourcery.com>
f6616a06 1532
bac03263
PB
1533 * doc/c-tic6x.c: Fix typo.
1534
f8819316
NC
15352012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1536
1537 PR gas/13624
1538 * app.c (app_push): Set 'add_newlines' to zero after saving.
1539
21abe33a
DD
15402012-01-24 DJ Delorie <dj@redhat.com>
1541
1542 * config/rl78-parse.y (NOT1): Add.
1543
8d63c93e
RM
15442012-01-23 Roland McGrath <mcgrathr@google.com>
1545
1546 * configure.tgt (i386-*-nacl*): Match it.
1547 * config/te-nacl.h: New file.
1548 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1549 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1550 Use TE_GNU et al case for TE_NACL too.
1551
a501d77e
L
15522012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1553
1554 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1555 disp_encoding.
1556 (md_assemble): Updated.
1557 (output_branch): Likewise.
1558 (parse_insn): Support .d8 suffix.
1559 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1560 suffixes.
1561
1562 * doc/c-i386.texi: Document .d8 suffix.
1563
032fbb7a
AM
15642012-01-17 Andrew Burgess <aburgess@broadcom.com>
1565
1566 * write.c (fix_new_internal): Don't mark used parameter as unused.
1567
576477a6
AM
15682012-01-17 Alan Modra <amodra@gmail.com>
1569
1570 * as.c (parse_args): Update copyright message year.
1571
8729a6f6
L
15722012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1573
1574 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1575
1576 * doc/c-i386.texi: Document vmfunc.
1577
34dd18bc
IS
15782012-01-13 Tristan Gingold <gingold@adacore.com>
1579
1580 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1581 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1582 (obj_mach_o_reorder_section_relocs): Declare.
1583
687be931
IS
15842012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1585
1586 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1587 absolute indirect symbols.
1588
c3402d20
IS
15892012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1590
1591 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1592 (obj_mach_o_set_section_vma): New.
1593 (obj_mach_o_post_relax_hook): New.
1594 * config/obj-macho.h (md_post_relax_hook): Define.
1595 (obj_mach_o_post_relax_hook): Declare.
1596
50d10658
IS
15972012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1598
1599 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1600 lazy when the symbol is private_extern.
1601 (obj_mach_o_indirect_sym): New type.
1602 (obj_mach_o_indirect_symbol): New.
1603 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1604 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1605 (obj_macho_frob_label): Likewise. Adjust external and comm
1606 symbol tests.
1607 (obj_mach_o_set_indirect_symbols): New.
1608 (obj_mach_o_frob_file_after_relocs): New.
1609 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1610 (obj_mach_o_frob_file_after_relocs): Declare.
1611
0a4734dc
TG
16122012-01-12 Tristan Gingold <gingold@adacore.com>
1613
1614 PR gas/13591
1615 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1616
158184ac
TG
16172012-01-10 Tristan Gingold <gingold@adacore.com>
1618
1619 * struc-symbol.h (struct symbol_flags): New struct, created from...
1620 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1621 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1622 Adjust comment.
1623 (local_symbol_resolved_p): Adjust.
1624 (local_symbol_mark_resolved): Likewise.
1625 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1626 (local_symbol_make, local_symbol_convert, colon)
1627 (symbol_clone_if_forward_ref, verify_symbol_chain)
1628 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1629 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1630 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1631 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1632 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1633 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1634 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1635 (symbol_mark_mri_common, symbol_clear_mri_common)
1636 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1637 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1638 (symbol_equated_reloc_p, dot_symbol_init)
1639 (print_symbol_value_1): Adjust.
1640
b22161d6
IS
16412012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1642
1643 * config/obj-macho.c (obj_mach_o_weak): Remove.
1644 (obj_mach_o_common_parse): Set symbol qualifiers.
1645 (LAZY, REFE): New macros.
1646 (obj_mach_o_symbol_type): New enum.
1647 (obj_mach_o_set_symbol_qualifier): New.
1648 (obj_mach_o_sym_qual): New.
1649 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1650 a dummy function.
1651 (obj_mach_o_type_for_symbol): New.
1652 (obj_macho_frob_label): New.
1653 (obj_macho_frob_symbol): New.
1654 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1655 (obj_frob_label, obj_macho_frob_label): Declare.
1656 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1657
de64cffd
RS
16582012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1659
1660 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1661
462427c4
RS
16622012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1663 Richard Sandiford <rdsandiford@googlemail.com>
1664
1665 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1666 textness as parameters.
1667 (mips_move_text_labels): New function.
1668 (append_insn): Use it instead of mips_move_labels.
1669 (mips_emit_delays, start_noreorder): Likewise.
1670 (mips_align): Take the labels rather than just one label.
1671 Move all labels to after the .align.
1672 (s_align): Change the last argument to mips_align.
1673 (s_cons): Likewise.
1674 (s_float_cons): Likewise.
1675 (s_gpword): Likewise.
1676 (s_gpdword): Likewise.
1677
d382c579
TG
16782012-01-06 Tristan Gingold <gingold@adacore.com>
1679
1680 * config/tc-i386.c: Update copyright year.
1681 (lex_got): Also defined for Mach-O.
1682 Add a guard for non-ELF configuration.
1683 (md_longopts): Also handle -64 for Mach-O.
1684 (md_parse_option): Likewise.
1685 (i386_target_format): Adjust for x86_64-darwin.
1686
8cf6e084
IS
16872012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1688
1689 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1690 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1691 (obj_mach_o_make_or_get_sect): Likewise.
1692 (obj_mach_o_section): Split out the functionality shared with zerofill.
1693 (obj_mach_o_zerofill): New.
1694 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1695 (mach_o_pseudo_table): Add .zerofill.
1696
68588f95
IS
16972012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1698
1699 * config/obj-macho.c (obj_macho_process_stab): New.
1700 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1701 (obj_macho_process_stab): Declare.
1702
23e1d329 1703For older changes see ChangeLog-2011
08d56133
NC
1704\f
1705Local Variables:
1706mode: change-log
1707left-margin: 8
1708fill-column: 74
1709version-control: never
1710End:
This page took 0.641497 seconds and 4 git commands to generate.