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