OSDN Git Service

a0bca6cd4d8ee5d771d5a2f3e899820286e83e7c
[pf3gnuchains/pf3gnuchains4x.git] / gas / ChangeLog
1 2012-01-04  Iain Sandoe  <idsandoe@googlemail.com>
2
3         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
4         (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
5         (obj_mach_o_make_or_get_sect): Likewise.
6         (obj_mach_o_section): Split out the functionality shared with zerofill.
7         (obj_mach_o_zerofill): New.
8         (obj_mach_o_common_parse): Ensure whitespace is skipped.
9         (mach_o_pseudo_table): Add .zerofill.
10
11 2012-01-03  Iain Sandoe  <idsandoe@googlemail.com>
12
13         * config/obj-macho.c (obj_macho_process_stab): New.
14         * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
15         (obj_macho_process_stab): Declare.
16
17 2011-12-29  Iain Sandoe  <idsandoe@googlemail.com>
18
19         * as.c (perform_an_assembly_pass): Do not create text, data and bss
20         sections for MACH-O.  Do not switch to the text section.
21         * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Forward decl.
22         (mach_o_begin): Startup with only text section unless suppressed.
23         * config/obj-macho.h (obj_begin): define to mach_o_begin ().
24
25 2011-12-22  DJ Delorie  <dj@redhat.com>
26
27         * config/rl78-defs.h (rl78_linkrelax_addr16): Add.
28         (rl78_linkrelax_dsp, rl78_linkrelax_imm): Remove.
29         * config/rl78-parse.y: Tag all addr16 and branch patterns with
30         relaxation markers.
31         * config/tc-rl78.c (rl78_linkrelax_addr16): New.
32         (rl78_linkrelax_branch): New.
33         (OPTION_RELAX): New.
34         (md_longopts): Add relax option.
35         (md_parse_option): Add OPTION_RELAX.
36         (rl78_frag_init): Support relaxation.
37         (rl78_handle_align): New.
38         (md_assemble): Support relaxation.
39         (md_apply_fix): Likewise.
40         (md_convert_frag): Likewise.
41         * config/tc-rl78.h (MAX_MEM_FOR_RS_ALIGN_CODE): New.
42         (HANDLE_ALIGN): New.
43         (rl78_handle_align): Declare.
44
45         * config/rl78-parse.y (rl78_bit_insn): New.  Set it for all bit
46         insn patterns.
47         (find_bit_index): New.  Strip .BIT suffix off relevent
48         expressions for bit insns.
49         (rl78_lex): Exclude bit suffixes from expression parsing.
50
51 2011-12-21  Nick Clifton  <nickc@redhat.com>
52
53         PR gas/13449
54         * config/tc-arm.c (create_unwind_entry): Zero allocated table
55         entries.
56
57 2011-12-19  Iain Sandoe  <idsandoe@googlemail.com>
58
59         * config/obj-macho.c (obj_mach_o_section): Account for target-
60         dependent section types.  Improve error handling when wrong section
61         types/attributes are specified.
62
63 2011-12-19  Chung-Lin Tang  <cltang@codesourcery.com>
64
65         * config/tc-mips.c (mips_pseudo_table): Add tprelword/tpreldword
66         entries.
67         (mips16_percent_op): Add MIPS16 TLS relocation ops.
68         (md_apply_fix): Add BFD_RELOC_MIPS16_TLS_* switch cases.
69         (s_tls_rel_directive): Rename from s_dtprel_internal(). Abstract out
70         directive string and reloc type as function parameters. Update
71         comments.
72         (s_dtprelword,s_dtpreldword): Change to use s_tls_rel_directive().
73         (s_tprelword,s_tpreldword): New functions.
74
75 2011-12-15  Tristan Gingold  <gingold@adacore.com>
76
77         * config/obj-macho.c (obj_mach_o_fileprop): Fix typo.
78
79 2011-12-15  Konstantin Belousov  <kib@FreeBSD.org>
80
81         * config/obj-elf.c (obj_elf_type): Add ELFOSABI_FREEBSD to the
82         supported abi's.
83
84 2011-12-15  Iain Sandoe  <iains@gcc.gnu.org>
85
86         * config/obj-macho.c (obj_mach_o_subsections_by_symbols): New global.
87         (obj_mach_o_file_properties): New enum.
88         (obj_mach_o_subsections_via_symbols):  Generalize name to...
89         ... (obj_mach_o_fileprop) and use to set subsections_via_symbols.
90
91 2011-12-14  Stuart Henderson  <shenders@gcc.gnu.org>
92
93         * config/bfin-parse.y (asm_1): set SRCx fields to all 1s for
94         dspalu32 instrs that don't use them.
95
96 2011-12-14  Nick Clifton  <nickc@redhat.com>
97
98         * config/tc-cris.c (md_convert_frag): Mark the length_code local
99         variable as unused as it is only used when ENABLE_CHECKING is on.
100
101 2011-12-14  Iain Sandoe  <iains@gcc.gnu.org>
102
103         * config/obj-macho.c: Add some more top-level comments.
104         (collect_16char_name): New.
105         (obj_mach_o_section): Amend to allow syntax compatible with
106         existing system tools.  Use section translation data when available.
107         (obj_mach_o_segT_from_bfd_name): New.
108         (known_sections): Update.
109         (obj_mach_o_known_section): Use obj_mach_o_segT_from_bfd_name.
110         (objc_sections): New.
111         (obj_mach_o_objc_section): New.
112         (debug_sections): New.
113         (obj_mach_o_debug_section): New.
114         (tgt_sections): New.
115         (obj_mach_o_opt_tgt_section): New.
116         (obj_mach_o_base_section): New.
117         (obj_mach_o_common_parse): Update to create BSS on demand and to handle
118         lcomm optional alignment param.
119         (obj_mach_o_comm): Update parameter name.
120         (obj_mach_o_placeholder): New.
121         (mach_o_pseudo_table): Update for GCC section directives.
122         * config/obj-macho.h (_OBJ_MACH_O_H): New.
123         (USE_ALIGN_PTWO): Define.
124         (S_SET_ALIGN) Define.
125
126 2011-12-13  Andrew Burgess  <aburgess@broadcom.com>
127
128         * doc/internals.texi (TC_FORCE_RELOCATION_SUB_SAME): Update
129         to match code.
130
131 2011-12-08  Andrew Pinski  <apinski@cavium.com>
132             Adam Nemet  <anemet@caviumnetworks.com>
133
134         * tc-mips.c (CPU_IS_OCTEON): Add Octeon2.
135         (mips_cpu_info_table): Add Octeon2.
136         * doc/c-mips.texi: Document octeon2 as an acceptable value for -march=.
137
138 2011-12-07  Sameera Deshpande  <sameera.deshpande@arm.com>
139
140         * config/tc-arm.c (do_t_ldstd): Warn for unpredictable cases.
141
142 2011-11-07  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
143
144         * config/tc-arm.c (ARM_IT_MAX_OPERANDS): New define.
145         (arm_it): Use ARM_IT_MAX_OPERANDS.
146         (neon_select_shape): Ensure we have matched all operands.
147
148 2011-11-07  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
149
150         * config/tc-arm.c (parse_neon_mov): Update which_operand
151         correctly.
152
153 2011-12-05  Richard Earnshaw  <rearnsha@arm.com>
154
155         * tc-arm.c (aeabi_set_public_attributes): Correctly set
156         Tag_ARM_ISA_use and Tag_Thumb_ISA_use.
157
158 2011-11-30  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
159
160         * config/tc-arm.c (arm_cpu_option_table): Add name_len field.
161         (arm_arch_option_table): Likewise.
162         (arm_option_extension_value_table): Likewise.
163         (ARM_CPU_OPT): New define.
164         (ARM_ARCH_OPT): Likewise.
165         (ARM_EXT_OPT): Likewise.
166         (arm_cpus): Use ARM_CPU_OPT to initialize.
167         (arm_archs): Use ARM_ARCH_OPT to initialize.
168         (arm_extensions): Use ARM_EXT_OPT to initialize.
169         (arm_parse_extension): Ensure option string matching matches
170         the whole string.
171         (arm_parse_cpu): Likewise.
172         (arm_parse_arch): Likewise.
173
174 2011-11-29  Andrew Pinski  <apinski@cavium.com>
175
176         * config/tc-mips.c (CPU_IS_OCTEON): New macro function.
177         (CPU_HAS_SEQ): Change to use CPU_IS_OCTEON.
178         (NO_ISA_COP): Likewise.
179         (macro) <ld_st>: Add support when off0 is true.
180         Add support for M_SAA_AB, M_SAA_OB, M_SAAD_OB and M_SAAD_AB.
181         (mips_cpu_info_table): Add octeon+.
182         * doc/c-mips.texi: Document octeon+ as an acceptable value for -march=.
183
184 2011-11-25  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
185
186         * config/tc-arm.c (do_t_mov_cmp): Allow MOV lowreg, lowreg when no CPU
187         is specified.
188
189 2011-11-23  Tristan Gingold  <gingold@adacore.com>
190
191         * config/tc-alpha.c (s_alpha_prologue): Requires empty line.
192
193 2011-11-23  Tristan Gingold  <gingold@adacore.com>
194
195         * config/tc-alpha.c (s_alpha_frame): Emit a warning if bad value
196         of RA.
197         (s_alpha_pdesc): Adjust comment.
198
199 2011-11-23  Thomas Klein  <th.r.klein@web.de>
200
201         * config/tc-arm.c (do_t_mov_cmp): Prevent emitting code for MOV
202         with two low register at arch v4t or v5t when assember using
203         unified syntax.
204
205 2011-11-21  DJ Delorie  <dj@redhat.com>
206
207         * config/rl78-defs.h (rl78_error): Add "const".
208         * config/rl78-parse.y (rl78_error): Likewise.
209
210 2011-11-21  Andreas Tobler  <andreast@fgznet.ch>
211
212         * config/tc-ppc.c (ppc_target_format): Add format for powerpc*-freebsd.
213
214 2011-11-16  David S. Miller  <davem@davemloft.net>
215
216         * config/tc-sparc.c (md_apply_fix): Handle BFD_RELOC_8.
217
218 2011-11-16  Maciej W. Rozycki  <macro@codesourcery.com>
219
220         * config/tc-mips.c (macro): Fix unsupported opcode message
221         capitalization.
222         (mips_ip, mips16_ip): Likewise.
223
224 2011-11-16  Maciej W. Rozycki  <macro@codesourcery.com>
225
226         * config/tc-mips.c (ISA_SUPPORTS_MCU_ASE): Also set if microMIPS
227         mode.
228
229 2011-11-16  Maciej W. Rozycki  <macro@codesourcery.com>
230
231         * config/tc-mips.c (macro_build_jalr): Reverse a negative
232         conditional.
233         (mips_ip): Likewise.
234
235 2011-11-16  Catherine Moore  <clm@codesourcery.com>
236             Maciej W. Rozycki  <macro@codesourcery.com>
237
238         * config/tc-mips.c (mips_cpu_info_table): Add "m14ke" and
239         "m14kec".
240         * doc/c-mips.texi (MIPS architecture options): Add "m14ke" and
241         "m14kec" to the list of -march options.
242
243 2011-11-15  Maciej W. Rozycki  <macro@codesourcery.com>
244
245         * write.c (dump_section_relocs): Don't convert PC-relative relocs
246         that have an in-place addend narrower than the addresses used.
247
248 2011-11-14  Maciej W. Rozycki  <macro@codesourcery.com>
249
250         * config/tc-mips.c (can_swap_branch_p): Exclude microMIPS
251         variant frags too.
252
253 2011-11-07  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
254
255         * config/tc-arm.c (arm_cpus): Add cortex-a7 entry.
256         * doc/c-arm.texi (ARM Options): Add cortex-a7 to list of accepted
257         CPUs.
258
259 2011-11-04  DJ Delorie  <dj@redhat.com>
260
261         * doc/c-rl78.texi (RL78-Float): Remove unused menu entry.
262
263 2011-11-02  DJ Delorie  <dj@redhat.com>
264
265         * config/tc-rl78.c (tc_gen_reloc): Remove unused variable.
266
267 2011-11-02  Nick Clifton  <nickc@redhat.com>
268
269         * config/tc-arm.c (md_begin): Remove ARM_PLT32 reloc associated
270         with the (PLT) instruction suffix when operating in eabi mode.
271         * doc/c-arm.texi (ARM_Relocations): Extend description of (PLT)
272         suffix.
273
274 2011-11-01  DJ Delorie  <dj@redhat.com>
275
276         * Makefile.am (TARGET_CPU_CFILES): Add tc-rl78.c.
277         (TARGET_CPU_HFILES): Add rc-rl78.h.
278         (EXTRA_DIST): Add rl78-parse.c and rl78-parse.y.
279         (rl78-parse.c, rl78-parse.h, rl78-parse.o, rl78-defs.h): New rules.
280         * Makefile.in: Regenerate.
281         * configure.in: Add rl78 case.
282         * configure: Regenerate.
283         * configure.tgt: Add rl78 case.
284         * config/rl78-defs.h: New file.
285         * config/rl78-parse.y: New file.
286         * config/tc-rl78.c: New file.
287         * config/tc-rl78.h: New file.
288         * NEWS: Add Renesas RL78.
289
290         * doc/Makefile.am (c-rl78.texi): New.
291         * doc/Makefile.in: Likewise.
292         * doc/all.texi: Enable it.
293         * doc/as.texi: Add it.
294         * doc/c-rl78.texi: New file.
295
296 2011-10-28  Walter Lee  <walt@tilera.com>
297
298         * NEWS: Fix TILEPro capitalization.
299         * config/tc-tilegx.c (emit_tilegx_instruction) Handle
300         relocations of aliases.
301         * config/tc-tilepro.c: (emit_tilepro_instruction) Likewise.
302
303 2011-10-28  Nick Clifton  <nickc@redhat.com>
304
305         * po/ja.po: New Japanese translation.
306         * configure.in (ALL_LINGUAS): Add ja.
307         * configure: Regenerate.
308
309 2011-10-26  Joern Rennecke  <joern.rennecke@embecosm.com>
310
311         * doc/as.texinfo [EPIPHANY]: Include c-epiphany.texi to avoid
312         duplication.
313
314 2011-10-25  Mike Frysinger  <vapier@gentoo.org>
315
316         * config/rx-defs.h (rx_error): Add const to first arg.
317         * config/rx-parse.y (rx_error): Likewise.
318
319 2011-10-25  Nick Clifton  <nickc@redhat.com>
320
321         * config/tc-ns32k.c (md_begin): Rename local variable 'stat' to
322         'status'.
323
324 2011-10-25  Joern Rennecke  <joern.rennecke@embecosm.com>
325
326         * NEWS: Mention addition of Adapteva Epiphany support.
327         * config/tc-epiphany.c: New file.
328         * config/tc-epiphany.h: New file.
329         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-epiphany.c .
330         (TARGET_CPU_HFILES): Add config/tc-epiphany.h .
331         * configure.in: Also set using_cgen for epiphany.
332         * configure.tgt: Handle epiphany.
333         * doc/Makefile.am (CPU_DOCS): Add c-epiphany.texi .
334         * doc/all.texi: Set EPIPHANY.
335         * doc/as.texinfo: Add EPIPHANY-specific text.
336         * doc/c-epiphany.texi: New file.
337         * po/gas.pot: Regenerate.
338         * Makefile.in: Regenerate.
339         * configure: Regenerate.
340         * doc/Makefile.in: Regenerate.
341         * po/POTFILES.in: Regenerate.
342
343 2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
344
345         * config/tc-mips.c (move_register): Fix formatting.
346
347 2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
348
349         * config/tc-mips.c (can_swap_branch_p): Remove empty line.
350         (start_noreorder): Likewise.
351
352 2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
353
354         * config/tc-mips.c (s_option): Fix formatting.
355         (mips_elf_final_processing): Likewise.
356
357 2011-10-24  Maciej W. Rozycki  <macro@codesourcery.com>
358
359         * config/tc-mips.c (validate_micromips_insn): Fix formatting.
360
361 2011-10-24  David Binderman  <dcb314@hotmail.com>
362
363         * config/tc-mn10200.c (md_convert_frag): Add missing break.
364
365 2011-10-21  Tristan Gingold  <gingold@adacore.com>
366
367         * config/tc-alpha.c (load_expression): Use symbol_mark_used accessor.
368         (s_alpha_comm): Use symbol_set_frag accessor.
369
370 2011-10-20  Alan Modra  <amodra@gmail.com>
371
372         * config/tc-mips.c (micromips_add_label): Avoid gcc warning.
373         (md_convert_frag): Likewise.
374
375 2011-10-18  Jie Zhang  <jie@codesourcery.com>
376             Julian Brown  <julian@codesourcery.com>
377
378         * config/tc-arm.c (parse_shifter_operand): Fix handling of explicit
379         rotation.
380         (encode_arm_shifter_operand): Likewise.
381
382 2011-10-13  James Greenhalgh  <james.greenhalgh@arm.com>
383
384         * config/tc-arm.c (check_ldr_r15_aligned): New.
385         (do_ldst): Warn in upredictable cases.
386         (do_t_ldst): Likewise.
387         (insns): Update accordingly.
388
389 2011-10-13  Alan Modra  <amodra@gmail.com>
390
391         * as.c (main): Define .gasversion. rather than __GAS_VERSION__.
392         * frags.h (bss_address_frag): Delete
393         (predefined_address_frag): New.
394         * frags.c (frag_init): Init predefined_address_frag.  Delete ref
395         to bss_address_frag.
396         * symbols.c (S_CAN_BE_REDEFINED): New function.
397         * symbols.h (S_CAN_BE_REDEFINED): Declare.
398         * read.c (assign_symbol): Use S_CAN_BE_REDEFINED.
399
400 2011-10-12  Alan Modra  <amodra@gmail.com>
401
402         * symbols.c (local_symbol_make): Make global.
403         * symbols.h (local_symbol_make): Declare.
404         * as.c (main): Define __GAS_VERSION__.
405
406 2011-10-10  Nick Clifton  <nickc@redhat.com>
407
408         * po/es.po: Updated Spanish translation.
409         * po/fi.po: Updated Finnish translation.
410         * po/fr.po: Updated French translation.
411
412 2011-10-05  DJ Delorie  <dj@redhat.com>
413             Nick Clifton  <nickc@redhat.com>
414
415         * config/rx-defs.h (rx_pid_register): New.
416         (rx_gp_register): New.
417         * config/rx-parse.y (rx_lex): Add support for %gpreg and %pidreg.
418         (displacement): Add PID support.
419         * config/tc-rx.c (rx_pid_mode): New.
420         (rx_num_int_regs): New.
421         (rx_pid_register): New.
422         (rx_gp_register): New.
423         (options): Add -mpid and -mint-register= options.
424         (md_longopts): Likewise.
425         (md_parse_option): Likewise.
426         (md_show_usage): Likewise.
427         (rx_pid_symbol): New.
428         (rx_pidreg_symbol): New.
429         (rx_gpreg_symbol): New.
430         (md_begin): Support PID.
431         (rx_validate_fix_sub): Support PID.
432         (tc_gen_reloc): Support PID.
433         * doc/c-rx.texi: Document PID support.
434
435 2011-09-27  Kai Tietz  <ktietz@redhat.com>
436
437         * config/obj-coff.c (obj_coff_section): Add 'e' as specifier
438         for marking section SEC_EXCLUDE.
439
440 2011-09-22  Tristan Gingold  <gingold@adacore.com>
441
442         * NEWS: Add marker for 2.22.
443
444 2011-09-21  David S. Miller  <davem@davemloft.net>
445
446         * config/tc-sparc.c (hwcap_allowed): New.
447         (struct sparc_arch): New field 'hwcap_allowed' containing a bitmask
448         of F_FOO flags which are enabled by the particular arch setting.
449         Add new options that provide explicit access to new instructions.
450         (md_parse_option): Only bump max_architecture if the requested one
451         is larger, or this is the first explicit request.
452         (get_hwcap_name): New function.
453         (sparc_ip): Validate that hwcaps used by an instruction have actually
454         been enabled.
455         * doc/c-sparc.texi: Document new sparc options.
456
457 2011-09-21  David S. Miller  <davem@davemloft.net>
458
459         * config/tc-sparc.c (hwcap_seen): New bitmask, defined when
460         not TE_SOLARIS.
461         (sparc_ip): When not TE_SOLARIS, accumulate hwcap bits from
462         sparc_opcode->flags of instruction into hwcap_seen.
463         (sparc_md_end): Create Tag_GNU_Sparc_HWCAPS attribute if
464         hwcap_seen is non-zero and not TE_SOLARIS.
465
466 2011-09-19  Tristan Gingold  <gingold@adacore.com>
467
468         * config/tc-alpha.c (insert_operand): Call as_bad_value_out_of_range
469         instead of as_warn_out_of_range.
470
471 2011-09-08  Mark Fortescue <mark@mtfhpc.demon.co.uk>
472
473         * config/tc-sparc.c (sparc_ip): Handle 'i' + r<0..31>
474         in addition to 'i' + [goli]<0..7>.
475
476 2011-09-08  Joern Rennecke <joern.rennecke@embecosm.com>
477
478         * cgen.c (gas_cgen_pcrel_r_type): New function.
479         (gas_cgen_tc_gen_reloc): Check for GAS_CGEN_PCREL_R_TYPE.
480         * cgen.h (gas_cgen_pcrel_r_type): Declare.
481
482 2011-09-08  Richard Sandiford  <rdsandiford@googlemail.com>
483
484         PR gas/13167
485         * dwarf2dbg.c (dwarf2_flush_pending_lines): Use symbol_temp_new_now.
486
487 2011-09-05  Richard Sandiford  <rdsandiford@googlemail.com>
488
489         PR gas/13024
490         * dwarf2dbg.c (pending_lines, pending_lines_tail): New variables.
491         (dwarf2_gen_line_info_1): Delete.
492         (dwarf2_push_line, dwarf2_flush_pending_lines): New functions.
493         (dwarf2_gen_line_info, dwarf2_emit_label): Use them.
494         (dwarf2_consume_line_info): Call dwarf2_flush_pending_lines.
495         (dwarf2_directive_loc): Push previous .locs instead of generating
496         them immediately.
497
498 2011-08-26  Nick Clifton  <nickc@redhat.com>
499
500         * po/es.po: Updated Spanish translation.
501
502 2011-08-26  Tristan Gingold  <gingold@adacore.com>
503
504         * config/tc-alpha.c (s_alpha_linkage): Simplify.  Add comments.
505
506 2011-08-26  Tristan Gingold  <gingold@adacore.com>
507
508         * config/tc-alpha.c (add_to_link_pool): Improve comment.
509         (s_alpha_fp_save): Fix indentation.
510
511 2011-08-19  Nick Clifton  <nickc@redhat.com>
512
513         * doc/as.texinfo: Include c-xstormy16.texi.
514
515 2011-08-18  Alan Modra  <amodra@gmail.com>
516
517         * write.c (resolve_reloc_expr_symbols): Convert local symbols
518         on relocs to section+offset.
519         (get_frag_for_reloc): New function.
520         (write_relocs): Merge sort fixup relocs with those from .reloc
521         directives.
522
523 2011-08-10  Maciej W. Rozycki  <macro@codesourcery.com>
524
525         * config/tc-mips.c (can_swap_branch_p): Update the comment on
526         MIPS16 fixups.
527
528 2011-08-09  Chao-ying Fu  <fu@mips.com>
529             Daniel Jacobowitz  <dan@codesourcery.com>
530
531         * config/tc-mips.c (mips_cpu_info_table): Add "m14k" and
532         "m14kc".
533         * doc/c-mips.texi (MIPS architecture options): Add "m14k" and
534         "m14kc" to the list of -march options.
535
536 2011-08-09  Chao-ying Fu  <fu@mips.com>
537             Maciej W. Rozycki  <macro@codesourcery.com>
538
539         * config/tc-mips.c (mips_set_options): Add ase_mcu.
540         (mips_opts): Initialise ase_mcu to -1.
541         (ISA_SUPPORTS_MCU_ASE): New macro.
542         (MIPS_CPU_ASE_MCU): Likewise.
543         (is_opcode_valid): Handle MCU.
544         (macro_build, macro): Likewise.
545         (validate_mips_insn, validate_micromips_insn): Likewise.
546         (mips_ip): Likewise.
547         (options): Add OPTION_MCU and OPTION_NO_MCU.
548         (md_longopts): Add mmcu and mno-mcu.
549         (md_parse_option): Handle OPTION_MCU and OPTION_NO_MCU.
550         (mips_after_parse_args): Handle MCU.
551         (s_mipsset): Likewise.
552         (md_show_usage): Handle MCU options.
553
554         * doc/as.texinfo: Document -mmcu and -mno-mcu options.
555         * doc/c-mips.texi: Likewise, and document ".set mcu" and
556         ".set nomcu" directives.
557
558 2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
559
560         * config/tc-mips.c (gpr_mod_mask): Remove INSN2_MOD_GPR_MB,
561         INSN2_MOD_GPR_MC, INSN2_MOD_GPR_ME, INSN2_MOD_GPR_MG,
562         INSN2_MOD_GPR_MHI, INSN2_MOD_GPR_MJ, INSN2_MOD_GPR_MM,
563         INSN2_MOD_GPR_MN, INSN2_MOD_GPR_MP and INSN2_MOD_GPR_MQ opcode
564         register use checks.
565         (gpr_read_mask): Add INSN2_READ_GPR_MC, INSN2_READ_GPR_ME
566         INSN2_READ_GPR_MG, INSN2_READ_GPR_MJ, INSN2_READ_GPR_MMN,
567         INSN2_READ_GPR_MP and INSN2_READ_GPR_MQ opcode register use
568         checks.
569         (gpr_write_mask): Replace INSN2_WRITE_GPR_S opcode register
570         use flag with INSN_WRITE_GPR_S.  Add INSN2_WRITE_GPR_MB,
571         INSN2_WRITE_GPR_MHI, INSN2_WRITE_GPR_MJ and INSN2_WRITE_GPR_MP
572         opcode register use checks.
573         (can_swap_branch_p): Enable microMIPS branch swapping.
574         (append_insn): Likewise.
575
576 2011-08-09  Maciej W. Rozycki  <macro@codesourcery.com>
577
578         * config/tc-mips.c (RELAX_MICROMIPS_ENCODE): Remove forced 16-bit
579         branch size information.
580         (RELAX_MICROMIPS_U16BIT): Remove macro.
581         (RELAX_MICROMIPS_UNCOND): Adjust accordingly.
582         (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
583         (RELAX_MICROMIPS_RELAX32): Likewise.
584         (RELAX_MICROMIPS_TOOFAR16): Likewise.
585         (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
586         (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
587         (RELAX_MICROMIPS_TOOFAR32): Likewise.
588         (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
589         (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
590         (append_insn): Always check forced_insn_length for microMIPS
591         relaxation.  Adjust code for the removal of
592         RELAX_MICROMIPS_U16BIT.
593         (mips_ip) <'D', 'E'>: If forced_insn_length, then emit the
594         relocation straight away.
595         (relaxed_micromips_16bit_branch_length): Adjust code for the
596         removal of RELAX_MICROMIPS_U16BIT.
597
598 2011-08-08  Tristan Gingold  <gingold@adacore.com>
599
600         * config/obj-macho.c (obj_mach_o_section): New function.
601         (struct known_section): New type.
602         (known_sections): Declare.
603         (obj_mach_o_known_section): New function.
604         (obj_mach_o_common_parse): Ditto.
605         (obj_mach_o_comm): Ditto.
606         (obj_mach_o_subsections_via_symbols): Ditto.
607         (mach_o_pseudo_table): Add new pseudos.
608
609 2011-08-06  Richard Henderson  <rth@redhat.com>
610
611         * dw2gencfi.c (all_fde_data): Export.
612         * dw2gencfi.h (all_fde_data): Declare.
613         * config/tc-alpha.c (alpha_elf_md_end): Don't convert legacy unwind
614         info to cfi unwind info if the user already has supplied some.
615
616 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
617
618         * config/tc-mips.c (emit_nop): Delete.
619         (get_delay_slot_nop): New function.
620         (nops_for_insn_or_target): Use it.
621         (append_insn): Likewise.  When avoiding hazards, call add_fixed_insn
622         and insert_into_history directly.
623
624 2011-08-06  Richard Sandiford  <rdsandiford@googlemail.com>
625
626         * config/tc-mips.c (delayed_branch_p, compact_branch_p)
627         (uncond_branch_p, branch_likely_p): New functions.
628         (insns_between, nops_for_insn_or_target, append_insn)
629         (macro_start): Use them.
630         (get_append_method): Likewise.  Remove redundant test.
631
632 2011-08-05  David S. Miller  <davem@davemloft.net>
633
634         * config/tc-sparc.c (v9a_asr_table): Add "cps".
635         (sparc_ip): Handle '4', '5' and '(' format codes.
636
637 2011-08-04  H.J. Lu  <hongjiu.lu@intel.com>
638
639         PR gas/13056
640         * output-file.c (output_file_close): Call bfd_cache_close_all
641         on error.
642
643         * write.c (write_object_file): Revert the last change.
644
645 2011-08-04  Alan Modra  <amodra@gmail.com>
646
647         * write.c (write_object_file): Call set_symtab even if we had
648         errors.
649
650 2011-08-04  Tristan Gingold  <gingold@adacore.com>
651
652         * config/obj-elf.c (obj_elf_section): Do not free name.
653
654 2011-08-03  James Greenhalgh  <james.greenhalgh@arm.com>
655
656         * config/tc-arm.c (do_t_strexbh): New.
657         (insns): Update accordingly.
658
659 2011-08-01  H.J. Lu  <hongjiu.lu@intel.com>
660
661         PR ld/13048
662         * config/tc-i386.c (handle_quad): Removed.
663         (md_pseudo_table): Remove "quad".
664         (tc_gen_reloc): Don't check BFD_RELOC_64 for disallow_64bit_reloc.
665         (x86_dwarf2_addr_size): New.
666
667         * config/tc-i386.h (x86_dwarf2_addr_size): New.
668         (DWARF2_ADDR_SIZE): Likewise.
669
670 2011-08-01  Nick Clifton  <nickc@redhat.com>
671
672         PR ld/12974
673         * config/tc-arm.c (literal_pool): Add locs field.
674         (add_to_lit_pool): Initialise the locs entry for the new literal.
675         (s_ltorg): Generate a DWARF2 line number entry for each emitted
676         literal pool entry.
677
678 2011-08-01  Tristan Gingold  <gingold@adacore.com>
679
680         * write.c (write_relocs): Fix -Wshadow in DEBUG3 and DEBUG4.
681
682 2011-08-01  Tristan Gingold  <gingold@adacore.com>
683
684         * frags.c (frag_grow): Simplify the code.
685
686 2011-07-30  Richard Sandiford  <rdsandiford@googlemail.com>
687
688         * config/tc-mips.c (nops_for_vr4130): Revert previous commit.
689
690 2011-07-29  Maciej W. Rozycki  <macro@codesourcery.com>
691
692         * config/tc-mips.c: Adjust comments throughout.
693         (reglist_lookup): Reshape code.
694         (jmp_reloc_p, jalr_reloc_p): Reformat.
695         (got16_reloc_p, hi16_reloc_p, lo16_reloc_p): Handle microMIPS
696         relocations.
697         (gpr_mod_mask): Remove unused variable.
698         (gpr_read_mask, gpr_write_mask): Reshape code.
699         (fpr_read_mask, fpr_write_mask): Likewise.
700         (nops_for_vr4130): Ensure non-microMIPS mode.
701         (can_swap_branch_p): Correct pinfo2 reference.  Reshape code.
702         (append_insn): Skip Loongson 2F workaround in MIPS16 mode.  Use
703         the outermost operator of a compound relocation to determines
704         the relocated field.  Fix formatting.
705         (md_convert_frag): Reshape code.
706
707 2011-07-29  Tristan Gingold  <gingold@adacore.com>
708
709         * frags.c (frag_var_init): New function.
710         (frag_var): Call frag_var_init to initialize.
711         (frag_variant): Ditto.
712
713 2011-07-27  Nathan Sidwell  <nathan@codesourcery.com>
714
715         * dwarf2dbg.c (out_debug_line): Ignore non-normal segments, with a
716         warning.
717         * doc/as.texinfo (Offset): Document .offset directive.
718
719 2011-07-27  Tristan Gingold  <gingold@adacore.com>
720
721         * frags.c (frag_grow): Revert previous patch.
722
723 2011-07-26  Kazuhiro Inaoka  <kazuhiro.inaoka.ud@renesas.com>
724
725         * config/tc-rx.c (md_convert_frag): Fix encoding of beq.a
726         synthetic instruction.
727
728 2011-07-25  Tristan Gingold  <gingold@adacore.com>
729
730         * frags.c (frag_grow): Simplify the code.
731
732 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
733             Chao-ying Fu  <fu@mips.com>
734             Richard Sandiford  <rdsandiford@googlemail.com>
735
736         * config/tc-mips.h (mips_segment_info): Add one bit for
737         microMIPS.
738         (TC_LABEL_IS_LOCAL): New macro.
739         (mips_label_is_local): New prototype.
740         * config/tc-mips.c (S0, S7): New macros.
741         (emit_branch_likely_macro): New variable.
742         (mips_set_options): Add micromips.
743         (mips_opts): Initialise micromips to -1.
744         (file_ase_micromips): New variable.
745         (CPU_HAS_MICROMIPS): New macro.
746         (hilo_interlocks): Set for microMIPS too.
747         (gpr_interlocks): Likewise.
748         (cop_interlocks): Likewise.
749         (cop_mem_interlocks): Likewise.
750         (HAVE_CODE_COMPRESSION): New macro.
751         (micromips_op_hash): New variable.
752         (micromips_nop16_insn, micromips_nop32_insn): New variables.
753         (NOP_INSN): Handle microMIPS ASE.
754         (mips32_to_micromips_reg_b_map): New macro.
755         (mips32_to_micromips_reg_c_map): Likewise.
756         (mips32_to_micromips_reg_d_map): Likewise.
757         (mips32_to_micromips_reg_e_map): Likewise.
758         (mips32_to_micromips_reg_f_map): Likewise.
759         (mips32_to_micromips_reg_g_map): Likewise.
760         (mips32_to_micromips_reg_l_map): Likewise.
761         (mips32_to_micromips_reg_n_map): Likewise.
762         (mips32_to_micromips_reg_h_map): New variable.
763         (mips32_to_micromips_reg_m_map): Likewise.
764         (mips32_to_micromips_reg_q_map): Likewise.
765         (micromips_to_32_reg_h_map): New variable.
766         (micromips_to_32_reg_i_map): Likewise.
767         (micromips_to_32_reg_m_map): Likewise.
768         (micromips_to_32_reg_q_map): Likewise.
769         (micromips_to_32_reg_b_map): New macro.
770         (micromips_to_32_reg_c_map): Likewise.
771         (micromips_to_32_reg_d_map): Likewise.
772         (micromips_to_32_reg_e_map): Likewise.
773         (micromips_to_32_reg_f_map): Likewise.
774         (micromips_to_32_reg_g_map): Likewise.
775         (micromips_to_32_reg_l_map): Likewise.
776         (micromips_to_32_reg_n_map): Likewise.
777         (micromips_imm_b_map, micromips_imm_c_map): New macros.
778         (RELAX_DELAY_SLOT_16BIT): New macro.
779         (RELAX_DELAY_SLOT_SIZE_FIRST): Likewise.
780         (RELAX_DELAY_SLOT_SIZE_SECOND): Likewise.
781         (RELAX_MICROMIPS_ENCODE, RELAX_MICROMIPS_P): New macros.
782         (RELAX_MICROMIPS_TYPE, RELAX_MICROMIPS_AT): Likewise.
783         (RELAX_MICROMIPS_U16BIT, RELAX_MICROMIPS_UNCOND): Likewise.
784         (RELAX_MICROMIPS_COMPACT, RELAX_MICROMIPS_LINK): Likewise.
785         (RELAX_MICROMIPS_RELAX32, RELAX_MICROMIPS_TOOFAR16): Likewise.
786         (RELAX_MICROMIPS_MARK_TOOFAR16): Likewise.
787         (RELAX_MICROMIPS_CLEAR_TOOFAR16): Likewise.
788         (RELAX_MICROMIPS_TOOFAR32): Likewise.
789         (RELAX_MICROMIPS_MARK_TOOFAR32): Likewise.
790         (RELAX_MICROMIPS_CLEAR_TOOFAR32): Likewise.
791         (INSERT_OPERAND, EXTRACT_OPERAND): Handle microMIPS ASE.
792         (mips_macro_warning): Add delay_slot_16bit_p, delay_slot_32bit_p,
793         fsize and insns.
794         (mips_mark_labels): New function.
795         (mips16_small, mips16_ext): Remove variables, replacing with...
796         (forced_insn_size): ... this.
797         (append_insn, mips16_ip): Update accordingly.
798         (micromips_insn_length): New function.
799         (insn_length): Return the length of microMIPS instructions.
800         (mips_record_mips16_mode): Rename to...
801         (mips_record_compressed_mode): ... this.  Handle microMIPS ASE.
802         (install_insn): Handle microMIPS ASE.
803         (reglist_lookup): New function.
804         (is_size_valid, is_delay_slot_valid): Likewise.
805         (md_begin): Handle microMIPS ASE.
806         (md_assemble): Likewise.  Update for append_insn interface change.
807         (micromips_reloc_p): New function.
808         (got16_reloc_p): Handle microMIPS ASE.
809         (hi16_reloc_p): Likewise.
810         (lo16_reloc_p): Likewise.
811         (jmp_reloc_p): New function.
812         (jalr_reloc_p): Likewise.
813         (matching_lo_reloc): Handle microMIPS ASE.
814         (insn_uses_reg, reg_needs_delay): Likewise.
815         (mips_move_labels): Likewise.
816         (mips16_mark_labels): Rename to...
817         (mips_compressed_mark_labels): ... this.  Handle microMIPS ASE.
818         (gpr_mod_mask): New function.
819         (gpr_read_mask, gpr_write_mask): Handle microMIPS ASE.
820         (fpr_read_mask, fpr_write_mask): Likewise.
821         (insns_between, nops_for_vr4130, nops_for_insn): Likewise.
822         (fix_loongson2f_nop, fix_loongson2f_jump): Likewise.
823         (MICROMIPS_LABEL_CHAR): New macro.
824         (micromips_target_label, micromips_target_name): New variables.
825         (micromips_label_name, micromips_label_expr): New functions.
826         (micromips_label_inc, micromips_add_label): Likewise.
827         (mips_label_is_local): Likewise.
828         (micromips_map_reloc): Likewise.
829         (can_swap_branch_p): Handle microMIPS ASE.
830         (append_insn): Add expansionp argument.  Handle microMIPS ASE.
831         (start_noreorder, end_noreorder): Handle microMIPS ASE.
832         (macro_start, macro_warning, macro_end): Likewise.
833         (brk_fmt, cop12_fmt, jalr_fmt, lui_fmt): New variables.
834         (mem12_fmt, mfhl_fmt, shft_fmt, trap_fmt): Likewise.
835         (BRK_FMT, COP12_FMT, JALR_FMT, LUI_FMT): New macros.
836         (MEM12_FMT, MFHL_FMT, SHFT_FMT, TRAP_FMT): Likewise.
837         (macro_build): Handle microMIPS ASE.  Update for append_insn
838         interface change.
839         (mips16_macro_build): Update for append_insn interface change.
840         (macro_build_jalr): Handle microMIPS ASE.
841         (macro_build_lui): Likewise.  Simplify.
842         (load_register): Handle microMIPS ASE.
843         (load_address): Likewise.
844         (move_register): Likewise.
845         (macro_build_branch_likely): New function.
846         (macro_build_branch_ccl): Likewise.
847         (macro_build_branch_rs): Likewise.
848         (macro_build_branch_rsrt): Likewise.
849         (macro): Handle microMIPS ASE.
850         (validate_micromips_insn): New function.
851         (expr_const_in_range): Likewise.
852         (mips_ip): Handle microMIPS ASE.
853         (options): Add OPTION_MICROMIPS and OPTION_NO_MICROMIPS.
854         (md_longopts): Add mmicromips and mno-micromips.
855         (md_parse_option): Handle OPTION_MICROMIPS and
856         OPTION_NO_MICROMIPS.
857         (mips_after_parse_args): Handle microMIPS ASE.
858         (md_pcrel_from): Handle microMIPS relocations.
859         (mips_force_relocation): Likewise.
860         (md_apply_fix): Likewise.
861         (mips_align): Handle microMIPS ASE.
862         (s_mipsset): Likewise.
863         (s_cpload, s_cpsetup, s_cpreturn): Use relocation wrappers.
864         (s_dtprel_internal): Likewise.
865         (s_gpword, s_gpdword): Likewise.
866         (s_insn): Handle microMIPS ASE.
867         (s_mips_stab): Likewise.
868         (relaxed_micromips_32bit_branch_length): New function.
869         (relaxed_micromips_16bit_branch_length): New function.
870         (md_estimate_size_before_relax): Handle microMIPS ASE.
871         (mips_fix_adjustable): Likewise.
872         (tc_gen_reloc): Handle microMIPS relocations.
873         (mips_relax_frag): Handle microMIPS ASE.
874         (md_convert_frag): Likewise.
875         (mips_frob_file_after_relocs): Likewise.
876         (mips_elf_final_processing): Likewise.
877         (mips_nop_opcode): Likewise.
878         (mips_handle_align): Likewise.
879         (md_show_usage): Handle microMIPS options.
880         * symbols.c (TC_LABEL_IS_LOCAL): New macro.
881         (S_IS_LOCAL): Add a TC_LABEL_IS_LOCAL check.
882
883         * doc/as.texinfo (Target MIPS options): Add -mmicromips and
884         -mno-micromips.
885         (-mmicromips, -mno-micromips): New options.
886         * doc/c-mips.texi (-mmicromips, -mno-micromips): New options.
887         (MIPS ISA): Document .set micromips and .set nomicromips.
888         (MIPS insn): Update for microMIPS support.
889
890 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
891
892         * config/tc-mips.c (mips_ip): Make a copy of the instruction's
893         mnemonic and use it for further processing.
894
895 2011-07-24  Maciej W. Rozycki  <macro@codesourcery.com>
896
897         * config/tc-mips.c (can_swap_branch_p): Adjust for the rename of
898         INSN_TRAP to INSN_NO_DELAY_SLOT.  Remove the check for INSN_SYNC
899         as well as explicit checks for ERET and DERET when scheduling
900         branch delay slots.
901
902 2011-07-22  H.J. Lu  <hongjiu.lu@intel.com>
903
904         * config/tc-i386.c (cpu_arch): Add k1om.
905         (i386_align_code): Handle PROCESSOR_K1OM.
906         (check_cpu_arch_compatible): Check EM_K1OM.
907         (i386_arch): Handle Intel K1OM.
908         (i386_mach): Return bfd_mach_k1om for Intel K1OM.
909         (i386_target_format): Return ELF_TARGET_K1OM_FORMAT for Intel
910         K1OM.
911
912         * config/tc-i386.h (ELF_TARGET_K1OM_FORMAT): New.
913         (processor_type): Add PROCESSOR_K1OM.
914
915         * doc/c-i386.texi: Document k1om.
916
917 2011-07-18  H.J. Lu  <hongjiu.lu@intel.com>
918
919         * doc/c-i386.texi: Fix a typo.
920
921 2011-07-06  Aurelien Jarno  <aurelien@aurel32.net>
922
923         * config/tc-mips.c (append_insn): delete prev_pinfo2 and pinfo2.
924
925 2011-07-04  Richard Sandiford  <rdsandiford@googlemail.com>
926
927         * config/tc-mips.c (gpr_read_mask, gpr_write_mask): Fix handling
928         of register 0.
929
930 2011-07-04  Maciej W. Rozycki  <macro@codesourcery.com>
931
932         * config/tc-mips.c (append_insn): Make sure DWARF-2 location
933         information is properly adjusted for branches that get swapped.
934
935 2011-07-03  Samuel Thibault  <samuel.thibault@gnu.org>
936             Thomas Schwinge  <thomas@schwinge.name>
937
938         PR binutils/12913
939         * config/obj-elf.c (obj_elf_type): Use ELFOSABI_GNU name instead of
940         ELFOSABI_LINUX alias.
941         * config/tc-ia64.c: Likewise.
942
943 2011-06-30  Paul Carroll  <pcarroll@codesourcery.com>
944
945         * config/tc-arm.c (do_t_add_sub): Only allow LSL shifts of less
946         than 4 in Thumb mode.
947
948 2011-06-30  Nick Clifton  <nickc@redhat.com>
949
950         PR gas/12848
951         * config/tc-arm.c (BAD_RANGE): New error message define.
952         (md_apply_fix): Use it.
953         Fix range check for thumb branch instructions.
954
955 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
956
957         * config/tc-mips.c (append_method): New enum.
958         (can_swap_branch_p, get_append_method): New functions.
959         (append_insn): Use get_append_method to decide how the instruction
960         should be added.
961
962 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
963
964         * config/tc-mips.c (append_insn): Remove bogus goto.
965
966 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
967
968         * config/tc-mips.c (append_insn): Always clear the history after an
969         unconditional branch.
970
971 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
972
973         * config/tc-mips.c (find_altered_mips16_opcode): New function.
974         (append_insn): Use it.
975
976 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
977
978         * config/tc-mips.c (insn_uses_reg): Delete.
979         (gpr_read_mask, gpr_write_mask): New functions.
980         (fpr_read_mask, fpr_write_mask): Likewise.
981         (insns_between, nops_for_vr4130, append_insn): Use them.
982
983 2011-06-29  Richard Sandiford  <rdsandiford@googlemail.com>
984
985         * config/tc-mips.c (md_mips_end): Call mips_emit_delays.
986
987 2011-06-29  Dave Martin  <dave.martin@linaro.org>
988
989         PR gas/12931
990         * config/tc-arm.c (mapping_state): When changing to ARM or THUMB
991         state set the minimum required alignment of the section.
992
993 2011-06-29  Tristan Gingold  <gingold@adacore.com>
994
995         * config/tc-i386.c (i386_mach): Convert to ISO-C.
996         (md_begin, pe_directive_secrel, md_estimate_size_before_relax): Ditto.
997         (md_convert_frag, md_apply_fix, md_undefined_symbol): Ditto.
998         (md_section_align, tc_gen_reloc): Ditto.
999
1000 2011-06-28  Tristan Gingold  <gingold@adacore.com>
1001
1002         * config/tc-alpha.c (s_alpha_pdesc): Fix indentation. Do not
1003         generate dummy fix.
1004
1005 2011-06-28  Tristan Gingold  <gingold@adacore.com>
1006
1007         * config/tc-alpha.c (load_expression): Use alloca instead of xmalloc.
1008         (emit_jsrjmp): Ditto.
1009         (tc_gen_reloc): Ditto.
1010
1011 2011-06-28  Tristan Gingold  <gingold@adacore.com>
1012
1013         * config/tc-alpha.c (alpha_evax_proc_hash): Remove.
1014         (alpha_evax_proc_data): New variable.
1015         (s_alpha_ent): Prevent nested function.  Remove has_insert call.
1016         (s_alpha_pdesc): Do not call demand_empty_rest_of_line in case of
1017         error.  Do not search in the hash table.  Check if match with .ent.
1018         (s_alpha_name): Remove unused variable.
1019         (md_begin): Remove initialization of alpha_evax_proc_hash.
1020
1021 2011-06-27  Tristan Gingold  <gingold@adacore.com>
1022
1023         * config/tc-alpha.c (add_to_link_pool): Remove basesym parameter.
1024         Locally declare basesym.  Add comments.  Do not set literal_pool_size.
1025         (load_expression): Adjust call to add_to_link_pool.
1026         (s_alpha_pdesc): Define pdesc symbol using dot.
1027         Do not set literal_pool_size.
1028         (s_alpha_end): Use NULL instead of 0.
1029
1030 2011-06-27  Tristan Gingold  <gingold@adacore.com>
1031
1032         * config/obj-evax.c (evax_frob_file_before_adjust): Add comments.
1033         Fix style.
1034         * config/obj-evax.h (struct alpha_linkage_fixups): Remove seg
1035         field.  Add comments.
1036         (obj_symbol_type, object_headers, OBJ_SYMFIELD_TYPE): Remove
1037
1038 2011-06-26  Richard Sandiford  <rdsandiford@googlemail.com>
1039
1040         * config/tc-mips.c (fix_24k_record_store_info): If the previous
1041         instruction was a store, and the next instructions are unknown,
1042         assume the worst.
1043
1044 2011-06-25  Richard Sandiford  <rdsandiford@googlemail.com>
1045
1046         PR gas/12915
1047         * config/tc-mips.c (nops_for_vr4130, nops_for_24k, nops_for_insn)
1048         (nops_for_sequence, nops_for_insn_or_target): Add ignore parameters.
1049         (mips_emit_delays, start_noreorder): Update accordingly.
1050         (append_insn): Likewise.  Revert original fix for this PR
1051         and use the ignore parameter instead.
1052
1053 2011-06-24  Tristan Gingold  <gingold@adacore.com>
1054
1055         PR gas/11625
1056         * config/obj-evax.c (evax_frob_symbol): Use as_bad instead of abort.
1057
1058 2011-06-24  Tristan Gingold  <gingold@adacore.com>
1059
1060         * config/tc-alpha.c (add_to_link_pool): Remove useless offset
1061         variable.  Fix style.
1062
1063 2011-06-23  Richard Sandiford  <rdsandiford@googlemail.com>
1064
1065         PR gas/12915
1066         * config/tc-mips.c (append_insn): Only consider hazards between the
1067         pre-noreorder block and ip.
1068
1069 2011-06-21  Sameera Deshpande  <sameera.deshpande@arm.com>
1070
1071         * config/tc-arm.c (vfp_conv): Add check on range of immediate operand
1072         in vcvt instruction between floating-point and fixed-point.
1073         (operand_parse_code): Add "OP_oI32z".
1074         (parse_operands): OP_oI32z case added.
1075
1076 2011-06-20  H.J. Lu  <hongjiu.lu@intel.com>
1077
1078         * configure.tgt: Revert x32 change.
1079
1080 2011-06-20  Nick Clifton  <nickc@redhat.com>
1081
1082         * doc/Makefile.am: (CPU_DOCS): Add c-xstormy16.texi.
1083         * doc/Makefile.in: Regenerate.
1084         * doc/all.texi: Set XSTORMY16.
1085         * doc/c-xstormy16.texi: New file.
1086
1087 2011-06-19  H.J. Lu  <hongjiu.lu@intel.com>
1088
1089         * configure.tgt: Support x32.
1090
1091 2011-06-15  Nick Clifton  <nickc@redhat.com>
1092
1093         * NEWS: Mention addition of TILEPRO and TIKE-Gx support.
1094
1095 2011-06-14  Tristan Gingold  <gingold@adacore.com>
1096
1097         * config/tc-ppc.h (struct ppc_tc_sy): Complete comment on within.
1098         (tc_new_dot_label): Define.
1099         (ppc_new_dot_label): Declare.
1100         * config/tc-ppc.c (ppc_frob_label): Set within target field.
1101         (ppc_fix_adjustable): Use this field to adjust the reloc.
1102         (ppc_new_dot_label): New function.
1103
1104 2011-06-14  Alan Modra  <amodra@gmail.com>
1105
1106         * po/POTFILES.in: Regenerate.
1107
1108 2011-06-13  Walter Lee  <walt@tilera.com>
1109
1110         * Makefile.am (TARGET_CPU_CFILES): Add config/tc-tilegx.c and
1111         config/tc-tilepro.c.
1112         (TARGET_CPU_HFILES): Add config/tc-tilegx.h and
1113         config/tc-tilepro.h.
1114         * Makefile.in: Regenerate.
1115         * configure.tgt (tilepro-*-*): New.
1116         (tilegx-*-*): Likewise.
1117         * config/tc-tilegx.c: New file.
1118         * config/tc-tilegx.h: Likewise.
1119         * config/tc-tilepro.h: Likewise.
1120         * config/tc-tilepro.c: Likewise.
1121         * doc/Makefile.am (CPU_DOCS): Add c-tilegx.texi and
1122         c-tilepro.texi.
1123         * doc/Makefile.in: Regenerate.
1124         * doc/all.texi (TILEGX): Define.
1125         (TILEPRO): Define.
1126         * doc/as.texinfo: Add Tile-Gx and TILEPro documentation.  Include
1127         c-tilegx.texi and c-tilepro.texi.
1128         * doc/c-tilegx.texi: New.
1129         * doc/c-tilepro.texi: New.
1130
1131 2011-06-13  Nick Clifton  <nickc@redhat.com>
1132
1133         PR gas/12854
1134         * config/tc-arm.c (do_shift): Do not allow shift operations at the
1135         end of a register based shift insn.
1136         (do_t_shift): Likewise.
1137
1138 2011-06-13  Nick Clifton  <nickc@redhat.com>
1139
1140         * config/tc-score.c (s3_my_get_expression): Delete unused local
1141         variable 'seg'.
1142         (s3_do_ldst_insn): Delete unused local variable 'strbak'.
1143         (s3_do16_ldst_insn): Delete unused local variable 'temp'.
1144         (s3_do_macro_bcmp): Zero inst_expand array.
1145         (s3_do_macro_bcmpz): Likewise.
1146         (s3_s_score_end): Delete unused local variable 'dot'.
1147         (s3_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
1148         * config/tc-score7.c (s7_my_get_expression): Delete unused local
1149         variable 'seg'.
1150         (s7_do_ldst_insn): Delete unused local variable 'strbak'.
1151         (s7_b32_relax_to_b16): Delete unused local variables 'r_old' and
1152         'r_new'.
1153         (s7_s_score_end): Delete unused local variable 'dot'.
1154         (s7_relax_frag): Delete unused local variable 'relax_size'.
1155         (s7_gen_reloc): Delete unused local variables 'f', 's', and 'e'.
1156
1157 2011-06-10  H.J. Lu  <hongjiu.lu@intel.com>
1158
1159         AVX Programming Reference (June, 2011)
1160         * config/tc-i386.c (i386_error): Add invalid_vsib_address and
1161         unsupported_vector_index_register.
1162         (cpu_arch): Add .avx2, .bmi2, .lzcnt and .invpcid.
1163         (check_VecOperands): New.
1164         (match_template): Call check_VecOperands.  Handle
1165         invalid_vsib_address and unsupported_vector_index_register.
1166         (build_modrm_byte): Support VecSIB.  Check register-only source
1167         operand when two source operands are swapped.
1168         (i386_index_check): Allow Xmm/Ymm index registers.
1169
1170         * doc/c-i386.texi: Document avx2/.avx2, bmi2/.bmi2, lzcnt/.lzcnt
1171         and invpcid./invpcid.
1172
1173 2011-06-09  Nick Clifton  <nickc@redhat.com>
1174
1175         PR gas/12861
1176         * config/tc-cr16.c (tc_gen_reloc): Remove unused local variable
1177         code.
1178         (check_cinv_options): Remove unused local variables.  Make
1179         function void.
1180         (md_assemble): Remove unused local variable.
1181
1182 2011-06-09  James Greenhalgh  <james.greenhalgh@arm.com>
1183
1184         * config/tc-arm.c (do_ldrd): Warn in unpredictable cases.
1185
1186 2011-06-03  Arnaud Patard  <arnaud.patard@rtp-net.org>
1187
1188         PR gas/12698
1189         * config/tc-arm.c (parse_psr): Set m_profile to false when
1190         assembling for any architecture.
1191
1192 2011-06-02  Jie Zhang jie@codesourcery.com
1193             Nathan Sidwell nathan@codesourcery.com
1194
1195         * config/tc-arm.c (parse_address_main): Handle -0 offsets.
1196         (encode_arm_addr_mode_2): Set default sign of zero here ...
1197         (encode_arm_addr_mode_3): ... and here.
1198         (encode_arm_cp_address): ... and here.
1199         (md_apply_fix): Use default sign of zero here.
1200
1201 2011-06-02  Nick Clifton  <nickc@redhat.com>
1202
1203         * as.c: Fix spelling typo.
1204         * read.c: Likewise.
1205         * config/tc-ppc.c: Likewise.
1206         * po/gas.pit: Regenerate.
1207
1208 2011-05-31  Paul Brook  <paul@codesourcery.com>
1209
1210         * config/tc-arm.c (arm_cpus): Add Cortex-R5.
1211         (arm_extensions): Allow idiv on ARMv7-R.
1212         * doc/c-arm.text: Update idiv extension restrictions.
1213
1214 2011-05-31  Paul Brook  <paul@codesourcery.com>
1215
1216         * config/tc-arm.c (arm_force_relocation): Resolve all pc-relative
1217         loads.
1218
1219 2011-05-31  Paul Brook  <paul@codesourcery.com>
1220
1221         * config/tc-arm.c (do_t_branch): Avoid relaxing branches to constant
1222         addresses.
1223
1224 2011-05-31  Paul Brook  <paul@codesourcery.com>
1225         Nathan Sidwell  <nathan@codesourcery.com>
1226
1227         * config/tc-arm.c (fix_new_arm): Create an absolute symbol for
1228         pc-relative fixes to constants.
1229         * config/tc-arm.h (TC_FORCE_RELOCATATION_ABS): Define.
1230
1231 2011-05-27  Nick Clifton  <nickc@redhat.com>
1232
1233         * config/tc-s390.c (md_begin): Remove unused variable dup_insn.
1234
1235 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1236
1237         * config/tc-s390.c (md_gather_operands): Fix check for floating
1238         register pair operands.
1239
1240 2011-05-24  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1241
1242         * config/tc-s390.c (md_gather_operands): Emit an error for odd
1243         numbered registers used as register pair operand.
1244
1245 2011-05-23  Nick Clifton  <nickc@redhat.com>
1246
1247         * config/tc-v850.h (TC_FX_SIZE_SLACK): Define.
1248
1249 2011-05-20  Bernd Schmidt  <bernds@codesourcery.com>
1250
1251         * config/tc-tic6x.c (tic6x_operators): Add "pcr_offset".
1252         (tic6x_parse_name): Handle it.
1253         (tic6x_fix_new_exp): Handle O_pcr_offset.
1254         (tic6x_fix_adjustable): Return 0 for the new relocs.
1255         (md_apply_fix): Handle them.
1256         (tc_gen_reloc): Likewise.
1257         * config/tc-tic6x.h (tic6x_fix_info): Add a fix_subsy member.
1258
1259 2011-05-18  Nick Clifton  <nickc@redhat.com>
1260
1261         PR gas/12754
1262         * config/tc-tic30.c (ordinal_names): Allow translation of the
1263         ordinal names.
1264
1265 2011-05-18  Nick Clifton  <nickc@redhat.com>
1266
1267         * config/tc-arm.c (s_unreq): Reword warning message to make it
1268         easier to translate.
1269         * config/tc-ia64.c (md_show_usage): Add note for translators.
1270         * configure.in (ALL_LINGUAS): Add "fi".
1271         * configure: Regenerate.
1272
1273 2011-05-18  Tristan Gingold  <gingold@adacore.com>
1274
1275         * config/tc-ppc.h (ppc_tc_sy): Reorder fields.
1276         Put size into an union with dw.
1277         (OBJ_COPY_SYMBOL_ATTRIBUTES): Adjust.
1278         (ppc_xcoff_end): Declare.
1279         (md_end): Define.
1280         * config/tc-ppc.c: Add includes for xcoff.
1281         (ppc_dwsect): New function.
1282         (md_pseudo_table): Add dwsect.
1283         (struct dw_subsection): New.
1284         (dw_sections): New.
1285         (ppc_change_debug_section): New function.
1286         (ppc_xcoff_end): Ditto.
1287         (ppc_function): Adjust for ppc_tc_sy.
1288         (ppc_symbol_new_hook): Ditto.
1289         (ppc_frob_symbol): Ditto.
1290         (ppc_frob_section): Do not set vma for debug sections.
1291         (ppc_fix_adjustable): Return true for debug sections.
1292         * config/obj-coff.c: Add includes for xcoff.
1293         (coff_frob_section): Handle dwarf section.
1294
1295 2011-05-17  Nick Clifton  <nickc@redhat.com>
1296
1297         * po/fi.po: New Finnish translation.
1298         * po/fr.po: Updated French translation.
1299
1300         * config/tc-m32r.c (md_show_usage): Fix typos in descriptions.
1301         * config/tc-mt.c (md_assemble): Fix typos in warning messages.
1302         * cond.c (s_else): Fix typos in error messages.
1303         * config/tc-pj.c (md_assemble): Fix typo in error message.
1304
1305 2011-05-16  Hans-Peter Nilsson  <hp@axis.com>
1306
1307         * config/tc-cris.c (md_parse_option) <OPTION_PIC>: Error if not
1308         emitting ELF object.
1309         (md_show_usage): Only mention --pic if the assembler can generate
1310         ELF objects.
1311         * doc/c-cris.texi (CRIS-Opt): Mention that generating ELF is a
1312         prerequisite for --pic being a valid option.
1313
1314 2011-05-13  Frederic Marchal  <fmarchal@perso.be>
1315
1316         PR gas/12755
1317         * config/tc-v850.c (parse_register_list): Correct error string.
1318
1319 2011-05-12  Quentin Neill  <quentin.neill@amd.com>
1320
1321         * config/tc-i386.c (cpu_arch): Rename PROCESSOR_BDVER1 to PROCESSOR_BD.
1322         (i386_align_code): Ditto
1323
1324 2011-05-12  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
1325
1326         PR gas/12715
1327         * config/tc-arm.c (parse_big_immediate):  Fix parsing of 64-bit
1328         immediates on 32-bit hosts.
1329
1330 2011-05-10  Quentin Neill  <quentin.neill@amd.com>
1331
1332         * config/tc-i386.c (cpu_arch): Add bdver2 and rename
1333         PROCESSOR_BDVER1 to PROCESSOR_BDVER.
1334         (i386_align_code): Rename PROCESSOR_BDVER1.
1335         (processor_type): Ditto.
1336         * doc/c-i386.texi: Add bdver2.
1337
1338 2011-05-10  Alan Modra  <amodra@gmail.com>
1339
1340         * dw2gencfi.c (tc_cfi_endproc): Avoid "set but not used" error.
1341
1342 2011-05-09  Paul Brook  <paul@codesourcery.com>
1343
1344         * config/tc-tic6x.c (streq): Define.
1345         (tic6x_get_unwind): New.
1346         (s_tic6x_cantunwind, s_tic6x_handlerdata, s_tic6x_endp,
1347         s_tic6x_personalityindex, s_tic6x_personality): New functions.
1348         (md_pseudo_table): Add "endp", "handlerdata", "personalityindex",
1349         "personality" and "cantunwind".
1350         (tic6x_regname_to_dw2regnum, tic6x_frame_initial_instructions,
1351         tic6x_start_unwind_section, tic6x_unwind_frame_regs,
1352         tic6x_pop_rts_offset_little, tic6x_pop_rts_offset_big,
1353         tic6x_unwind_reg_from_dwarf, tic6x_flush_unwind_word,
1354         tic6x_unwind_byte, tic6x_unwind_2byte, tic6x_unwind_uleb,
1355         tic6x_cfi_startproc, output_exidx_entry, tic6x_output_unwinding,
1356         tic6x_cfi_endproc): New.
1357         * config/tc-tic6x.h (TIC6X_NUM_UNWIND_REGS): Define.
1358         (tic6x_unwind_info): New.
1359         (tic6x_segment_info_type): Add marked_pr_dependency, unwind and
1360         text_unwind.
1361         (TARGET_USE_CFIPOP, tc_regname_to_dw2regnum,
1362         tc_cfi_frame_initial_instructions, DWARF2_DEFAULT_RETURN_COLUMN,
1363         DWARF2_CIE_DATA_ALIGNMENT, tc_cfi_startproc, tc_cfi_endproc,
1364         tc_cfi_section_name): Define.
1365         * doc/c-tic6x.texi: Document new unwinding directives.
1366         * dw2gencfi.c (tc_cfi_startproc, tc_cfi_endproc): Add default
1367         definitions.
1368         (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset, CFI_return_column,
1369         CFI_rel_offset, CFI_escape, CFI_signal_frame, CFI_val_encoded_addr):
1370         Move to dw2gencfi.h.
1371         (CFI_EMIT_target): Define.
1372         (dot_cfi_sections): Check tc_cfi_section_name.
1373         (dot_cfi_startproc): Use tc_cfi_startproc.
1374         (dot_cfi_endproc): Use tc_cfi_endproc.
1375         * dw2gencfi.h (cfi_insn_data, fde_entry, CFI_adjust_cfa_offset,
1376         CFI_return_column, CFI_rel_offset, CFI_escape, CFI_signal_frame,
1377         CFI_val_encoded_addr):  Move to here from dw2gencfi.c.
1378
1379 2011-05-07  Alan Modra  <amodra@gmail.com>
1380
1381         * dw2gencfi.c (CUR_SEG, SET_CUR_SEG, HANDLED, SET_HANDLED): Define.
1382         Use throughout in place of #if SUPPORT_FRAME_LINKONCE.
1383         (struct fde_entry): Rename cseg to cur_seg.
1384         (cfi_change_reg_numbers): Remove ATTRIBUTE_UNUSED.
1385         (get_cfi_seg): Likewise.  Use if (SUPPORT_FRAME_LINKONCE) rather
1386         that #if SUPPORT_FRAME_LINKONCE.
1387         (cfi_finish): Likewise.
1388
1389 2011-05-06  Tristan Gingold  <gingold@adacore.com>
1390
1391         * read.c (s_comm_internal): Remove code for OBJ_VMS.
1392         (s_data): Ditto.
1393         (s_text): Ditto.
1394         * write.c (write_object_file): Ditto.
1395         * symbols.c (define_sym_at_dot): Ditto.
1396         (colon): Ditto.
1397
1398 2011-05-05  Alan Modra  <amodra@gmail.com>
1399
1400         * dw2gencfi.c (SUPPORT_FRAME_LINKONCE): Define.  Use throughout
1401         file to conditionally compile code added 2011-04-26.
1402         (cfi_change_reg_numbers): Add ATTRIBUTE_UNUSED on params only used
1403         when SUPPORT_FRAME_LINKONCE.
1404         (get_cfi_seg): Likewise.  Reintroduce old code for when not
1405         SUPPORT_FRAME_LINKONCE.
1406         (cfi_finish): Move get_cfi_seg calls out of loop when not
1407         SUPPORT_FRAME_LINKONCE.  Avoid unused var warning.
1408
1409 2011-05-03  Paul Brook  <paul@codesourcery.com>
1410
1411         * config/tc-tic6x.c (s_ehtype): New function.
1412         (md_pseudo_table): Add "ehtype".
1413         (tic6x_fix_adjustable, md_apply_fix): BFD_RELOC_C6000_EHTYPE.
1414         * doc/c-tic6x.texi: Document .ehtype directive.
1415
1416 2011-04-26  Kai Tietz  <ktietz@redhat.com>
1417
1418         * dw2gencfi.c (dwcfi_seg_list): New struct.
1419         (dwcfi_hash): New static hash variable.
1420         (get_debugseg_name): New.
1421         (alloc_debugseg_item): New.
1422         (make_debug_seg): New.
1423         (dwcfi_hash_insert): New.
1424         (dwcfi_hash_find): New.
1425         (dwcfi_hash_find_or_make): New.
1426         (cfi_insn_data): New member cur_seg.
1427         (cie_entry): Likewise.
1428         (fde_entry): New cseg and handled members.
1429         (alloc_fde_entry): Initialize cseg member.
1430         (alloc_cfi_insn_data): Initialize cur_seg member.
1431         (dot_cfi_sections): Compare for beginning of
1432         section names via strncmp.
1433         (get_cfi_seg): New.
1434         (cfi_finish): Treat link-once sections.
1435         (is_now_linkonce_segment): New local helper.
1436         (output_cie): Ignore cie entries not member of current
1437         segment.
1438         (output_fde): Likewise.
1439         (select_cie_for_fde): Likewise.
1440         (cfi_change_reg_numbers): Add new argument for current segment
1441         and ignore insn elements, if not part of current segment.
1442         * ehopt.c (get_cie_info): Use strncmp for
1443         section name matching.
1444         (heck_eh_frame): Likewise.
1445
1446 2011-04-20  Catherine Moore  <clm@codesourcery.com>
1447             David Ung <davidu@mips.com>
1448
1449         * config/mips.c (mips_cl_insn): Add new field complete_p.
1450         (create_insn): Initialize complete_p to zero.
1451         (BASE_REG_EQ): New.
1452         (fix_24k_align_to): New.
1453         (fix_24k_store_info): Declare.
1454         (fix_24k_sort): New.
1455         (fix_24k_record_store_info): New.
1456         (nops_for_24k): New.
1457         (nops_for_insn): Call nops_for_24k.
1458         (append_insn): Move O_constant expression handling.
1459
1460 2011-04-20  Alan Modra  <amodra@gmail.com>
1461
1462         * hash.c (set_gas_hash_table_size): Use bfd_hash_set_default_size.
1463         (hash_new_sized): New function, split out from..
1464         (hash_new): ..here.
1465
1466 2011-04-19  Nick Clifton  <nickc@redhat.com>
1467
1468         * config/tc-arm.c (v7m_psrs): Revert previous delta.
1469
1470 2011-04-18  Julian Brown  <julian@codesourcery.com>
1471             Nick Clifton  <nickc@redhat.com>
1472
1473         * config/tc-arm.c (parse_psr): Use selected_cpu not cpu_variant to
1474         detect M-profile targets.
1475         (do_t_swi): Exclude v7 and higher variants from arm_ext_os test.
1476         (v7m_psrs): Fix typo: basepri_max should be basepri_mask.
1477
1478 2011-04-14  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1479
1480         * config/tc-s390.c (s390_machine): New prototype.
1481         (md_pseudo_table): New pseudo-op .machine.
1482         (s390_opcode_hash): Initialize to NULL.
1483         (s390_parse_cpu): New function.
1484         (md_parse_option): Use s390_parse_cpu.
1485         (s390_setup_opcodes): New function.
1486         (md_begin): Use s390_setup_opcodes.
1487         (s390_machine): New hook handling the new .machine pseudo.
1488
1489         * doc/c-s390.texi: Document the new pseudo op .machine.
1490
1491 2011-04-12  H.J. Lu  <hongjiu.lu@intel.com>
1492
1493         * config/tc-i386.c (i386_mach): Start error message with lower
1494         case.
1495         (md_begin): Likewise.
1496         (md_parse_option): Likewise.
1497         (i386_target_format): Likewise.
1498         (check_byte_reg): Likewise.
1499         (check_long_reg): Likewise.
1500         (check_qword_reg): Likewise.
1501         (check_word_reg): Likewise.
1502
1503 2011-04-12  Nick Clifton  <nickc@redhat.com>
1504
1505         PR gas/12532
1506         * config/tc-arm.c (relax_branch): Do not relax branches to
1507         preemptable global symbols.
1508
1509 2011-04-11  Julian Brown  <julian@codesourcery.com>
1510
1511         * config/tc-arm.c (parse_psr): Add LHS argument. Improve support
1512         for *APSR bitmasks.
1513         (operand_parse_code): Replace OP_PSR with OP_wPSR and OP_rPSR.
1514         Remove OP_RVC_PSR.
1515         (parse_operands): Likewise.
1516         (do_mrs): Tweak error message for constraint.
1517         (do_t_mrs): Update constraints for changes to APSR support.
1518         (do_t_msr): Likewise. Don't set PSR_f flag here.
1519         (psrs): Remove "g", "nzcvq", "nzcvqg".
1520         (insns): Tweak entries for msr and mrs instructions.
1521
1522 2011-04-11  Kai Tietz  <ktietz@redhat.com>
1523
1524         * config/tc-i386.c (x86_cons): Initialize adjust with zero.
1525
1526 2011-04-11  Nick Clifton  <nickc@redhat.com>
1527
1528         * config/tc-i386.c (x86_cons): Define even for non-ELF targets.
1529         * config/tc-i386.h (x86_cons): Always prototype.
1530
1531         * config/tc-cr16.c (getprocregp_image): Fix type of 'r' parameter
1532         in order to avoid a compile time warning.
1533         (getprocreg_image): Likewise.
1534
1535 2011-04-11  Alan Modra  <amodra@gmail.com>
1536
1537         * config/tc-cr16.c (getprocreg_image): Correct range check.
1538         (getprocregp_image): Likewise.
1539
1540 2011-04-06  Joseph Myers  <joseph@codesourcery.com>
1541
1542         * configure.tgt (strongarm*be, strongarm*b, strongarm*,
1543         xscale*be|xscale*b, xscale*): Remove architectures.
1544         (thumb-*-coff, thumb-*-rtems*, thumb-*-elf, thumb-epoc-pe,
1545         thumb-*-pe, xscale-*-coff, xscale-*-elf): Remove targets.
1546
1547 2011-04-01  Tristan Gingold  <gingold@adacore.com>
1548
1549         * config/tc-ia64.c (md_apply_fix): Add a cast to avoid a warning.
1550
1551 2011-03-31  Bernd Schmidt  <bernds@codesourcery.com>
1552
1553         * config/tc-tic6x.c (sbss_section, scom_section, scom_symbol): New
1554         static variables.
1555         (md_begin): Initialize them.
1556         (s_tic6x_scomm): New static function.
1557         (md_pseudo_table): Add "scomm".
1558         (tc_gen_reloc): Really undo all adjustments made by
1559         bfd_install_relocation.
1560         * doc/c-tic6x.texi: Document the .scomm directive.
1561
1562 2011-03-31  Tristan Gingold  <gingold@adacore.com>
1563
1564         * dwarf2dbg.c (DWARF2_VERSION): Define.
1565         (out_debug_line): Use it.
1566         (out_debug_aranges): Ditto.
1567         (out_debug_info): Ditto.
1568         * config/tc-ia64.h (DWARF2_VERSION): Override it.
1569
1570 2011-03-30  Michael Snyder  <msnyder@vmware.com>
1571
1572         * obj-elf.c (obj_elf_section): Free malloced name.
1573         * macro.c (get_any_string): Free malloced br_buf.
1574         (do_formals): Free 'formal'.
1575
1576 2011-03-30  Tristan Gingold  <gingold@adacore.com>
1577
1578         * config/tc-ppc.c (ppc_frob_symbol): Convert stsym symbols value
1579         to offset only if within is set.
1580         (ppc_stabx): Reformat.  For stsym stabs, add a check and set
1581         within only for symbols.
1582
1583 2011-03-29  Richard Henderson  <rth@redhat.com>
1584
1585         PR 12610
1586         * config/tc-alpha.c (s_alpha_align): Don't auto-align a previous
1587         label; zap alpha_insn_label.
1588
1589 2011-03-29  H.J. Lu  <hongjiu.lu@intel.com>
1590
1591         * config/tc-i386.c (handle_quad): Properly handle multiple
1592         operands.
1593
1594 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1595
1596         * config/bfin-parse.y (BYTEUNPACK): Return yyerror when dest
1597         reg $2 is the same as dest reg $4.
1598
1599 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1600
1601         * config/bfin-parse.y (BYTEOP16M): Return yyerror when dest
1602         reg $2 is the same as dest reg $4.
1603
1604 2011-03-29  Mike Frysinger  <vapier@gentoo.org>
1605
1606         * config/bfin-parse.y (BYTEOP16P): Return yyerror when dest
1607         reg $2 is the same as dest reg $4.
1608
1609 2011-03-28  Mike Frysinger  <vapier@gentoo.org>
1610
1611         * config/bfin-parse.y (16bit acc add): Return yyerror when dest
1612         reg $1 is the same as dest reg $7.
1613
1614 2011-03-28  H.J. Lu  <hongjiu.lu@intel.com>
1615
1616         * config/tc-i386.c (handle_quad): New.
1617         (md_pseudo_table): Add "quad".
1618
1619 2011-03-26  John Marino  <binutils@marino.st>
1620
1621         * configure.tgt: Fix support for *-*-dragonfly*.
1622         * config/tc-i386.c: define SVR4_COMMENT_CHARS for dragonfly.
1623         * config/te-dragonfly.h: New file.
1624
1625 2011-03-24  Eric B. Weddington  <eric.weddington@atmel.com>
1626
1627         * config/tc-avr.c (mcu_types): Add new devices: atmega325pa,
1628         atmega3250pa, atmega3290pa, atmega16hvbrevb, atmega32hvbrevb,
1629         at90pwm161.
1630         * doc/c-avr.texi: Document new device names.
1631
1632 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
1633
1634         * config/bfin-parse.y (dual 32bit add/sub): Return yyerror when dest
1635         reg $1 is the same as dest reg $7.
1636         (quad 16bit add/sub): Return yyerror when dest reg $1 is the same as
1637         dest reg $7.
1638
1639 2011-03-24  Mike Frysinger  <vapier@gentoo.org>
1640
1641         * config/bfin-parse.y (check_macfuncs): Clarify error message when
1642         P is mismatched.  Check destination regno are off by one when P is
1643         set, or are equal when P is not set.
1644
1645 2011-03-23  Mike Frysinger  <vapier@gentoo.org>
1646
1647         * config/bfin-parse.y (SEARCH): Return yyerror when dest reg $2 is
1648         the same as dest reg $4.
1649         (BITMUX): Return yyerror when dest reg $3 is the same as dest reg $5.
1650
1651 2011-03-23  Eric B. Weddington  <eric.weddington@atmel.com>
1652
1653         * config/tc-avr.c (mcu_types): Add new xmega devices: atxmega64a1u,
1654         atxmega128a1u, atxmega16x1, atxmega32x1, atxmega128b1, atxmega256a3bu.
1655         * doc/c-avr.texi: Document new device names.
1656
1657 2011-03-22  Eric B. Weddington  <eric.weddington@atmel.com>
1658
1659         * config/tc-avr.c (struct avr_opcodes_s): Add opcode field.
1660         (AVR_INSN): Change definition to match.
1661         (avr_opcodes): Likewise, change to match.
1662         (mcu_types): Add XMEGA architecture names and new XMEGA device names.
1663         (md_show_usage): Add XMEGA architecture names.
1664         (avr_operand): Add 'E' constraint for DES instruction of XMEGA devices.
1665         Add support for SPM Z+ instruction.
1666         * doc/c-avr.texi: Add documentation for XMEGA architectures and
1667         devices.
1668
1669 2011-03-21  Eric B. Weddington  <eric.weddington@atmel.com>
1670
1671         * config/tc-avr.c (md_show_usage): Add "Assembler" text to output.
1672
1673 2011-03-18  Alan Modra  <amodra@gmail.com>
1674
1675         * config/obj-elf.c (elf_frob_symbol): Report S_SET_SIZE symbol
1676         on .size expression errors rather than symbols in the size expression.
1677
1678 2011-03-18  Alan Modra  <amodra@gmail.com>
1679
1680         * input-scrub.c (line_numberT): Delete.
1681         (input_scrub_close): Reset line counters.
1682         * messages.c (as_show_where): Don't print invalid line number.
1683         (as_warn_internal, as_bad_internal): Likewise.
1684
1685 2011-03-18  Alan Modra  <amodra@gmail.com>
1686
1687         * read.c (read_a_source_file): Remove md_after_pass_hook.
1688         Move "quit" label before set of dot_symbol.
1689         * config/tc-d10v.h (md_after_pass_hook): Don't define.
1690         * config/tc-d30v.h (md_after_pass_hook): Likewise.
1691         * config/tc-m32r.h (md_after_pass_hook): Likewise.
1692         (md_cleanup): Define to call m32r_fill_insn.
1693
1694 2011-03-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
1695
1696         * config/tc-s390.c (md_parse_option): Add -march=all option which
1697         switches to the highest available CPU.
1698
1699 2011-03-17  Alan Modra  <amodra@gmail.com>
1700
1701         PR 12569
1702         * expr.c (operand): Correct passing of "mode" to expr.
1703         * read.c (do_org): Allow expr_section.
1704         (get_known_segmented_expression): Don't assert anything about the
1705         segment.
1706
1707 2011-03-16  H.J. Lu  <hongjiu.lu@intel.com>
1708
1709         * as.c (show_usage): Add --size-check=.
1710         (parse_args): Add and handle OPTION_SIZE_CHECK.
1711
1712         * as.h (flag_size_check): New.
1713
1714         * config/obj-elf.c (elf_frob_symbol): Use as_bad to report
1715         bad .size directive only for --size-check=error.
1716
1717         * doc/as.texinfo: Document --size-check=.
1718
1719 2011-03-14  Mike Frysinger  <vapier@gentoo.org>
1720
1721         * config/tc-bfin.c (bfin_cpus[]): Add 0.4 for
1722         bf542/bf544/bf547/bf548/bf549.
1723
1724 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
1725
1726         * config/tc-arm.c (md_pcrel_from_section): Use S_FORCE_RELOC to
1727         determine whether a relocation is needed.
1728         (md_apply_fix, arm_apply_sym_value): Likewise.
1729
1730 2011-03-14  Richard Sandiford  <richard.sandiford@linaro.org>
1731
1732         * config/tc-arm.c (arm_adjust_symtab): Set the branch type
1733         for Thumb symbols.
1734
1735 2011-03-11  Nick Clifton  <nickc@redhat.com>
1736
1737         * remap.c (remap_debug_filename): Always allocate a buffer for the
1738         returned pointer.
1739         * stabs.c (stabs_generate_asm_file): Free the pointer returned by
1740         remap_debug_filename.
1741
1742 2011-03-10  Michael Snyder  <msnyder@vmware.com>
1743
1744         Revert the following change:
1745         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1746         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1747
1748 2011-03-10  Alan Modra  <amodra@gmail.com>
1749
1750         * gas/config/obj-elf.h (ELF_TARGET_SYMBOL_FIELDS,
1751         TARGET_SYMBOL_FIELDS): Don't define.
1752         * gas/config/tc-arc.c (arc_common): Use correct symbol "local" field.
1753
1754 2011-03-09  Michael Snyder  <msnyder@vmware.com>
1755
1756         * dwarf2dbg.c (out_file_list): Free malloced 'dir'.
1757         (out_debug_info): Free malloced 'dirname' and 'comp_dir'.
1758         (emit_fixed_inc_line_addr): Assign instead of conditional in
1759         assert.
1760
1761 2011-03-05  H.J. Lu  <hongjiu.lu@intel.com>
1762
1763         * config/obj-elf.c (elf_frob_symbol): Mention symbol name in
1764         non-constant .size expression.
1765
1766 2011-03-02  Nick Clifton  <nickc@redhat.com>
1767
1768         * ecoff.c: Incldue filenames.h
1769
1770 2011-02-28  Kai Tietz  <kai.tietz@onevision.com>
1771
1772         * depend.c (register_dependency): Use filename_(n)cmp.
1773         * dwarf2dbg.c (get_filenum): Likewise.
1774         * ecoff.c (add_file): Likewise.
1775         (ecoff_generate_asm_lineno): Likewise.
1776         * input-scrub.c (new_logical_line_flags): Likewise.
1777         * listing.c (file_info): Likewise.
1778         (listing_newline): Likewise.
1779         * remap.c (remap_debug_filename): Likewise.
1780         * stabs.c (generate_asm_file): Likewise.
1781         (stabs_generate_asm_lineno): Likewise.
1782
1783 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1784
1785         * config/tc-mips.c (append_insn): Disable branch relaxation for
1786         DSP instructions.
1787
1788 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1789
1790         * config/tc-mips.c (macro): Handle M_PREF_AB.
1791
1792 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1793
1794         * config/tc-mips.c (RELAX_BRANCH_ENCODE): Encode the temporary
1795         register to use.
1796         (RELAX_BRANCH_UNCOND): Adjust accordingly.
1797         (RELAX_BRANCH_LIKELY): Likewise.
1798         (RELAX_BRANCH_LINK): Likewise.
1799         (RELAX_BRANCH_TOOFAR): Likewise.
1800         (RELAX_BRANCH_AT): New macro.
1801         (append_insn): Encode the temporary register to use in standard
1802         MIPS branch relaxation.
1803         (relaxed_branch_length): Update according to changes to
1804         RELAX_BRANCH_ENCODE.
1805         (md_convert_frag): Use the encoded register as the temporary.
1806
1807 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1808
1809         * config/tc-mips.c (mips_fix_adjustable): On REL targets also
1810         reject PC-relative relocations.
1811
1812 2011-02-28  Maciej W. Rozycki  <macro@codesourcery.com>
1813
1814         * config/tc-mips.c (md_convert_frag): Correct message
1815         capitalization.
1816
1817 2011-02-28  Alan Modra  <amodra@gmail.com>
1818
1819         * symbols.c (report_op_error): Remove unnecessary forward declaration.
1820         Add "op" parameter.  Report operator and operand segments in error
1821         message, not operand symbols.
1822         (resolve_symbol_value): Always set segment for equated symbols, not
1823         just when finalizing.  Adjust report_op_error calls.
1824
1825 2011-02-25  H.J. Lu  <hongjiu.lu@intel.com>
1826
1827         * config/tc-i386.c (reloc): Don't sign-check 4-byte relocations
1828         if 64bit relocations aren't allowed.
1829
1830 2011-02-25  Alan Modra  <amodra@gmail.com>
1831
1832         PR gas/12519
1833         * config/obj-elf.c (elf_frob_symbol): Properly handle size expression.
1834
1835 2011-02-21  Maciej W. Rozycki  <macro@codesourcery.com>
1836
1837         * config/tc-mips.c (mips_ip) <'o'>: Remove duplicate
1838         initialization of offset_reloc.
1839
1840 2011-02-15  Richard Henderson  <rth@redhat.com>
1841
1842         * dw2gencfi.c (dot_cfi_dummy): New.
1843         (cfi_pseudo_table) [!TARGET_USE_CFIPOP]: New.
1844         * read.c (pobegin): Unconditionally call cfi_pop_insert.
1845
1846 2011-02-13  Ralf Wildenhues  <Ralf.Wildenhues@gmx.de>
1847
1848         * configure: Regenerate.
1849
1850 2011-02-13  Mike Frysinger  <vapier@gentoo.org>
1851
1852         * config/bfin-lex.l (BYTEOP2M): Remove tokenization.
1853         * config/bfin-parse.y (BYTEOP2M): Delete token.
1854         (asm_1): Remove BYTEOP2M insn matching.
1855
1856 2011-02-12  Mike Frysinger  <vapier@gentoo.org>
1857
1858         * config/bfin-defs.h: Include opcode/bfin.h.
1859         (M_S2RND, M_T, M_W32, M_FU, M_TFU, M_IS, M_ISS2, M_IH, M_IU): Delete.
1860
1861 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
1862
1863         * doc/c-bfin.texi (Instruction Delimiting): Fix occur typo.
1864         (Modify Registers): Fix subtracted typo.
1865         (.byte2): Extend and swap descriptions with .byte4.
1866         (.byte4): Extend and swap descriptions with .byte2.
1867         (.db, .dw, .dd): Document behavior.
1868
1869 2011-02-11  Mike Frysinger  <vapier@gentoo.org>
1870
1871         * config/bfin-parse.y (TESTSET): Reject REG_SP and REG_FP.
1872
1873 2011-02-11  Alan Modra  <amodra@gmail.com>
1874
1875         * doc/c-ppc.texi (PowerPC-Opts <-nops>): Clarify.
1876
1877 2011-02-10  Alan Modra  <amodra@gmail.com>
1878
1879         * doc/as.texinfo (Overview): Add missing markup around Blackfin
1880         and PowerPC options.
1881
1882 2011-02-10  Alan Modra  <amodra@gmail.com>
1883
1884         * config/tc-ppc.c (md_show_usage): Remove -l and -b.  Add -K PIC.
1885         * doc/as.texinfo: Refer to and include c-ppc.texi for PowerPC options.
1886         (Overview <Target PowerPC options>): Add a number of missing options.
1887         * doc/c-ppc.texi: Likewise.  Add markup for use in manpage generation.
1888
1889 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1890
1891         PR gas/6957
1892         * config/tc-i386.c (i386_align_code): Use f32_patt when tuning
1893         for i686.
1894
1895 2011-02-08  H.J. Lu  <hongjiu.lu@intel.com>
1896
1897         * config/tc-i386.c (set_cpu_arch): Also update cpu_arch_isa_flags
1898         for ISA extensions.
1899         (md_parse_option): Likewise.
1900
1901 2011-02-04  Bernd Schmidt  <bernds@codesourcery.com>
1902
1903         * doc/as.texinfo (Target TIC6X options): Don't mention "-matomic".
1904         * doc/c-tic6x.texi (TIC6X Directives): Don't mention ".atomic".
1905         (TIC6X Options): Don't mention "-matomic".
1906         * config/tc-tic6x.c (OPTION_MATOMIC, OPTION_MNO_ATOMIC): Delete.
1907         (md_longopts): Remove corresponding entries.
1908         (md_parse_option): Don't handle them.
1909         (md_show_usage): Don't document them.
1910         (tic6x_atomic): Delete variable.
1911         (tic6x_update_features): Always copy tic6x_arch_enable to
1912         tic6x_features.
1913         (tic6x_arch_enable): Remove references to TIC6X_INSN_ATOMIC.
1914         (s_tic6x_atomic, s_tic6x_noatomic): Remove functions.
1915         (md_pseudo_table): Remove ".atomic" and ".noatomic".
1916
1917 2011-01-31  Nick Clifton  <nickc@redhat.com>
1918
1919         * write.c (write_contents): Include output file name and bfd error
1920         value when reporting the inability to write to the output file.
1921         * config/tc-rx.c (rx_handle_align): Do not insert NOPs into align
1922         frag that has a non-zero fill value.
1923
1924 2011-01-27  DJ Delorie  <dj@redhat.com>
1925
1926         * config/tc-rx.c (md_convert_frag): If we can't compute the target
1927         address, zero out the values stored in the object file to make
1928         objdump's output consistent.
1929
1930 2011-01-26  Kai Tietz  <kai.tietz@onevision.com>
1931
1932         * config/tc-i386.c (md_begin): Set for x64 windows COFF target
1933         x86_dwarf2_return_column to 32.
1934
1935 2011-01-20  Nick Clifton  <nickc@redhat.com>
1936
1937         PR gas/12384
1938         * config/tc-h8300.c (constant_fits_width_p): Use correct type for
1939         comparison.
1940
1941 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1942
1943         * write.c (compress_debug): Return if section size is smaller
1944         than 32 bytes.
1945
1946 2011-01-18  H.J. Lu  <hongjiu.lu@intel.com>
1947
1948         PR gas/12409
1949         * write.c (compress_debug): Return if section size is 0.
1950
1951 2011-01-18  Mingfeng Wu  <mingfeng@faraday-tech.com>
1952
1953         * config/tc-arm.c (arm_cpus): Add Faraday ARMv5TE compatible
1954         cores: fa606te, fa616te, fmp626.  Modify the VFP of fa626te.
1955         * doc/c-arm.texi (ARM Options): Add -mcpu={fa606te, fa616te,
1956         fmp626} options.
1957
1958 2011-01-18  Nick Clifton  <nickc@redhat.com>
1959
1960         PR gas/12390
1961         * doc/all.texi: Add NS32K
1962         * doc/as.texinfo: Remove target specific details of which
1963         characters act as comment initiators and statement separators into
1964         individual target specific files.
1965         * doc/c-alpha.texi (Alpha-Chars): Document special behaviour of
1966         the hash character at the start of a line.
1967         * doc/c-arm.texi (ARM-Chars): Likewise.
1968         * doc/c-avr.texi (AVR-Chars): Likewise.
1969         * doc/c-d10v.texi (D10V-Chars): Likewise.
1970         * doc/c-d30v.texi (D30V-Chars): Likewise.
1971         * doc/c-mmix.texi (MMIX-Chars): Likewise.
1972         * doc/c-s390.texi (s390 characters): Likewise.
1973         * doc/c-sh.texi (SH-Chars): Likewise.
1974         * doc/c-sh64.texi (SH64-Chars): Likewise.
1975         * doc/c-sparc.texi (SPARC-Chars): Likewise.
1976         * doc/c-tic6x.texi (TIC6X Syntax): Likewise.
1977         * doc/c-xtensa.texi (Xtensa Syntax): Likewise.
1978         * doc/c-z80.texi (Z80-Chars): Likewise.
1979         * doc/c-z8k.texi (Z8000-Chars): Likewise.
1980         * doc/c-pdp11.texi (PDP11-Syntax): Document line separator character.
1981         * doc/c-arc.texi (ARC-Chars): Fill in this subsection.
1982         * doc/c-bfin.texi (Blackfin Syntax): Document line comment and
1983         line separator characters.
1984         * doc/c-cr16.texi (CR16 Syntax): Likewise.
1985         * doc/c-i386.texi (i386-Chars): Likewise.
1986         * doc/c-i860.texi (i860-Chars): Likewise.
1987         * doc/c-i960.texi (i960-Chars): Likewise.
1988         * doc/c-ip2k.texi (IP2K-Chars): Likewise.
1989         * doc/c-lm32.texi (LM32-Chars): likewise.
1990         * doc/c-m32c.texi (M32C-Chars): Likewise.
1991         * doc/c-m68hc11.texi (M68HC11-syntax): Likewise.
1992         * doc/c-m68k.texi (M68K-Chars): Likewise.
1993         * doc/c-microblaze.texi (MicroBlaze-Chars): Likewise.
1994         * doc/c-msp430.texi (MSP430-Chars): Likewise.
1995         * doc/c-mt.texi (MT-Chars): Likewise.
1996         * doc/c-ns32k.texi (NS32K-Chars): Likewise.
1997         * doc/c-pj.texi (PJ-Chars): Likewise.
1998         * doc/c-ppc.texi (PowerPC-Chars): Likewise.
1999         * doc/c-rx.texi (RX-Chars): Likewise.
2000         * doc/c-score.texi (SCORE-Chars): Likewise.
2001         * doc/c-tic54x.texi (TIC54X-Chars): Likewise.
2002         * doc/c-v850.texi (V850-Chars): Likewise.
2003         * doc/c-vax.texi (VAX-Chars): Likewise.
2004         * doc/c-xc16x.texi (xc16x-Chars): Likewise.
2005
2006 2011-01-17  Quentin Neill  <quentin.neill@amd.com>
2007
2008         * config/tc-i386.c (cpu_arch): Add CPU_TBM_FLAGS.
2009
2010         * doc/c-i386.texi (i386-TBM): New section.
2011
2012 2011-01-16  H.J. Lu  <hongjiu.lu@intel.com>
2013
2014         * config/tc-i386.c (disallow_64bit_disp): Renamed to ...
2015         (disallow_64bit_reloc): This.
2016         (md_assemble): Don't check movabs for x32 mode here.
2017         (i386_target_format): Updated.
2018         (tc_gen_reloc): Check if 64bit relocations are allowed.
2019
2020 2011-01-15  H.J. Lu  <hongjiu.lu@intel.com>
2021
2022         * config/tc-i386.c (disallow_64bit_disp): New.
2023         (x86_elf_abi): Replace X86_64_LP64_ABI/X86_64_ILP32_ABI with
2024         X86_64_ABI/X86_64_X32_ABI.
2025         (md_assemble): Don't allow movabs with relocation in x32 mode.
2026         (i386_target_format): Updated.
2027
2028 2011-01-14  H.J. Lu  <hongjiu.lu@intel.com>
2029
2030         * config/tc-i386.c (OPTION_N32): Renamed to ...
2031         (OPTION_X32): This.
2032         (md_longopts): Replace n32 with x32.
2033         (md_parse_option): Updated.
2034         (md_show_usage): Likewise.
2035
2036         * doc/c-i386.texi: Replace --n32 with --x32.
2037
2038 2011-01-11  Mingjie Xing  <mingjie.xing@gmail.com>
2039
2040         * config/tc-mips.c (mips_ip): Update error messages.  Take an
2041         unadjusted offset for "+c" argument.
2042
2043 2011-01-10  Nick Clifton  <nickc@redhat.com>
2044
2045         * config/tc-i386.c (x86_elf_abi): Only define for targets that use
2046         it.
2047
2048 2011-01-10  Nick Clifton  <nickc@redhat.com>
2049
2050         * config/tc-arm.c (s_arm_tls_desceq): Move code into ELF-only
2051         part of the file.
2052
2053 2011-01-10  Nathan Sidwell  <nathan@codesourcery.com>
2054             Glauber de Oliveira Costa  <glommer@gmail.com>
2055
2056         * doc/c-arm.texi: Document TLSDESC and TLSCALL relocations, and
2057         .tlsdescseq directive.
2058         * config/tc-arm.c (arm_typed_reg_parse): Check for potential reloc
2059         following a symbol.
2060         (s_arm_tls_descseq): New directive.
2061         (md_pseudo_table): Add it.
2062         (encode_branch): Allow TLS_CALL relocs too.
2063         (do_t_blx, do_t_branch23): Use encode_branch.
2064         (reloc_names): Add tlsdesc and tlscall.
2065         (md_apply_fix): Process tls desc relocations.
2066         (tc_gen_reloc): Likewise.
2067         (arm_fix_adjustable): Likewise.
2068
2069 2011-01-07  Quentin Neill  <quentin.neill@amd.com>
2070
2071         * config/tc-i386.c (cpu_arch): Add CPU_BMI_FLAGS.
2072
2073         * doc/c-i386.texi (i386-BMI): New section.
2074
2075 2011-01-06  Paul Koning  <ni1d@arrl.net>
2076
2077         * config/tc-pdp11.c (parse_op_no_deferred): Allow PC-relative
2078         references to absolute addresses.
2079
2080 2011-01-05  DJ Delorie  <dj@redhat.com>
2081
2082         * config/tc-rx.c (tc_gen_reloc): Emit an RX_OP_NEG expression
2083         instead of an RH_NEG32 one.
2084
2085 2011-01-05  Jonathan Wakely  <jwakely.gcc@gmail.com>
2086
2087         * doc/c-i386.texi: Clarify --n32.
2088
2089 2011-01-04  H.J. Lu  <hongjiu.lu@intel.com>
2090
2091         * config/tc-i386.c (build_modrm_byte): Allow encoding 32/64bit
2092         integer registers in VEX.vvvv.  Check register-only source
2093         operand when two source operands are swapped.  Properly update
2094         destination when two source operands are swapped.
2095
2096 2011-01-01  H.J. Lu  <hongjiu.lu@intel.com>
2097
2098         * gas.c (parse_args): Update copyright to 2011.
2099
2100 For older changes see ChangeLog-2010
2101 \f
2102 Local Variables:
2103 mode: change-log
2104 left-margin: 8
2105 fill-column: 74
2106 version-control: never
2107 End: