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