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