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