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