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