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