The VGATHER group of instructions requires that all three involved
[deliverable/binutils-gdb.git] / gas / ChangeLog
1 2012-08-07 Jan Beulich <jbeulich@suse.com>
2
3 * config/tc-i386.c (set_check): Renamed from set_sse_check.
4 Generalize to also handle operand checking option.
5 (enum i386_error): New enumerator 'invalid_vector_register_set'.
6 (match_template): Handle it.
7 (enum check_kind): Give it a tag. Drop sse_ prefixes from
8 enumerators.
9 (operand_check): New.
10 (md_pseudo_table): Add "operand_check".
11 (check_VecOperands): Don't special case RIP addressing. Check
12 that vSIB operands use distinct vector registers unless no
13 checking was requested.
14 (OPTION_MOPERAND_CHECK): New.
15 (md_parse_option): Handle it.
16 (OPTION_MAVXSCALAR, OPTION_X32): Adjust.
17 (md_longopts): Add "moperand-check".
18 (md_show_usage): Add help text for it.
19
20 2012-08-07 Jan Beulich <jbeulich@suse.com>
21
22 * config/tc-i386.c (register_number): New function.
23 (build_vex_prefix, process_immext, process_operands,
24 build_modrm_byte, i386_index_check): Use it.
25
26 2012-08-07 Daniel Green <venix1@gmail.com>
27
28 * config/tc-i386.c (lex_got): Provide implementation for PE
29 format.
30
31 2012-08-06 Maciej W. Rozycki <macro@codesourcery.com>
32
33 * config/tc-mips.c (append_insn): Also handle moving delay-slot
34 instruction across frags for fixed branches.
35
36 2012-08-03 Maciej W. Rozycki <macro@codesourcery.com>
37
38 * frags.c (frag_grow): Never shrink the obstack size requested
39 below the default.
40
41 2012-08-02 Sean Keys <skeys@ipdatasys.com>
42
43 * config/tc-m68hc11.c (s_m68hc11_parse_pseudo_instruction):
44 New function to parse pseudo ops that are unreleated to
45 existing pseudo ops.
46
47 2012-08-01 Catherine Moore <clm@codesourcery.com>
48 Sandra Loosemore <sandra@codesourcery.com>
49
50 * config/mips/tc-mips.c (mips_cpu_info): Add the 34kn.
51 * doc/c-mips.texi (MIPS Opts): Document it.
52
53 2012-08-01 James Lemke <jwlemke@codesourcery.com>
54
55 * dwarf2dbg.c (out_set_addr): Allow for non-constant value of
56 DWARF2_LINE_MIN_INSN_LENGTH
57 * config/tc-ppc.c (ppc_dwarf2_line_min_insn_length): Declare
58 and initialize.
59 (md_apply_fix): Branch addr can be a multiple of 2 or 4.
60 * config/tc-ppc.h (DWARF2_LINE_MIN_INSN_LENGTH): Now a
61 variable reference.
62
63 2012-07-31 Maciej W. Rozycki <macro@codesourcery.com>
64 Chao-Ying Fu <fu@mips.com>
65 Catherine Moore <clm@codesourcery.com>
66
67 * config/tc-mips.c (ISA_SUPPORTS_DSP_ASE): Also set if microMIPS
68 mode.
69 (ISA_SUPPORTS_DSPR2_ASE): Likewise.
70 (macro_build) <'2'>: Handle microMIPS.
71 (macro) <M_BALIGN>: Update error handling.
72 (validate_micromips_insn) <'2', '3', '4', '5', '6'>: New cases.
73 <'7', '8', '0', '@', '^'>: Likewise.
74 (mips_ip) <'2', '3', '4', '5', '6', '7', '8'>: Handle microMIPS.
75 <'9'>: Fix formatting.
76 <'0', '@'>: Handle microMIPS.
77 <'^'>: New case.
78
79 2012-07-31 Jan Beulich <jbeulich@suse.com>
80
81 * config/tc-i386.c (match_template): Adjust error message
82 for 'bad_imm4' case.
83
84 2012-07-31 Jan Beulich <jbeulich@suse.com>
85
86 * config/tc-i386.c (check_byte_reg): Check for I/O port
87 register earlier, and just once. Drop diagnostic that got
88 issued only for some registers.
89
90 2012-07-31 Jan Beulich <jbeulich@suse.com>
91
92 * config/tc-i386.c (match_template): New local variable
93 'specific_error'. Set it from i.error after failed
94 check_VecOperands or VEX_check_operands. Use it if set in
95 preference to i.error when actually issuing disagnostic.
96
97 2012-07-30 Nick Clifton <nickc@redhat.com>
98
99 * po/gas.pot: Updated template.
100 * po/es.po: Updated Spanish translation.
101 * po/fi.po: Updated Finnish translation.
102 * po/fr.po: Updated French translation.
103
104 2012-07-27 Mike Frysinger <vapier@gentoo.org>
105
106 * configure.in (BFD_VERSION): Run bfd/configure --version and
107 parse the output of that.
108 * configure: Regenerate.
109
110 2012-07-27 Tristan Gingold <gingold@adacore.com>
111
112 * NEWS: Add marker for 2.23.
113
114 2012-07-27 James Murray <jsm@jsm-net.demon.co.uk>
115
116 * config/tc-m68hc11.c: Replace binary with hex for cygwin.
117
118 2012-07-26 Segher Boessenkool <segher@kernel.crashing.org>
119
120 * listing.c (struct list_message): New.
121 (struct list_info_struct): Delete "message". Add "messages"
122 and "last_message".
123 (listing_message): Adjust.
124 (listing_newline): Adjust.
125 (print_lines): Adjust.
126
127 2012-07-24 Jan Beulich <jbeulich@suse.com>
128
129 * config/tc-i386-intel.c (i386_intel_simplify_register): Handle
130 xmm/ymm index register being specified first as well as esp/rsp
131 base register being specified last in a memory operand.
132
133 2012-07-24 Jan Beulich <jbeulich@suse.com>
134
135 * config/tc-i386-intel.c (i386_intel_simplify_register):
136 Replace literal 4 by corresponding ESP_REG_NUM.
137
138 2012-07-24 Sandra Loosemore <sandra@codesourcery.com>
139 Jie Zhang <jzhang918@gmail.com>
140
141 * config/tc-arm.c (md_apply_fix): Use encoding A2 of ADR
142 if offset is negative.
143
144 2012-07-16 Michael Zolotukhin <michael.v.zolotukhin@intel.com>
145
146 * config/tc-i386.c: Add ADX, RDSEED and PRFCHW asm directives.
147 * doc/c-i386.texi: Document the new directives.
148
149 2012-07-05 Sean Keys <skeys@ipdatasys.com>
150
151 * config/tc-xgate.c: Revised assembler so that operands
152 are collected before the addressing mode is determined.
153
154 2012-07-02 Nick Clifton <nickc@redhat.com>
155
156 * write.c (fixup_segment): Only perform the subtraction of an
157 fx_subsy symbol if MD_APPLY_SYM_VALUE allows it and the symbol is
158 properly defined.
159 * config/tc-msp430.h (MD_APPLY_SYM_VALUE): Define.
160
161 2012-06-30 Alan Modra <amodra@gmail.com>
162
163 PR gas/14315
164 * config/obj-elf.c (obj_elf_weak): Don't set local.
165
166 2012-06-30 Johan Olmutz Nielsen <jnielsen@ddci.com>
167
168 * frags.h (frag_offset_fixed_p): Update prototype.
169 * frags.c (frag_offset_fixed_p): Change type of "offset" to offsetT.
170 * expr.c (expr, resolve_expression): Likewise for frag_off var.
171
172 2012-06-29 Nick Clifton <nickc@redhat.com>
173
174 PR gas/14263
175 * config/tc-arm.c (parse_operands): Initialise val.
176
177 2012-06-28 Nick Clifton <nickc@redhat.com>
178
179 PR gas/14260
180 * config/tc-arm.c (encode_arm_addr_mode_common): Generate an error
181 message if literal pool addressing is used.
182
183 2012-06-28 Nick Clifton <nickc@redhat.com>
184
185 * dwarf2dbg.c (DWARF2_USE_FIXED_ADVANCE_PC): Enable when using
186 linker relaxation.
187 (dwarf2_gen_line_info): Generate real, local, labels for line
188 numbers.
189 (dwarf2dbg_convert_frag): Do not finalize the computation of the
190 frag's symbol value when linker relaxation is enabled.
191 (ADDR_DELTA_LIMIT): Define.
192 (size_fixed_inc_line_addr): Use ADDR_DELTA_LIMIT.
193 (emit_fixed_inc_line_addr): Likewise.
194 * write.c (fixup_segment): If the subtraction of two symbols
195 cannot be resolved but is valid, then prevent bogus range warnings
196 by pre-biasing add_number.
197 * config/tc-h8300.h (DWARF2_USE_FIXED_ADVANCE_PC): Define to 0.
198
199 2012-06-28 Sean Keys <skeys@ipdatasys.com>
200
201 * config/tc-xgate.h: Defined tc_frob_symbol.
202 * config/tc-xgate.c (xgate_frob_symbol): Wrote new function to mark
203 symbols as being XGATE by setting st_target_internal value.
204
205 2012-06-22 Roland McGrath <mcgrathr@google.com>
206
207 * NEWS: Mention 'rep ret' too.
208
209 * config/tc-i386.c (parse_insn): Don't complain about REP prefix
210 when the template has opcode_modifier.repprefixok set.
211 * NEWS: Mention the change.
212
213 2012-06-18 Iain Sandoe <iain@codesourcery.com>
214
215 * configure.in: Check DECLS for free, getenv, malloc, realloc,
216 * configure: Regenerate.
217 * config.in: Likewise.
218
219 2012-06-13 H.J. Lu <hongjiu.lu@intel.com>
220
221 * config/tc-i386.c (x86_address_bytes): New.
222 * config/tc-i386.h (TC_ADDRESS_BYTES): Likewise.
223 (x86_address_bytes): Likewise.
224
225 2012-06-13 Zhenqiang Chen <zhenqiang.chen@linaro.org>
226
227 PR gas/12698
228 * config/tc-arm.c (do_t_mrs): Do not require an m-profile
229 architecure when assembling for all archiectures.
230 (do_t_msr): Likewise.
231
232 2012-06-11 Georg-Johann Lay <avr@gjlay.de>
233
234 PR 13503
235 * config/tc-avr.c (exp_mod): Fix typo introduced in 1.82
236 from 2012-05-16.
237
238 2012-06-09 H.J. Lu <hongjiu.lu@intel.com>
239
240 * input-scrub.c (input_scrub_include_sb): Use sb_build to
241 allocate sufficient space for from_sb. Use sb_terminate to
242 terminate string.
243 * read.c (read_a_source_file): Use sb_build to allocate
244 sufficient space and replace sb_add_string with sb_add_buffer.
245 (s_macro): Likewise.
246 (input_scrub_insert_line): Likewise.
247 (s_irp): Use sb_build to allocate sufficient space.
248 (do_repeat): Use sb_build to allocate sufficient space
249 for many.
250 * sb.c (sb_build): Remove static.
251 * sb.h (sb_build): New prototype.
252
253 2012-06-09 Alan Modra <amodra@gmail.com>
254
255 * sb.c: Include limits.h.
256 (dsize): Delete.
257 (MALLOC_OVERHEAD, INIT_ALLOC): Define.
258 (sb_new): Use INIT_ALLOC.
259 (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
260 (sb_terminate): Don't use sb_add_char.
261
262 2012-06-07 Alan Modra <amodra@gmail.com>
263
264 PR gas/14201
265 * sb.h (sb_max_power_two): Delete.
266 (struct sb): Delete "item" and "pot". Make "len" a size_t. Add "max".
267 (sb_element): Delete.
268 (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
269 prototypes.
270 * sb.c (string_count, free_list): Delete.
271 (sb_build, sb_kill, sb_check): Rewrite.
272 (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
273 sb_skip_white, sb_skip_comma): Replace assorted int params,
274 vars and return types with size_t.
275 * input-scrub.c: Likewise.
276 * macro.c: Likewise.
277 * macro.h: Likewise.
278 * as.c: Likewise.
279 * as.h: Likewise.
280 * input-file.h: Likewise.
281 * input-file.c: Likewise.
282 * read.c: Likewise.
283 * app.c: ..or ptrdiff_t.
284 * input-file.c (input_file_get): Use ferror.
285 (input_file_give_next_buffer): Use input_file_get.
286
287 2012-05-31 Sean Keys <skeys@ipdatasys.com>
288
289 * config/tc-xgate.c (md_begin): Refactored code.
290
291 2012-05-29 Roland McGrath <mcgrathr@google.com>
292
293 * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
294 (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
295 [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
296 pairs.
297
298 2012-05-28 Nick Clifton <nickc@redhat.com>
299
300 * read.c (read_symbol_name): New function. Reads a symbol names.
301 Allows escape codes in names.
302 (s_comm_internal): Use read_symbol_name.
303 (s_globl, s_lsym, s_set, s_weakref): Likewise.
304 * doc/as.texinfo: Document support for multibyte characters in
305 symbol names.
306
307 2012-05-21 Mike Frysinger <vapier@gentoo.org>
308
309 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
310 is non-NULL.
311
312 2012-05-19 Alan Modra <amodra@gmail.com>
313
314 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
315 targets when checking for "comdat".
316
317 2012-05-19 Alan Modra <amodra@gmail.com>
318
319 * config/tc-dlx.c (s_proc): Don't use asprintf.
320
321 2012-05-18 Alan Modra <amodra@gmail.com>
322
323 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
324 return value.
325
326 2012-05-18 James Lemke <jwlemke@codesourcery.com>
327 Alan Modra <amodra@gmail.com>
328
329 * config/tc-ppc.c: Don't capitalise error and warning messages.
330 (md_parse_option): Add checks for -a32 -mvle.
331
332 2012-05-18 Alan Modra <amodra@gmail.com>
333
334 * config/obj-evax.c: Include as.h first.
335
336 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
337
338 * aclocal.m4: Regenerate.
339 * configure: Regenerate.
340 * Makefile.in: Regenerate.
341
342 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
343 Nick Clifton <nickc@redhat.com>
344
345 PR 14072
346 * configure.in: Add check that sysdep.h has been included before
347 any system header files.
348 * configure: Regenerate.
349 * config.in: Regenerate.
350 * aclocal.m4: Regenerate.
351 * Makefile.am: Use wrappers around C files generated by flex.
352 * Makefile.in: Regenerate.
353 * doc/Makefile.in: Regenerate.
354 * itbl-lex-wrapper.c: New file.
355 * config/bfin-lex-wrapper.c: New file.
356 * cgen.c: Include as.h before setjmp.h.
357 * config/tc-dlx.c: Include as.h before any other header.
358 * config/tc-h8300.c: Likewise.
359 * config/tc-lm32.c: Likewise.
360 * config/tc-mep.c: Likewise.
361 * config/tc-microblaze.c: Likewise.
362 * config/tc-mmix.c: Likewise.
363 * config/tc-msp430.c: Likewise.
364 * config/tc-or32.c: Likewise.
365 * config/tc-tic4x.c: Likewise.
366 * config/tc-tic54x.c: Likewise.
367 * config/tc-xtensa.c: Likewise.
368
369 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
370
371 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
372 as the first argument for `bfd_get_section_vma'.
373
374 2012-05-16 Alberto Garcia <agarcia@igalia.com>
375
376 PR gas/14082
377 * app.c (do_scrub_chars): Prevent possible out of bounds access to
378 lex[] array.
379
380 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
381
382 PR target/13503
383 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
384 R_AVR_8_HLO8.
385 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
386 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
387
388 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
389 Kwok Cheung Yeung <kcy@codesourcery.com>
390
391 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
392 51qm variants.
393
394 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
395
396 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
397 Add option to offset S12 addresses into XGATE memory space.
398 Tweak target flags to match other tools. (i.e. -m m68hc11).
399 * doc/as.texinfo: Mention new options.
400 * doc/c-m68hc11.texi: Document new options.
401 * NEWS: Mention new support.
402
403 2012-05-14 DJ Delorie <dj@redhat.com>
404
405 * config/rx-parse.y (rx_range): declare.
406 (O1,O2,O3,O4): Add calls to rx_range.
407 (UO1,UO2,UO3): Likewise.
408 (IMM2,IMMB): Likewise.
409 (rx_range): New.
410
411 * config/tc-rx.c (rx_fetchalign): Declare.
412 (md_pseudo_table): Add .fetchalign.
413 (RX_NBASE_FETCHALIGN): New.
414 (fetchalign_bytes): New.
415 (rx_fetchalign): New.
416 (rx_frag_init): If a "magic" value is found, also init the
417 machine-specific data.
418 (md_assemble): Note following opcode size if called for.
419 (rx_next_opcode): New.
420 (rx_relax_frag): Support .fetchalign.
421 (md_convert_frag): Likewise.
422 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
423
424 2012-05-14 James Lemke <jwlemke@codesourcery.com>
425
426 * config/tc-ppc.c (insn_validate): New func of existing code to call..
427 (ppc_setup_opcodes): ..from 2 places here.
428 Revise for second (VLE) opcode table.
429 Add #ifdef'd code to print opcode tables.
430
431 2012-05-14 James Lemke <jwlemke@codesourcery.com>
432
433 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
434 for the VLE conditional branches.
435
436 2012-05-14 Catherine Moore <clm@codesourcery.com>
437 Maciej W. Rozycki <macro@codesourcery.com>
438 Rhonda Wittels <rhonda@codesourcery.com>
439
440 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
441 (PPC_VLE_SPLIT16D): New macro.
442 (PPC_VLE_LO16A): New macro.
443 (PPC_VLE_LO16D): New macro.
444 (PPC_VLE_HI16A): New macro.
445 (PPC_VLE_HI16D): New macro.
446 (PPC_VLE_HA16A): New macro.
447 (PPC_VLE_HA16D): New macro.
448 (PPC_APUINFO_VLE): New definition.
449 (md_chars_to_number): New function.
450 (md_parse_option): Check for combinations of little
451 endian and -mvle.
452 (md_show_usage): Document -mvle.
453 (ppc_arch): Recognize VLE.
454 (ppc_mach): Recognize bfd_mach_ppc_vle.
455 (ppc_setup_opcodes): Print the opcode table if
456 * config/tc-ppc.h (ppc_frag_check): Declare.
457 * doc/c-ppc.texi: Document -mvle.
458 * NEWS: Mention PowerPC VLE port.
459
460 2012-05-14 Catherine Moore <clm@codesourcery.com>
461
462 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
463 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
464 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
465 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
466 for DWARF2_LINE_MIN_INSN_LENGTH.
467
468 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
469
470 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
471 for BFD_RELOC_64.
472
473 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
474
475 PR binutils/14028
476 * configure.in: Invoke ACX_HEADER_STRING.
477 * configure: Regenerate.
478 * config.in: Regenerate.
479 * as.h: If STRINGS_WITH_STRING is defined then include both
480 string.h and strings.h.
481
482 2012-05-11 Georg-Johann Lay <avr@gjlay.de
483
484 PR target/13503
485 * config/tc-avr.c (exp_mod_pm): Remove variable.
486 (exp_mod_data_t): New typedef.
487 (pexp_mod_data, exp_mod_data): New variables.
488 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
489 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
490 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
491 (avr_cons_fix_new): Handle new data expression modifiers shipped
492 in pexp_mod_data.
493 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
494 BFD_RELOC_AVR_8_HHI.
495
496 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
497
498 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
499 addend overflow check.
500
501 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
502
503 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
504 x32 addend overflow check.
505
506 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
507
508 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
509
510 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
511
512 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
513 for BFD_RELOC_64.
514
515 2012-05-08 Alan Modra <amodra@gmail.com>
516
517 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
518 LC and LANG environment vars.
519 * Makefile.in: Regenerate.
520
521 2012-05-07 Alan Modra <amodra@gmail.com>
522
523 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
524 * Makefile.in: Regenerate.
525
526 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
527
528 * config/tc-z80.h(md_register_arithmetic): Define as 0.
529 * config/tc-z80.c(md_begin): Store register names in symbol table,
530 preventing usage as ordinary symbol.
531 * config/tc-z80.c(contains_register): New function.
532 * config/tc-z80.c(parse_exp2): Removed.
533 * config/tc-z80.c(parse_exp_not_indexed): New function.
534 * config/tc-z80.c(parse_exp): Add code to recogize indexed
535 addressing after parsing.
536 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
537 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
538 condition for jump to register.
539 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
540 parse_exp_not_indexed.
541
542 2012-05-05 Alan Modra <amodra@gmail.com>
543
544 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
545 bfd_und_section and bfd_ind_section with their _ptr variants, or
546 use corresponding bfd_is_* macros.
547 * symbols.c: Likewise.
548 * config/obj-aout.c: Likewise.
549 * config/obj-coff-seh.h: Likewise.
550 * config/tc-hppa.c: Likewise.
551 * config/tc-hppa.h: Likewise.
552 * config/tc-ia64.c: Likewise.
553 * config/tc-m32r.c: Likewise.
554 * config/tc-microblaze.c: Likewise.
555 * config/tc-mips.c: Likewise.
556 * config/tc-score.c: Likewise.
557 * config/tc-score7.c: Likewise.
558 * config/tc-tic6x.c: Likewise.
559
560 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
561
562 * configure.tgt: Support x86_64-*-linux-gnux32.
563
564 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
565
566 * config/tc-i386.c (match_template): Add `instruction' to
567 unsupported error message.
568
569 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
570
571 * config/tc-i386.c (output_insn): Reformat.
572
573 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
574
575 * config/tc-i386.c (output_insn): Remove the extra VEX check.
576
577 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
578
579 * config/tc-i386.c (match_template): Improve unsupported error
580 message.
581
582 2012-05-03 Sean Keys <skeys@ipdatasys.com>
583
584 * configure, Makefile.in: Regenerate.
585 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
586 * configure.tgt: Added cpu type.
587 Added files for XGATE assembler.
588 * config/tc-xgate.c: Assembler for XGATE.
589 * config/tc-xgate.h: Header definition for assembler
590 Added files for XGATE testsuite.
591 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
592 * doc/c-xgate.texi: Document XGATE and XGATE port.
593 * doc/as.texinfo: Ditto.
594 * doc/all.texi: Ditto
595 * NEWS: Mention the new support.
596
597 2012-04-30 DJ Delorie <dj@redhat.com>
598
599 * config/rx-parse.y (rx_intop): Add parameter for operation size.
600 Check for large positive constants really being small negative
601 ones.
602 (BRA, BSR): Update calls to rx_intop.
603 (immediate): Likewise.
604
605 2012-04-26 Mark Wielaard <mjw@redhat.com>
606
607 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
608 (DWARF2_LINE_VERSION): Likewise.
609 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
610 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
611 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
612 DWARF2_VERSION >= 4.
613 (out_debug_info): Use difference between start and end as data
614 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
615 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
616
617 2012-04-27 David S. Miller <davem@davemloft.net>
618
619 * doc/c-sparc.text: Document %l34 and %h34.
620
621 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
622
623 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
624 v8pluse, v8plusv, v9e, and v9v.
625 (v9a_asr_table): Add 'pause'.
626
627 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
628 sparc4, v8pluse, v8plusv, v9e, and v9v.
629 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
630 order to accomodate cbcond which otherwise would require two
631 relocations to be handled in a single instruction..
632
633 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
634 names containing "_".
635 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
636 hwcap masks to v8plusv and v9v.
637
638 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
639 masks.
640 (sparc_md_end): No longer need to translate hwcap_seen values into
641 ELF hwcap bits, they now match exactly.
642 (get_hwcap_name): Use HWCAP_* and handle new values.
643 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
644
645 2012-04-20 Tristan Gingold <gingold@adacore.com>
646
647 * config/tc-ia64.c (obj_elf_vms_common): New function.
648 (md_pseudo_table): Add .vms_common pseudo.
649 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
650 * config/obj-elf.c (obj_elf_section_name): Make it public.
651
652 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
653
654 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
655
656 2012-04-12 David S. Miller <davem@davemloft.net>
657
658 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
659 BFD_RELOC_SPARC_H34.
660 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
661 (tc_gen_reloc): Likewise.
662
663 2012-04-12 Roland McGrath <mcgrathr@google.com>
664
665 * configure.tgt (arm-*-nacl*): Match it.
666 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
667 (LOCAL_LABELS_DOLLAR): Define.
668 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
669 Use nacl format variants.
670
671 2012-04-12 Jie Zhang <jie@codesourcery.com>
672 Meador Inge <meadori@codesourcery.com>
673
674 * config/tc-arm.c (only_one_reg_in_list): New function.
675 (encode_ldmstm): Ditto.
676 (do_ldmstm): Use a different encoding when pushing or poping
677 a single register.
678 (A_COND_MASK): New macro.
679 (A_PUSH_POP_OP_MASK): Ditto.
680 (A1_OPCODE_PUSH): Ditto.
681 (A2_OPCODE_PUSH): Ditto.
682 (A2_OPCODE_POP): Ditto.
683
684 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
685
686 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
687 -mno-fix-24k.
688
689 2012-04-06 Roland McGrath <mcgrathr@google.com>
690
691 * configure.in (AC_CHECK_HEADERS): Add locale.h.
692 * config.in: Regenerate.
693 * configure: Regenerate.
694
695 2012-04-05 Nick Clifton <nickc@redhat.com>
696
697 * configure.in (AC_CHECK_FUNCS): Add setlocale.
698 (AM_LC_MESSAGES): Add.
699 * aclocal.m4: Regenerate.
700 * config.in: Regenerate.
701 * configure: Regenerate.
702
703 2012-04-03 DJ Delorie <dj@redhat.com>
704
705 * config/rx-parse.y: Make the .L optional for ADC and SBB.
706
707 2012-04-02 DJ Delorie <dj@redhat.com>
708
709 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
710 transfer size.
711 (IMM): New, call IMM_ with the default 32.
712 (IMMW,IMMB): Likewise, for 16 and 8.
713 (NIMM, MBIMM): Add size parameter.
714 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
715 (MOV.W): Use IMMW instead of IMM.
716
717 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
718 (op_dp20_rm_l): New.
719 (op_dp20_rim_l): New.
720
721 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
722 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
723
724 2012-03-29 Terry Guo <terry.guo@arm.com>
725
726 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
727 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
728
729 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
730
731 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
732 * doc/c-mips.texi: Mention XLP.
733
734 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
735
736 [SH] Support the .uaquad and .8byte directives also for non-sh64
737 configurations.
738
739 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
740 BFD_RELOC_64.
741 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
742 description...
743 * doc/c-sh.texi (SH Machine Directives): ... here.
744
745 2012-03-20 Nick Clifton <nickc@redhat.com>
746
747 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
748 registers.
749 (do_vmsr): Likewise.
750 (arm_opcode_insns): Do not default to using the FPSCR register in
751 the VMRS and VMSR registers.
752
753 2012-03-16 Roland McGrath <mcgrathr@google.com>
754
755 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
756 Define for this case.
757 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
758
759 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
760
761 * config/tc-arm.c (aeabi_set_public_attributes): Correct
762 handling of Tag_DIV_use.
763
764 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
765
766 * doc/as.texinfo (Bundle directives): Fix typo.
767
768 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
769
770 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
771
772 2012-03-13 Roland McGrath <mcgrathr@google.com>
773
774 * config/tc-arm.c (arm_frag_max_var): New function.
775 * config/tc-arm.h: Declare it.
776 (md_frag_max_var): New macro.
777
778 * config/tc-i386.c (i386_frag_max_var): New function.
779 * config/tc-i386.h: Declare it.
780 (md_frag_max_var): New macro.
781
782 * doc/as.texinfo (Bundle directives): New node.
783 (Pseudo Ops): Add it to the menu.
784 * NEWS: Mention new feature.
785 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
786 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
787 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
788 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
789 New functions.
790 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
791 to md_assembly if not.
792 (read_a_source_file): Call assemble_one in place of md_assemble.
793 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
794 .bundle_lock at end of processing.
795 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
796 New functions.
797 [HANDLE_BUNDLE] (potable): Add their entries.
798 * read.h: Declare new functions.
799
800 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
801
802 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
803 (ppc_handle_align): Add termination nop opcode for e500mc family.
804 * doc/as.texinfo: Document options -me5500 and -me6500.
805 * doc/c-ppc.texi: Likewise.
806
807 2012-03-07 Nick Clifton <nickc@redhat.com>
808
809 * config/tc-mn10300.c (other_registers): Add SSP and USP.
810 (md_assemble): Add support for TLS relocs.
811 (mn10300_parse_name): Likewise.
812
813 2012-02-27 Alan Modra <amodra@gmail.com>
814
815 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
816
817 2012-02-27 Alan Modra <amodra@gmail.com>
818
819 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
820 params. Properly generate NOP pattern. Comment reason for
821 subseg_text_p failure.
822
823 2012-02-27 Alan Modra <amodra@gmail.com>
824
825 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
826 and sign extend before range tests.
827 (constant_fits_size_p): Similarly.
828 (get_specific): Trim X_add_number to 32 bits.
829 (fix_operand_size): Likewise, and use unsigned test for signed
830 ranges.
831
832 2012-02-27 Alan Modra <amodra@gmail.com>
833
834 * config/tc-crx.c: Include bfd_stdint.h.
835 (getconstant): Remove irrelevant comment. Don't fail due to
836 sign-extension of int mask.
837 (check_range): Rewrite using unsigned arithmetic throughout.
838
839 2012-02-25 Walter Lee <walt@tilera.com>
840
841 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
842 non-local before checking sy_value.
843 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
844
845 2012-02-25 Walter Lee <walt@tilera.com>
846
847 * tc-tilepro.c (O_tls_le): Define operator.
848 (O_tls_le_lo16): Ditto.
849 (O_tls_le_hi16): Ditto.
850 (O_tls_le_ha16): Ditto.
851 (O_tls_gd_call): Ditto.
852 (O_tls_gd_add): Ditto.
853 (O_tls_ie_load): Ditto.
854 (md_begin): Delete old operators; handle new operators.
855 (emit_tilepro_instruction): Ditto.
856 (md_apply_fix): Ditto.
857 * tc-tilegx.c (O_hw1_got): Delete operator.
858 (O_hw2_got): Ditto.
859 (O_hw3_got): Ditto.
860 (O_hw2_last_got): Ditto.
861 (O_hw1_tls_gd): Ditto.
862 (O_hw2_tls_gd): Ditto.
863 (O_hw3_tls_gd): Ditto.
864 (O_hw2_last_tls_gd): Ditto.
865 (O_hw1_tls_ie): Ditto.
866 (O_hw2_tls_ie): Ditto.
867 (O_hw3_tls_ie): Ditto.
868 (O_hw2_last_tls_ie): Ditto.
869 (O_hw0_tls_le): Define operator.
870 (O_hw0_last_tls_le): Ditto.
871 (O_hw1_last_tls_le): Ditto.
872 (O_tls_gd_call): Ditto.
873 (O_tls_gd_add): Ditto.
874 (O_tls_ie_load): Ditto.
875 (O_tls_add): Ditto.
876 (md_begin): Delete old operators; handle new operators.
877 (emit_tilegx_instruction): Ditto.
878 (md_apply_fix): Ditto.
879 * doc/c-tilegx.texi: Delete old operators; document new operators.
880 * doc/c-tilepro.texi: Ditto.
881
882 2012-02-25 Walter Lee <walt@tilera.com>
883
884 * tc-tilepro.c (apply_special_operator): delete cases for
885 got and tls operators.
886 (md_apply_fix): Ditto.
887 * tc-tilegx.c (md_begin): Set architecture and machine.
888 (tilegx_target_format): Handle big endian.
889 (OPTION_EB): Define.
890 (OPTION_EL): Define.
891 (md_longopts): Add entries for "EB" and "EL".
892 (md_parse_option): Handle OPTION_EB and OPTION_EL.
893 (md_show_usage): Add -EB and -EL.
894 (md_number_to_chars): New.
895 (apply_special_operator): delete cases for got and tls
896 operators.
897 (md_apply_fix): Ditto.
898 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
899 ifndef.
900 (md_number_to_chars): Delete.
901 * configure.tgt (tilegx*be): Handle.
902 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
903 * doc/c-tilegx.texi: Ditto.
904
905 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
906
907 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
908 HLEPrefixAny and HLEPrefixRelease.
909
910 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
911
912 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
913
914 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
915
916 * write.c (write_object_file): Add md_pre_output_hook.
917 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
918 (obj_mach_o_pre_output_hook): New.
919 * config/obj-macho.h (md_pre_output_hook): Define.
920 (obj_mach_o_pre_output_hook): Declare.
921
922 2012-02-21 Tristan Gingold <gingold@adacore.com>
923
924 * config/tc-i386.h (OBJ_MACH_O): New section.
925 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
926 (TC_FORCE_RELOCATION_SUB_SAME): New
927 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
928 (TC_VALIDATE_FIX_SUB): New.
929 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
930 * symbols.c (colon): obj_frob_colon: New hook.
931 * write.c (write_object_file): md_pre_relax_hook, new
932 hook.
933 * config/obj-macho.c (obj_mach_o_frob_colon): New.
934 (obj_mach_o_frob_label): Record sub-section labels.
935 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
936 (obj_mach_o_set_subsections): New.
937 (obj_mach_o_pre_relax_hook): New.
938 (obj_mach_o_in_different_subsection): New.
939 (obj_mach_o_force_reloc_sub_same): New.
940 (obj_mach_o_force_reloc_sub_local): New.
941 (obj_mach_o_force_reloc): New.
942 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
943 (obj_frob_colon): New Define.
944 (obj_mach_o_frob_label): Renamed.
945 (obj_mach_o_frob_symbol): Renamed.
946 (OBJ_FRAG_TYPE): New.
947 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
948 obj_mach_o_force_reloc_sub_same,
949 obj_mach_o_force_reloc_sub_local): New declarations.
950
951 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
952
953 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
954 (obj_mach_o_allow_local_subtract): New.
955 * config/obj-macho.h (md_allow_local_subtract): Define.
956 (obj_mach_o_allow_local_subtract): Declare.
957
958 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
959
960 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
961 canonical information, try to determine CODE and DEBUG section flags
962 from the mach-o section data.
963
964 2012-02-20 Nick Clifton <nickc@redhat.com>
965
966 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
967 local symbols.
968
969 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
970
971 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
972 any local symbol used as an indirect.
973
974 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
975
976 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
977 stub size when provided. (obj_mach_o_section): Flag that stub-size
978 has been provided.
979
980 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
981
982 * config/tc-i386.c (HLE_PREFIX): New.
983 (check_hle): Likewise.
984 (_i386_insn): Add have_hle.
985 (cpu_arch): Add .hle and .rtm.
986 (md_assemble): Call check_hle if i.have_hle isn't zero.
987 (parse_insn): Set i.have_hle to 1 for HLE prefix.
988 (output_jump): Support up to 2 byte opcode.
989
990 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
991
992 2012-02-02 Tristan Gingold <gingold@adacore.com>
993
994 * config/obj-macho.c (obj_mach_o_zerofill): Silent
995 uninitialized variable warning.
996
997 2012-02-02 Nick Clifton <nickc@redhat.com>
998
999 PR gas/13224
1000 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
1001 to 'is_clone' to avoid shadowing a gloabl.
1002 (obj_elf_section): Likewise.
1003
1004 2012-01-31 Paul Brook <paul@codesourcery.com>
1005
1006 * doc/c-tic6x.c: Fix typo.
1007
1008 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
1009
1010 PR gas/13624
1011 * app.c (app_push): Set 'add_newlines' to zero after saving.
1012
1013 2012-01-24 DJ Delorie <dj@redhat.com>
1014
1015 * config/rl78-parse.y (NOT1): Add.
1016
1017 2012-01-23 Roland McGrath <mcgrathr@google.com>
1018
1019 * configure.tgt (i386-*-nacl*): Match it.
1020 * config/te-nacl.h: New file.
1021 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
1022 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
1023 Use TE_GNU et al case for TE_NACL too.
1024
1025 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
1026
1027 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
1028 disp_encoding.
1029 (md_assemble): Updated.
1030 (output_branch): Likewise.
1031 (parse_insn): Support .d8 suffix.
1032 (build_modrm_byte): Fake zero displacement for .d8 and .d32
1033 suffixes.
1034
1035 * doc/c-i386.texi: Document .d8 suffix.
1036
1037 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
1038
1039 * write.c (fix_new_internal): Don't mark used parameter as unused.
1040
1041 2012-01-17 Alan Modra <amodra@gmail.com>
1042
1043 * as.c (parse_args): Update copyright message year.
1044
1045 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
1046
1047 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
1048
1049 * doc/c-i386.texi: Document vmfunc.
1050
1051 2012-01-13 Tristan Gingold <gingold@adacore.com>
1052
1053 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
1054 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
1055 (obj_mach_o_reorder_section_relocs): Declare.
1056
1057 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1058
1059 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
1060 absolute indirect symbols.
1061
1062 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
1063
1064 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
1065 (obj_mach_o_set_section_vma): New.
1066 (obj_mach_o_post_relax_hook): New.
1067 * config/obj-macho.h (md_post_relax_hook): Define.
1068 (obj_mach_o_post_relax_hook): Declare.
1069
1070 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
1071
1072 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
1073 lazy when the symbol is private_extern.
1074 (obj_mach_o_indirect_sym): New type.
1075 (obj_mach_o_indirect_symbol): New.
1076 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
1077 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
1078 (obj_macho_frob_label): Likewise. Adjust external and comm
1079 symbol tests.
1080 (obj_mach_o_set_indirect_symbols): New.
1081 (obj_mach_o_frob_file_after_relocs): New.
1082 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
1083 (obj_mach_o_frob_file_after_relocs): Declare.
1084
1085 2012-01-12 Tristan Gingold <gingold@adacore.com>
1086
1087 PR gas/13591
1088 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
1089
1090 2012-01-10 Tristan Gingold <gingold@adacore.com>
1091
1092 * struc-symbol.h (struct symbol_flags): New struct, created from...
1093 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
1094 (struct local_symbol): Replace lsy_marker field by lsy_flags.
1095 Adjust comment.
1096 (local_symbol_resolved_p): Adjust.
1097 (local_symbol_mark_resolved): Likewise.
1098 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
1099 (local_symbol_make, local_symbol_convert, colon)
1100 (symbol_clone_if_forward_ref, verify_symbol_chain)
1101 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
1102 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
1103 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
1104 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
1105 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
1106 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
1107 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
1108 (symbol_mark_mri_common, symbol_clear_mri_common)
1109 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
1110 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
1111 (symbol_equated_reloc_p, dot_symbol_init)
1112 (print_symbol_value_1): Adjust.
1113
1114 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
1115
1116 * config/obj-macho.c (obj_mach_o_weak): Remove.
1117 (obj_mach_o_common_parse): Set symbol qualifiers.
1118 (LAZY, REFE): New macros.
1119 (obj_mach_o_symbol_type): New enum.
1120 (obj_mach_o_set_symbol_qualifier): New.
1121 (obj_mach_o_sym_qual): New.
1122 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
1123 a dummy function.
1124 (obj_mach_o_type_for_symbol): New.
1125 (obj_macho_frob_label): New.
1126 (obj_macho_frob_symbol): New.
1127 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
1128 (obj_frob_label, obj_macho_frob_label): Declare.
1129 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
1130
1131 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
1132
1133 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
1134
1135 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
1136 Richard Sandiford <rdsandiford@googlemail.com>
1137
1138 * config/tc-mips.c (mips_move_labels): Take the list of labels and
1139 textness as parameters.
1140 (mips_move_text_labels): New function.
1141 (append_insn): Use it instead of mips_move_labels.
1142 (mips_emit_delays, start_noreorder): Likewise.
1143 (mips_align): Take the labels rather than just one label.
1144 Move all labels to after the .align.
1145 (s_align): Change the last argument to mips_align.
1146 (s_cons): Likewise.
1147 (s_float_cons): Likewise.
1148 (s_gpword): Likewise.
1149 (s_gpdword): Likewise.
1150
1151 2012-01-06 Tristan Gingold <gingold@adacore.com>
1152
1153 * config/tc-i386.c: Update copyright year.
1154 (lex_got): Also defined for Mach-O.
1155 Add a guard for non-ELF configuration.
1156 (md_longopts): Also handle -64 for Mach-O.
1157 (md_parse_option): Likewise.
1158 (i386_target_format): Adjust for x86_64-darwin.
1159
1160 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
1161
1162 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
1163 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
1164 (obj_mach_o_make_or_get_sect): Likewise.
1165 (obj_mach_o_section): Split out the functionality shared with zerofill.
1166 (obj_mach_o_zerofill): New.
1167 (obj_mach_o_common_parse): Ensure whitespace is skipped.
1168 (mach_o_pseudo_table): Add .zerofill.
1169
1170 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
1171
1172 * config/obj-macho.c (obj_macho_process_stab): New.
1173 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
1174 (obj_macho_process_stab): Declare.
1175
1176 For older changes see ChangeLog-2011
1177 \f
1178 Local Variables:
1179 mode: change-log
1180 left-margin: 8
1181 fill-column: 74
1182 version-control: never
1183 End:
This page took 0.055708 seconds and 4 git commands to generate.