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