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