1 2012-05-19 Alan Modra <amodra@gmail.com>
3 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
4 targets when checking for "comdat".
6 2012-05-19 Alan Modra <amodra@gmail.com>
8 * config/tc-dlx.c (s_proc): Don't use asprintf.
10 2012-05-18 Alan Modra <amodra@gmail.com>
12 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
15 2012-05-18 James Lemke <jwlemke@codesourcery.com>
16 Alan Modra <amodra@gmail.com>
18 * config/tc-ppc.c: Don't capitalise error and warning messages.
19 (md_parse_option): Add checks for -a32 -mvle.
21 2012-05-18 Alan Modra <amodra@gmail.com>
23 * config/obj-evax.c: Include as.h first.
25 2012-05-18 Andreas Schwab <schwab@linux-m68k.org>
27 * aclocal.m4: Regenerate.
28 * configure: Regenerate.
29 * Makefile.in: Regenerate.
31 2012-05-17 Daniel Richard G. <skunk@iskunk.org>
32 Nick Clifton <nickc@redhat.com>
35 * configure.in: Add check that sysdep.h has been included before
36 any system header files.
37 * configure: Regenerate.
38 * config.in: Regenerate.
39 * aclocal.m4: Regenerate.
40 * Makefile.am: Use wrappers around C files generated by flex.
41 * Makefile.in: Regenerate.
42 * doc/Makefile.in: Regenerate.
43 * itbl-lex-wrapper.c: New file.
44 * config/bfin-lex-wrapper.c: New file.
45 * cgen.c: Include as.h before setjmp.h.
46 * config/tc-dlx.c: Include as.h before any other header.
47 * config/tc-h8300.c: Likewise.
48 * config/tc-lm32.c: Likewise.
49 * config/tc-mep.c: Likewise.
50 * config/tc-microblaze.c: Likewise.
51 * config/tc-mmix.c: Likewise.
52 * config/tc-msp430.c: Likewise.
53 * config/tc-or32.c: Likewise.
54 * config/tc-tic4x.c: Likewise.
55 * config/tc-tic54x.c: Likewise.
56 * config/tc-xtensa.c: Likewise.
58 2012-05-16 Sergio Durigan Junior <sergiodj@redhat.com>
60 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
61 as the first argument for `bfd_get_section_vma'.
63 2012-05-16 Alberto Garcia <agarcia@igalia.com>
66 * app.c (do_scrub_chars): Prevent possible out of bounds access to
69 2012-05-16 Georg-Johann Lay <avr@gjlay.de>
72 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
74 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
75 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
77 2012-05-16 Nathan Sidwell <nathan@codesourcery.com>
78 Kwok Cheung Yeung <kcy@codesourcery.com>
80 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
83 2012-05-15 James Murray <jsm@jsm-net.demon.co.uk>
85 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
86 Add option to offset S12 addresses into XGATE memory space.
87 Tweak target flags to match other tools. (i.e. -m m68hc11).
88 * doc/as.texinfo: Mention new options.
89 * doc/c-m68hc11.texi: Document new options.
90 * NEWS: Mention new support.
92 2012-05-14 DJ Delorie <dj@redhat.com>
94 * config/rx-parse.y (rx_range): declare.
95 (O1,O2,O3,O4): Add calls to rx_range.
96 (UO1,UO2,UO3): Likewise.
97 (IMM2,IMMB): Likewise.
100 * config/tc-rx.c (rx_fetchalign): Declare.
101 (md_pseudo_table): Add .fetchalign.
102 (RX_NBASE_FETCHALIGN): New.
103 (fetchalign_bytes): New.
104 (rx_fetchalign): New.
105 (rx_frag_init): If a "magic" value is found, also init the
106 machine-specific data.
107 (md_assemble): Note following opcode size if called for.
108 (rx_next_opcode): New.
109 (rx_relax_frag): Support .fetchalign.
110 (md_convert_frag): Likewise.
111 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
113 2012-05-14 James Lemke <jwlemke@codesourcery.com>
115 * config/tc-ppc.c (insn_validate): New func of existing code to call..
116 (ppc_setup_opcodes): ..from 2 places here.
117 Revise for second (VLE) opcode table.
118 Add #ifdef'd code to print opcode tables.
120 2012-05-14 James Lemke <jwlemke@codesourcery.com>
122 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
123 for the VLE conditional branches.
125 2012-05-14 Catherine Moore <clm@codesourcery.com>
126 Maciej W. Rozycki <macro@codesourcery.com>
127 Rhonda Wittels <rhonda@codesourcery.com>
129 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
130 (PPC_VLE_SPLIT16D): New macro.
131 (PPC_VLE_LO16A): New macro.
132 (PPC_VLE_LO16D): New macro.
133 (PPC_VLE_HI16A): New macro.
134 (PPC_VLE_HI16D): New macro.
135 (PPC_VLE_HA16A): New macro.
136 (PPC_VLE_HA16D): New macro.
137 (PPC_APUINFO_VLE): New definition.
138 (md_chars_to_number): New function.
139 (md_parse_option): Check for combinations of little
141 (md_show_usage): Document -mvle.
142 (ppc_arch): Recognize VLE.
143 (ppc_mach): Recognize bfd_mach_ppc_vle.
144 (ppc_setup_opcodes): Print the opcode table if
145 * config/tc-ppc.h (ppc_frag_check): Declare.
146 * doc/c-ppc.texi: Document -mvle.
147 * NEWS: Mention PowerPC VLE port.
149 2012-05-14 Catherine Moore <clm@codesourcery.com>
151 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
152 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
153 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
154 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
155 for DWARF2_LINE_MIN_INSN_LENGTH.
157 2012-05-12 H.J. Lu <hongjiu.lu@intel.com>
159 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
162 2012-05-11 Daniel Richard G. <skunk@iskunk.org>
165 * configure.in: Invoke ACX_HEADER_STRING.
166 * configure: Regenerate.
167 * config.in: Regenerate.
168 * as.h: If STRINGS_WITH_STRING is defined then include both
169 string.h and strings.h.
171 2012-05-11 Georg-Johann Lay <avr@gjlay.de
174 * config/tc-avr.c (exp_mod_pm): Remove variable.
175 (exp_mod_data_t): New typedef.
176 (pexp_mod_data, exp_mod_data): New variables.
177 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
178 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
179 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
180 (avr_cons_fix_new): Handle new data expression modifiers shipped
182 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
185 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
187 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
188 addend overflow check.
190 2012-05-10 H.J. Lu <hongjiu.lu@intel.com>
192 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
193 x32 addend overflow check.
195 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
197 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
199 2012-05-09 H.J. Lu <hongjiu.lu@intel.com>
201 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
204 2012-05-08 Alan Modra <amodra@gmail.com>
206 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
207 LC and LANG environment vars.
208 * Makefile.in: Regenerate.
210 2012-05-07 Alan Modra <amodra@gmail.com>
212 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
213 * Makefile.in: Regenerate.
215 2012-05-06 Arnold Metselaar <arnold_m@operamail.com>
217 * config/tc-z80.h(md_register_arithmetic): Define as 0.
218 * config/tc-z80.c(md_begin): Store register names in symbol table,
219 preventing usage as ordinary symbol.
220 * config/tc-z80.c(contains_register): New function.
221 * config/tc-z80.c(parse_exp2): Removed.
222 * config/tc-z80.c(parse_exp_not_indexed): New function.
223 * config/tc-z80.c(parse_exp): Add code to recogize indexed
224 addressing after parsing.
225 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
226 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
227 condition for jump to register.
228 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
229 parse_exp_not_indexed.
231 2012-05-05 Alan Modra <amodra@gmail.com>
233 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
234 bfd_und_section and bfd_ind_section with their _ptr variants, or
235 use corresponding bfd_is_* macros.
236 * symbols.c: Likewise.
237 * config/obj-aout.c: Likewise.
238 * config/obj-coff-seh.h: Likewise.
239 * config/tc-hppa.c: Likewise.
240 * config/tc-hppa.h: Likewise.
241 * config/tc-ia64.c: Likewise.
242 * config/tc-m32r.c: Likewise.
243 * config/tc-microblaze.c: Likewise.
244 * config/tc-mips.c: Likewise.
245 * config/tc-score.c: Likewise.
246 * config/tc-score7.c: Likewise.
247 * config/tc-tic6x.c: Likewise.
249 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
251 * configure.tgt: Support x86_64-*-linux-gnux32.
253 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
255 * config/tc-i386.c (match_template): Add `instruction' to
256 unsupported error message.
258 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
260 * config/tc-i386.c (output_insn): Reformat.
262 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
264 * config/tc-i386.c (output_insn): Remove the extra VEX check.
266 2012-05-04 H.J. Lu <hongjiu.lu@intel.com>
268 * config/tc-i386.c (match_template): Improve unsupported error
271 2012-05-03 Sean Keys <skeys@ipdatasys.com>
273 * configure, Makefile.in: Regenerate.
274 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
275 * configure.tgt: Added cpu type.
276 Added files for XGATE assembler.
277 * config/tc-xgate.c: Assembler for XGATE.
278 * config/tc-xgate.h: Header definition for assembler
279 Added files for XGATE testsuite.
280 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
281 * doc/c-xgate.texi: Document XGATE and XGATE port.
282 * doc/as.texinfo: Ditto.
283 * doc/all.texi: Ditto
284 * NEWS: Mention the new support.
286 2012-04-30 DJ Delorie <dj@redhat.com>
288 * config/rx-parse.y (rx_intop): Add parameter for operation size.
289 Check for large positive constants really being small negative
291 (BRA, BSR): Update calls to rx_intop.
292 (immediate): Likewise.
294 2012-04-26 Mark Wielaard <mjw@redhat.com>
296 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
297 (DWARF2_LINE_VERSION): Likewise.
298 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
299 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
300 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
302 (out_debug_info): Use difference between start and end as data
303 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
304 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
306 2012-04-27 David S. Miller <davem@davemloft.net>
308 * doc/c-sparc.text: Document %l34 and %h34.
310 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
312 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
313 v8pluse, v8plusv, v9e, and v9v.
314 (v9a_asr_table): Add 'pause'.
316 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
317 sparc4, v8pluse, v8plusv, v9e, and v9v.
318 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
319 order to accomodate cbcond which otherwise would require two
320 relocations to be handled in a single instruction..
322 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
323 names containing "_".
324 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
325 hwcap masks to v8plusv and v9v.
327 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
329 (sparc_md_end): No longer need to translate hwcap_seen values into
330 ELF hwcap bits, they now match exactly.
331 (get_hwcap_name): Use HWCAP_* and handle new values.
332 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
334 2012-04-20 Tristan Gingold <gingold@adacore.com>
336 * config/tc-ia64.c (obj_elf_vms_common): New function.
337 (md_pseudo_table): Add .vms_common pseudo.
338 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
339 * config/obj-elf.c (obj_elf_section_name): Make it public.
341 2012-04-17 Richard Sandiford <r.sandiford@uk.ibm.com>
343 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
345 2012-04-12 David S. Miller <davem@davemloft.net>
347 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
349 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
350 (tc_gen_reloc): Likewise.
352 2012-04-12 Roland McGrath <mcgrathr@google.com>
354 * configure.tgt (arm-*-nacl*): Match it.
355 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
356 (LOCAL_LABELS_DOLLAR): Define.
357 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
358 Use nacl format variants.
360 2012-04-12 Jie Zhang <jie@codesourcery.com>
361 Meador Inge <meadori@codesourcery.com>
363 * config/tc-arm.c (only_one_reg_in_list): New function.
364 (encode_ldmstm): Ditto.
365 (do_ldmstm): Use a different encoding when pushing or poping
367 (A_COND_MASK): New macro.
368 (A_PUSH_POP_OP_MASK): Ditto.
369 (A1_OPCODE_PUSH): Ditto.
370 (A2_OPCODE_PUSH): Ditto.
371 (A2_OPCODE_POP): Ditto.
373 2012-04-06 Maciej W. Rozycki <macro@linux-mips.org>
375 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
378 2012-04-06 Roland McGrath <mcgrathr@google.com>
380 * configure.in (AC_CHECK_HEADERS): Add locale.h.
381 * config.in: Regenerate.
382 * configure: Regenerate.
384 2012-04-05 Nick Clifton <nickc@redhat.com>
386 * configure.in (AC_CHECK_FUNCS): Add setlocale.
387 (AM_LC_MESSAGES): Add.
388 * aclocal.m4: Regenerate.
389 * config.in: Regenerate.
390 * configure: Regenerate.
392 2012-04-03 DJ Delorie <dj@redhat.com>
394 * config/rx-parse.y: Make the .L optional for ADC and SBB.
396 2012-04-02 DJ Delorie <dj@redhat.com>
398 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
400 (IMM): New, call IMM_ with the default 32.
401 (IMMW,IMMB): Likewise, for 16 and 8.
402 (NIMM, MBIMM): Add size parameter.
403 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
404 (MOV.W): Use IMMW instead of IMM.
406 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
408 (op_dp20_rim_l): New.
410 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
411 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
413 2012-03-29 Terry Guo <terry.guo@arm.com>
415 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
416 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
418 2012-03-23 Maxim Kuvyrkov <maxim@codesourcery.com>
420 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
421 * doc/c-mips.texi: Mention XLP.
423 2012-03-21 Thomas Schwinge <thomas@codesourcery.com>
425 [SH] Support the .uaquad and .8byte directives also for non-sh64
428 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
430 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
432 * doc/c-sh.texi (SH Machine Directives): ... here.
434 2012-03-20 Nick Clifton <nickc@redhat.com>
436 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
439 (arm_opcode_insns): Do not default to using the FPSCR register in
440 the VMRS and VMSR registers.
442 2012-03-16 Roland McGrath <mcgrathr@google.com>
444 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
445 Define for this case.
446 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
448 2012-03-16 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
450 * config/tc-arm.c (aeabi_set_public_attributes): Correct
451 handling of Tag_DIV_use.
453 2012-03-15 Thomas Schwinge <thomas@codesourcery.com>
455 * doc/as.texinfo (Bundle directives): Fix typo.
457 2012-03-14 Ryan Mansfield <rmansfield@qnx.com>
459 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
461 2012-03-13 Roland McGrath <mcgrathr@google.com>
463 * config/tc-arm.c (arm_frag_max_var): New function.
464 * config/tc-arm.h: Declare it.
465 (md_frag_max_var): New macro.
467 * config/tc-i386.c (i386_frag_max_var): New function.
468 * config/tc-i386.h: Declare it.
469 (md_frag_max_var): New macro.
471 * doc/as.texinfo (Bundle directives): New node.
472 (Pseudo Ops): Add it to the menu.
473 * NEWS: Mention new feature.
474 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
475 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
476 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
477 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
479 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
480 to md_assembly if not.
481 (read_a_source_file): Call assemble_one in place of md_assemble.
482 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
483 .bundle_lock at end of processing.
484 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
486 [HANDLE_BUNDLE] (potable): Add their entries.
487 * read.h: Declare new functions.
489 2012-03-10 Edmar Wienskoski <edmar@freescale.com>
491 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
492 (ppc_handle_align): Add termination nop opcode for e500mc family.
493 * doc/as.texinfo: Document options -me5500 and -me6500.
494 * doc/c-ppc.texi: Likewise.
496 2012-03-07 Nick Clifton <nickc@redhat.com>
498 * config/tc-mn10300.c (other_registers): Add SSP and USP.
499 (md_assemble): Add support for TLS relocs.
500 (mn10300_parse_name): Likewise.
502 2012-02-27 Alan Modra <amodra@gmail.com>
504 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
506 2012-02-27 Alan Modra <amodra@gmail.com>
508 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
509 params. Properly generate NOP pattern. Comment reason for
510 subseg_text_p failure.
512 2012-02-27 Alan Modra <amodra@gmail.com>
514 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
515 and sign extend before range tests.
516 (constant_fits_size_p): Similarly.
517 (get_specific): Trim X_add_number to 32 bits.
518 (fix_operand_size): Likewise, and use unsigned test for signed
521 2012-02-27 Alan Modra <amodra@gmail.com>
523 * config/tc-crx.c: Include bfd_stdint.h.
524 (getconstant): Remove irrelevant comment. Don't fail due to
525 sign-extension of int mask.
526 (check_range): Rewrite using unsigned arithmetic throughout.
528 2012-02-25 Walter Lee <walt@tilera.com>
530 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
531 non-local before checking sy_value.
532 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
534 2012-02-25 Walter Lee <walt@tilera.com>
536 * tc-tilepro.c (O_tls_le): Define operator.
537 (O_tls_le_lo16): Ditto.
538 (O_tls_le_hi16): Ditto.
539 (O_tls_le_ha16): Ditto.
540 (O_tls_gd_call): Ditto.
541 (O_tls_gd_add): Ditto.
542 (O_tls_ie_load): Ditto.
543 (md_begin): Delete old operators; handle new operators.
544 (emit_tilepro_instruction): Ditto.
545 (md_apply_fix): Ditto.
546 * tc-tilegx.c (O_hw1_got): Delete operator.
549 (O_hw2_last_got): Ditto.
550 (O_hw1_tls_gd): Ditto.
551 (O_hw2_tls_gd): Ditto.
552 (O_hw3_tls_gd): Ditto.
553 (O_hw2_last_tls_gd): Ditto.
554 (O_hw1_tls_ie): Ditto.
555 (O_hw2_tls_ie): Ditto.
556 (O_hw3_tls_ie): Ditto.
557 (O_hw2_last_tls_ie): Ditto.
558 (O_hw0_tls_le): Define operator.
559 (O_hw0_last_tls_le): Ditto.
560 (O_hw1_last_tls_le): Ditto.
561 (O_tls_gd_call): Ditto.
562 (O_tls_gd_add): Ditto.
563 (O_tls_ie_load): Ditto.
565 (md_begin): Delete old operators; handle new operators.
566 (emit_tilegx_instruction): Ditto.
567 (md_apply_fix): Ditto.
568 * doc/c-tilegx.texi: Delete old operators; document new operators.
569 * doc/c-tilepro.texi: Ditto.
571 2012-02-25 Walter Lee <walt@tilera.com>
573 * tc-tilepro.c (apply_special_operator): delete cases for
574 got and tls operators.
575 (md_apply_fix): Ditto.
576 * tc-tilegx.c (md_begin): Set architecture and machine.
577 (tilegx_target_format): Handle big endian.
580 (md_longopts): Add entries for "EB" and "EL".
581 (md_parse_option): Handle OPTION_EB and OPTION_EL.
582 (md_show_usage): Add -EB and -EL.
583 (md_number_to_chars): New.
584 (apply_special_operator): delete cases for got and tls
586 (md_apply_fix): Ditto.
587 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
589 (md_number_to_chars): Delete.
590 * configure.tgt (tilegx*be): Handle.
591 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
592 * doc/c-tilegx.texi: Ditto.
594 2012-02-21 H.J. Lu <hongjiu.lu@intel.com>
596 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
597 HLEPrefixAny and HLEPrefixRelease.
599 2012-02-21 Matthew Gretton-Dann <matthew.gretton-dann@arm.com>
601 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
603 2012-02-21 Iain Sandoe <idsandoe@googlemail.com>
605 * write.c (write_object_file): Add md_pre_output_hook.
606 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
607 (obj_mach_o_pre_output_hook): New.
608 * config/obj-macho.h (md_pre_output_hook): Define.
609 (obj_mach_o_pre_output_hook): Declare.
611 2012-02-21 Tristan Gingold <gingold@adacore.com>
613 * config/tc-i386.h (OBJ_MACH_O): New section.
614 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
615 (TC_FORCE_RELOCATION_SUB_SAME): New
616 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
617 (TC_VALIDATE_FIX_SUB): New.
618 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
619 * symbols.c (colon): obj_frob_colon: New hook.
620 * write.c (write_object_file): md_pre_relax_hook, new
622 * config/obj-macho.c (obj_mach_o_frob_colon): New.
623 (obj_mach_o_frob_label): Record sub-section labels.
624 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
625 (obj_mach_o_set_subsections): New.
626 (obj_mach_o_pre_relax_hook): New.
627 (obj_mach_o_in_different_subsection): New.
628 (obj_mach_o_force_reloc_sub_same): New.
629 (obj_mach_o_force_reloc_sub_local): New.
630 (obj_mach_o_force_reloc): New.
631 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
632 (obj_frob_colon): New Define.
633 (obj_mach_o_frob_label): Renamed.
634 (obj_mach_o_frob_symbol): Renamed.
635 (OBJ_FRAG_TYPE): New.
636 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
637 obj_mach_o_force_reloc_sub_same,
638 obj_mach_o_force_reloc_sub_local): New declarations.
640 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
642 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
643 (obj_mach_o_allow_local_subtract): New.
644 * config/obj-macho.h (md_allow_local_subtract): Define.
645 (obj_mach_o_allow_local_subtract): Declare.
647 2012-02-20 Iain Sandoe <idsandoe@googlemail.com>
649 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
650 canonical information, try to determine CODE and DEBUG section flags
651 from the mach-o section data.
653 2012-02-20 Nick Clifton <nickc@redhat.com>
655 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
658 2012-02-12 Iain Sandoe <idsandoe@googlemail.com>
660 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
661 any local symbol used as an indirect.
663 2012-02-10 Iain Sandoe <idsandoe@googlemail.com>
665 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
666 stub size when provided. (obj_mach_o_section): Flag that stub-size
669 2012-02-08 H.J. Lu <hongjiu.lu@intel.com>
671 * config/tc-i386.c (HLE_PREFIX): New.
672 (check_hle): Likewise.
673 (_i386_insn): Add have_hle.
674 (cpu_arch): Add .hle and .rtm.
675 (md_assemble): Call check_hle if i.have_hle isn't zero.
676 (parse_insn): Set i.have_hle to 1 for HLE prefix.
677 (output_jump): Support up to 2 byte opcode.
679 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
681 2012-02-02 Tristan Gingold <gingold@adacore.com>
683 * config/obj-macho.c (obj_mach_o_zerofill): Silent
684 uninitialized variable warning.
686 2012-02-02 Nick Clifton <nickc@redhat.com>
689 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
690 to 'is_clone' to avoid shadowing a gloabl.
691 (obj_elf_section): Likewise.
693 2012-01-31 Paul Brook <paul@codesourcery.com>
695 * doc/c-tic6x.c: Fix typo.
697 2012-01-26 Alexey Makhalov <makhaloff@gmail.com>
700 * app.c (app_push): Set 'add_newlines' to zero after saving.
702 2012-01-24 DJ Delorie <dj@redhat.com>
704 * config/rl78-parse.y (NOT1): Add.
706 2012-01-23 Roland McGrath <mcgrathr@google.com>
708 * configure.tgt (i386-*-nacl*): Match it.
709 * config/te-nacl.h: New file.
710 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
711 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
712 Use TE_GNU et al case for TE_NACL too.
714 2012-01-20 H.J. Lu <hongjiu.lu@intel.com>
716 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
718 (md_assemble): Updated.
719 (output_branch): Likewise.
720 (parse_insn): Support .d8 suffix.
721 (build_modrm_byte): Fake zero displacement for .d8 and .d32
724 * doc/c-i386.texi: Document .d8 suffix.
726 2012-01-17 Andrew Burgess <aburgess@broadcom.com>
728 * write.c (fix_new_internal): Don't mark used parameter as unused.
730 2012-01-17 Alan Modra <amodra@gmail.com>
732 * as.c (parse_args): Update copyright message year.
734 2012-01-13 H.J. Lu <hongjiu.lu@intel.com>
736 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
738 * doc/c-i386.texi: Document vmfunc.
740 2012-01-13 Tristan Gingold <gingold@adacore.com>
742 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
743 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
744 (obj_mach_o_reorder_section_relocs): Declare.
746 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
748 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
749 absolute indirect symbols.
751 2012-01-13 Iain Sandoe <idsandoe@googlemail.com>
753 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
754 (obj_mach_o_set_section_vma): New.
755 (obj_mach_o_post_relax_hook): New.
756 * config/obj-macho.h (md_post_relax_hook): Define.
757 (obj_mach_o_post_relax_hook): Declare.
759 2012-01-12 Iain Sandoe <idsandoe@googlemail.com>
761 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
762 lazy when the symbol is private_extern.
763 (obj_mach_o_indirect_sym): New type.
764 (obj_mach_o_indirect_symbol): New.
765 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
766 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
767 (obj_macho_frob_label): Likewise. Adjust external and comm
769 (obj_mach_o_set_indirect_symbols): New.
770 (obj_mach_o_frob_file_after_relocs): New.
771 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
772 (obj_mach_o_frob_file_after_relocs): Declare.
774 2012-01-12 Tristan Gingold <gingold@adacore.com>
777 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
779 2012-01-10 Tristan Gingold <gingold@adacore.com>
781 * struc-symbol.h (struct symbol_flags): New struct, created from...
782 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
783 (struct local_symbol): Replace lsy_marker field by lsy_flags.
785 (local_symbol_resolved_p): Adjust.
786 (local_symbol_mark_resolved): Likewise.
787 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
788 (local_symbol_make, local_symbol_convert, colon)
789 (symbol_clone_if_forward_ref, verify_symbol_chain)
790 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
791 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
792 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
793 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
794 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
795 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
796 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
797 (symbol_mark_mri_common, symbol_clear_mri_common)
798 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
799 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
800 (symbol_equated_reloc_p, dot_symbol_init)
801 (print_symbol_value_1): Adjust.
803 2012-01-09 Iain Sandoe <idsandoe@googlemail.com>
805 * config/obj-macho.c (obj_mach_o_weak): Remove.
806 (obj_mach_o_common_parse): Set symbol qualifiers.
807 (LAZY, REFE): New macros.
808 (obj_mach_o_symbol_type): New enum.
809 (obj_mach_o_set_symbol_qualifier): New.
810 (obj_mach_o_sym_qual): New.
811 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
813 (obj_mach_o_type_for_symbol): New.
814 (obj_macho_frob_label): New.
815 (obj_macho_frob_symbol): New.
816 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
817 (obj_frob_label, obj_macho_frob_label): Declare.
818 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
820 2012-01-08 Richard Sandiford <rdsandiford@googlemail.com>
822 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
824 2012-01-08 Andrew Pinski <andrew.pinski@caviumnetworks.com>
825 Richard Sandiford <rdsandiford@googlemail.com>
827 * config/tc-mips.c (mips_move_labels): Take the list of labels and
828 textness as parameters.
829 (mips_move_text_labels): New function.
830 (append_insn): Use it instead of mips_move_labels.
831 (mips_emit_delays, start_noreorder): Likewise.
832 (mips_align): Take the labels rather than just one label.
833 Move all labels to after the .align.
834 (s_align): Change the last argument to mips_align.
836 (s_float_cons): Likewise.
837 (s_gpword): Likewise.
838 (s_gpdword): Likewise.
840 2012-01-06 Tristan Gingold <gingold@adacore.com>
842 * config/tc-i386.c: Update copyright year.
843 (lex_got): Also defined for Mach-O.
844 Add a guard for non-ELF configuration.
845 (md_longopts): Also handle -64 for Mach-O.
846 (md_parse_option): Likewise.
847 (i386_target_format): Adjust for x86_64-darwin.
849 2012-01-04 Iain Sandoe <idsandoe@googlemail.com>
851 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
852 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
853 (obj_mach_o_make_or_get_sect): Likewise.
854 (obj_mach_o_section): Split out the functionality shared with zerofill.
855 (obj_mach_o_zerofill): New.
856 (obj_mach_o_common_parse): Ensure whitespace is skipped.
857 (mach_o_pseudo_table): Add .zerofill.
859 2012-01-03 Iain Sandoe <idsandoe@googlemail.com>
861 * config/obj-macho.c (obj_macho_process_stab): New.
862 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
863 (obj_macho_process_stab): Declare.
865 For older changes see ChangeLog-2011
871 version-control: never