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