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