3 * read.c (read_symbol_name): New function. Reads a symbol names.
4 Allows escape codes in names.
5 (s_comm_internal): Use read_symbol_name.
6 (s_globl, s_lsym, s_set, s_weakref): Likewise.
7 * doc/as.texinfo: Document support for multibyte characters in
12 * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
17 * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
18 targets when checking for "comdat".
22 * config/tc-dlx.c (s_proc): Don't use asprintf.
26 * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
32 * config/tc-ppc.c: Don't capitalise error and warning messages.
33 (md_parse_option): Add checks for -a32 -mvle.
37 * config/obj-evax.c: Include as.h first.
41 * aclocal.m4: Regenerate.
42 * configure: Regenerate.
43 * Makefile.in: Regenerate.
49 * configure.in: Add check that sysdep.h has been included before
50 any system header files.
51 * configure: Regenerate.
52 * config.in: Regenerate.
53 * aclocal.m4: Regenerate.
54 * Makefile.am: Use wrappers around C files generated by flex.
55 * Makefile.in: Regenerate.
56 * doc/Makefile.in: Regenerate.
57 * itbl-lex-wrapper.c: New file.
58 * config/bfin-lex-wrapper.c: New file.
59 * cgen.c: Include as.h before setjmp.h.
60 * config/tc-dlx.c: Include as.h before any other header.
61 * config/tc-h8300.c: Likewise.
62 * config/tc-lm32.c: Likewise.
63 * config/tc-mep.c: Likewise.
64 * config/tc-microblaze.c: Likewise.
65 * config/tc-mmix.c: Likewise.
66 * config/tc-msp430.c: Likewise.
67 * config/tc-or32.c: Likewise.
68 * config/tc-tic4x.c: Likewise.
69 * config/tc-tic54x.c: Likewise.
70 * config/tc-xtensa.c: Likewise.
74 * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
75 as the first argument for `bfd_get_section_vma'.
80 * app.c (do_scrub_chars): Prevent possible out of bounds access to
86 * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
88 (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
89 (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
94 * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
99 * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
100 Add option to offset S12 addresses into XGATE memory space.
101 Tweak target flags to match other tools. (i.e. -m m68hc11).
102 * doc/as.texinfo: Mention new options.
103 * doc/c-m68hc11.texi: Document new options.
104 * NEWS: Mention new support.
108 * config/rx-parse.y (rx_range): declare.
109 (O1,O2,O3,O4): Add calls to rx_range.
110 (UO1,UO2,UO3): Likewise.
111 (IMM2,IMMB): Likewise.
114 * config/tc-rx.c (rx_fetchalign): Declare.
115 (md_pseudo_table): Add .fetchalign.
116 (RX_NBASE_FETCHALIGN): New.
117 (fetchalign_bytes): New.
118 (rx_fetchalign): New.
119 (rx_frag_init): If a "magic" value is found, also init the
120 machine-specific data.
121 (md_assemble): Note following opcode size if called for.
122 (rx_next_opcode): New.
123 (rx_relax_frag): Support .fetchalign.
124 (md_convert_frag): Likewise.
125 * doc/c-rx.texi (RX-Directives): Add .fetchalign.
129 * config/tc-ppc.c (insn_validate): New func of existing code to call..
130 (ppc_setup_opcodes): ..from 2 places here.
131 Revise for second (VLE) opcode table.
132 Add #ifdef'd code to print opcode tables.
136 * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
137 for the VLE conditional branches.
143 * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
144 (PPC_VLE_SPLIT16D): New macro.
145 (PPC_VLE_LO16A): New macro.
146 (PPC_VLE_LO16D): New macro.
147 (PPC_VLE_HI16A): New macro.
148 (PPC_VLE_HI16D): New macro.
149 (PPC_VLE_HA16A): New macro.
150 (PPC_VLE_HA16D): New macro.
151 (PPC_APUINFO_VLE): New definition.
152 (md_chars_to_number): New function.
153 (md_parse_option): Check for combinations of little
155 (md_show_usage): Document -mvle.
156 (ppc_arch): Recognize VLE.
157 (ppc_mach): Recognize bfd_mach_ppc_vle.
158 (ppc_setup_opcodes): Print the opcode table if
159 * config/tc-ppc.h (ppc_frag_check): Declare.
160 * doc/c-ppc.texi: Document -mvle.
161 * NEWS: Mention PowerPC VLE port.
165 * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
166 (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
167 * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
168 * dwarf2dbg.c (scale_addr_delta): Handle values of 1
169 for DWARF2_LINE_MIN_INSN_LENGTH.
173 * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
179 * configure.in: Invoke ACX_HEADER_STRING.
180 * configure: Regenerate.
181 * config.in: Regenerate.
182 * as.h: If STRINGS_WITH_STRING is defined then include both
183 string.h and strings.h.
188 * config/tc-avr.c (exp_mod_pm): Remove variable.
189 (exp_mod_data_t): New typedef.
190 (pexp_mod_data, exp_mod_data): New variables.
191 (avr_parse_cons_expression): Scan through exp_mod_data[] to find
192 data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
193 and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
194 (avr_cons_fix_new): Handle new data expression modifiers shipped
196 (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
201 * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
202 addend overflow check.
206 * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
207 x32 addend overflow check.
211 * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
215 * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
220 * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
221 LC and LANG environment vars.
222 * Makefile.in: Regenerate.
226 * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
227 * Makefile.in: Regenerate.
231 * config/tc-z80.h(md_register_arithmetic): Define as 0.
232 * config/tc-z80.c(md_begin): Store register names in symbol table,
233 preventing usage as ordinary symbol.
234 * config/tc-z80.c(contains_register): New function.
235 * config/tc-z80.c(parse_exp2): Removed.
236 * config/tc-z80.c(parse_exp_not_indexed): New function.
237 * config/tc-z80.c(parse_exp): Add code to recogize indexed
238 addressing after parsing.
239 * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
240 * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
241 condition for jump to register.
242 * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
243 parse_exp_not_indexed.
247 * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
248 bfd_und_section and bfd_ind_section with their _ptr variants, or
249 use corresponding bfd_is_* macros.
250 * symbols.c: Likewise.
251 * config/obj-aout.c: Likewise.
252 * config/obj-coff-seh.h: Likewise.
253 * config/tc-hppa.c: Likewise.
254 * config/tc-hppa.h: Likewise.
255 * config/tc-ia64.c: Likewise.
256 * config/tc-m32r.c: Likewise.
257 * config/tc-microblaze.c: Likewise.
258 * config/tc-mips.c: Likewise.
259 * config/tc-score.c: Likewise.
260 * config/tc-score7.c: Likewise.
261 * config/tc-tic6x.c: Likewise.
265 * configure.tgt: Support x86_64-*-linux-gnux32.
269 * config/tc-i386.c (match_template): Add `instruction' to
270 unsupported error message.
274 * config/tc-i386.c (output_insn): Reformat.
278 * config/tc-i386.c (output_insn): Remove the extra VEX check.
282 * config/tc-i386.c (match_template): Improve unsupported error
287 * configure, Makefile.in: Regenerate.
288 * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
289 * configure.tgt: Added cpu type.
290 Added files for XGATE assembler.
291 * config/tc-xgate.c: Assembler for XGATE.
292 * config/tc-xgate.h: Header definition for assembler
293 Added files for XGATE testsuite.
294 * doc/Makefile.am (CPU_DOCS): Added XGATE file.
295 * doc/c-xgate.texi: Document XGATE and XGATE port.
296 * doc/as.texinfo: Ditto.
297 * doc/all.texi: Ditto
298 * NEWS: Mention the new support.
302 * config/rx-parse.y (rx_intop): Add parameter for operation size.
303 Check for large positive constants really being small negative
305 (BRA, BSR): Update calls to rx_intop.
306 (immediate): Likewise.
310 * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
311 (DWARF2_LINE_VERSION): Likewise.
312 (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
313 (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
314 (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
316 (out_debug_info): Use difference between start and end as data
317 value for DW_AT_high_pc when DWARF2_VERSION >= 4.
318 * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
322 * doc/c-sparc.text: Document %l34 and %h34.
324 * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
326 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
327 v8pluse, v8plusv, v9e, and v9v.
328 (v9a_asr_table): Add 'pause'.
330 * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
331 sparc4, v8pluse, v8plusv, v9e, and v9v.
332 (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
333 order to accomodate cbcond which otherwise would require two
334 relocations to be handled in a single instruction..
336 * config/tc-sparc.c (sparc_ip): Likewise. Accept instruction
337 names containing "_".
338 (sparc_arch_table): Add sparc4, v8pluse, and v9e. Add crypto
339 hwcap masks to v8plusv and v9v.
341 * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
343 (sparc_md_end): No longer need to translate hwcap_seen values into
344 ELF hwcap bits, they now match exactly.
345 (get_hwcap_name): Use HWCAP_* and handle new values.
346 (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
350 * config/tc-ia64.c (obj_elf_vms_common): New function.
351 (md_pseudo_table): Add .vms_common pseudo.
352 * config/obj-elf.h (obj_elf_section_name): Add a prototype.
353 * config/obj-elf.c (obj_elf_section_name): Make it public.
357 * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
361 * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
363 (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
364 (tc_gen_reloc): Likewise.
368 * configure.tgt (arm-*-nacl*): Match it.
369 * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
370 (LOCAL_LABELS_DOLLAR): Define.
371 * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
372 Use nacl format variants.
377 * config/tc-arm.c (only_one_reg_in_list): New function.
378 (encode_ldmstm): Ditto.
379 (do_ldmstm): Use a different encoding when pushing or poping
381 (A_COND_MASK): New macro.
382 (A_PUSH_POP_OP_MASK): Ditto.
383 (A1_OPCODE_PUSH): Ditto.
384 (A2_OPCODE_PUSH): Ditto.
385 (A2_OPCODE_POP): Ditto.
389 * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
394 * configure.in (AC_CHECK_HEADERS): Add locale.h.
395 * config.in: Regenerate.
396 * configure: Regenerate.
400 * configure.in (AC_CHECK_FUNCS): Add setlocale.
401 (AM_LC_MESSAGES): Add.
402 * aclocal.m4: Regenerate.
403 * config.in: Regenerate.
404 * configure: Regenerate.
408 * config/rx-parse.y: Make the .L optional for ADC and SBB.
412 * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
414 (IMM): New, call IMM_ with the default 32.
415 (IMMW,IMMB): Likewise, for 16 and 8.
416 (NIMM, MBIMM): Add size parameter.
417 (immediate): Likewise. Allow 32768..65535 for 16-bit transfers.
418 (MOV.W): Use IMMW instead of IMM.
420 * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
422 (op_dp20_rim_l): New.
424 * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
425 (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
429 * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
430 * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
434 * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
435 * doc/c-mips.texi: Mention XLP.
439 [SH] Support the .uaquad and .8byte directives also for non-sh64
442 * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
444 * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
446 * doc/c-sh.texi (SH Machine Directives): ... here.
450 * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
453 (arm_opcode_insns): Do not default to using the FPSCR register in
454 the VMRS and VMSR registers.
458 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
459 Define for this case.
460 * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
464 * config/tc-arm.c (aeabi_set_public_attributes): Correct
465 handling of Tag_DIV_use.
469 * doc/as.texinfo (Bundle directives): Fix typo.
473 * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
477 * config/tc-arm.c (arm_frag_max_var): New function.
478 * config/tc-arm.h: Declare it.
479 (md_frag_max_var): New macro.
481 * config/tc-i386.c (i386_frag_max_var): New function.
482 * config/tc-i386.h: Declare it.
483 (md_frag_max_var): New macro.
485 * doc/as.texinfo (Bundle directives): New node.
486 (Pseudo Ops): Add it to the menu.
487 * NEWS: Mention new feature.
488 * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
489 [HANDLE_BUNDLE] (bundle_align_p2): New variable.
490 [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
491 [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
493 (assemble_one): New function if [HANDLE_BUNDLE], #define directly
494 to md_assembly if not.
495 (read_a_source_file): Call assemble_one in place of md_assemble.
496 (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
497 .bundle_lock at end of processing.
498 [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
500 [HANDLE_BUNDLE] (potable): Add their entries.
501 * read.h: Declare new functions.
505 * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
506 (ppc_handle_align): Add termination nop opcode for e500mc family.
507 * doc/as.texinfo: Document options -me5500 and -me6500.
508 * doc/c-ppc.texi: Likewise.
512 * config/tc-mn10300.c (other_registers): Add SSP and USP.
513 (md_assemble): Add support for TLS relocs.
514 (mn10300_parse_name): Likewise.
518 * config/tc-crx.c (check_range): Correct uint32_t misconceptions.
522 * config/tc-tic4x.c (tic4x_do_align): Remove ATTRIBUTE_UNUSED on
523 params. Properly generate NOP pattern. Comment reason for
524 subseg_text_p failure.
528 * config/tc-h8300.c (constant_fits_width_p): Trim constant to 32 bits
529 and sign extend before range tests.
530 (constant_fits_size_p): Similarly.
531 (get_specific): Trim X_add_number to 32 bits.
532 (fix_operand_size): Likewise, and use unsigned test for signed
537 * config/tc-crx.c: Include bfd_stdint.h.
538 (getconstant): Remove irrelevant comment. Don't fail due to
539 sign-extension of int mask.
540 (check_range): Rewrite using unsigned arithmetic throughout.
544 * tc-tilepro.c (emit_tilepro_instruction): Check if symbol is
545 non-local before checking sy_value.
546 * tc-tilegx.c (emit_tilegx_instruction): Ditto.
550 * tc-tilepro.c (O_tls_le): Define operator.
551 (O_tls_le_lo16): Ditto.
552 (O_tls_le_hi16): Ditto.
553 (O_tls_le_ha16): Ditto.
554 (O_tls_gd_call): Ditto.
555 (O_tls_gd_add): Ditto.
556 (O_tls_ie_load): Ditto.
557 (md_begin): Delete old operators; handle new operators.
558 (emit_tilepro_instruction): Ditto.
559 (md_apply_fix): Ditto.
560 * tc-tilegx.c (O_hw1_got): Delete operator.
563 (O_hw2_last_got): Ditto.
564 (O_hw1_tls_gd): Ditto.
565 (O_hw2_tls_gd): Ditto.
566 (O_hw3_tls_gd): Ditto.
567 (O_hw2_last_tls_gd): Ditto.
568 (O_hw1_tls_ie): Ditto.
569 (O_hw2_tls_ie): Ditto.
570 (O_hw3_tls_ie): Ditto.
571 (O_hw2_last_tls_ie): Ditto.
572 (O_hw0_tls_le): Define operator.
573 (O_hw0_last_tls_le): Ditto.
574 (O_hw1_last_tls_le): Ditto.
575 (O_tls_gd_call): Ditto.
576 (O_tls_gd_add): Ditto.
577 (O_tls_ie_load): Ditto.
579 (md_begin): Delete old operators; handle new operators.
580 (emit_tilegx_instruction): Ditto.
581 (md_apply_fix): Ditto.
582 * doc/c-tilegx.texi: Delete old operators; document new operators.
583 * doc/c-tilepro.texi: Ditto.
587 * tc-tilepro.c (apply_special_operator): delete cases for
588 got and tls operators.
589 (md_apply_fix): Ditto.
590 * tc-tilegx.c (md_begin): Set architecture and machine.
591 (tilegx_target_format): Handle big endian.
594 (md_longopts): Add entries for "EB" and "EL".
595 (md_parse_option): Handle OPTION_EB and OPTION_EL.
596 (md_show_usage): Add -EB and -EL.
597 (md_number_to_chars): New.
598 (apply_special_operator): delete cases for got and tls
600 (md_apply_fix): Ditto.
601 * tc-tilegx.h (TARGET_BYTES_BIG_ENDIAN): Guard definition with
603 (md_number_to_chars): Delete.
604 * configure.tgt (tilegx*be): Handle.
605 * doc/as.texinfo [TILE-Gx]: Document -EB and -EL.
606 * doc/c-tilegx.texi: Ditto.
610 * config/tc-i386.c (check_hle): Use HLEPrefixNone, HLEPrefixLock,
611 HLEPrefixAny and HLEPrefixRelease.
615 * gas/config/tc-arm.h (DOUBLESLASH_LINE_COMMENTS): Define.
619 * write.c (write_object_file): Add md_pre_output_hook.
620 * config/obj-macho.c (obj_mach_o_check_before_writing): New.
621 (obj_mach_o_pre_output_hook): New.
622 * config/obj-macho.h (md_pre_output_hook): Define.
623 (obj_mach_o_pre_output_hook): Declare.
627 * config/tc-i386.h (OBJ_MACH_O): New section.
628 (TC_FORCE_RELOCATION): Use obj_mach_o_force_reloc.
629 (TC_FORCE_RELOCATION_SUB_SAME): New
630 (TC_FORCE_RELOCATION_SUB_LOCAL): New.
631 (TC_VALIDATE_FIX_SUB): New.
632 * frags.h (struct frag): OBJ_FRAG_TYPE, new field.
633 * symbols.c (colon): obj_frob_colon: New hook.
634 * write.c (write_object_file): md_pre_relax_hook, new
636 * config/obj-macho.c (obj_mach_o_frob_colon): New.
637 (obj_mach_o_frob_label): Record sub-section labels.
638 (obj_mach_o_frob_symbol): Rename from obj_macho_frob_symbol.
639 (obj_mach_o_set_subsections): New.
640 (obj_mach_o_pre_relax_hook): New.
641 (obj_mach_o_in_different_subsection): New.
642 (obj_mach_o_force_reloc_sub_same): New.
643 (obj_mach_o_force_reloc_sub_local): New.
644 (obj_mach_o_force_reloc): New.
645 * config/obj-macho.h (OBJ_SYMFIELD_TYPE): New.
646 (obj_frob_colon): New Define.
647 (obj_mach_o_frob_label): Renamed.
648 (obj_mach_o_frob_symbol): Renamed.
649 (OBJ_FRAG_TYPE): New.
650 (obj_mach_o_in_different_subsection, obj_mach_o_force_reloc,
651 obj_mach_o_force_reloc_sub_same,
652 obj_mach_o_force_reloc_sub_local): New declarations.
656 * config/obj-macho.c (obj_mach_o_is_frame_section): New.
657 (obj_mach_o_allow_local_subtract): New.
658 * config/obj-macho.h (md_allow_local_subtract): Define.
659 (obj_mach_o_allow_local_subtract): Declare.
663 * config/obj-macho.c (obj_mach_o_make_or_get_sect): In the absence of
664 canonical information, try to determine CODE and DEBUG section flags
665 from the mach-o section data.
669 * cgen.c (gas_cgen_parse_operand): Do not set BSF_RELC flag on
674 * config/obj-macho.c (obj_mach_o_indirect_symbol): Force promotion of
675 any local symbol used as an indirect.
679 * config/obj-macho.c (obj_mach_o_make_or_get_sect): Always fill in
680 stub size when provided. (obj_mach_o_section): Flag that stub-size
685 * config/tc-i386.c (HLE_PREFIX): New.
686 (check_hle): Likewise.
687 (_i386_insn): Add have_hle.
688 (cpu_arch): Add .hle and .rtm.
689 (md_assemble): Call check_hle if i.have_hle isn't zero.
690 (parse_insn): Set i.have_hle to 1 for HLE prefix.
691 (output_jump): Support up to 2 byte opcode.
693 * doc/c-i386.texi: Document hle/.hle and rtm/.rtm.
697 * config/obj-macho.c (obj_mach_o_zerofill): Silent
698 uninitialized variable warning.
703 * config/obj-elf.c (obj_elf_parse_section_letters): Rename 'clone'
704 to 'is_clone' to avoid shadowing a gloabl.
705 (obj_elf_section): Likewise.
709 * doc/c-tic6x.c: Fix typo.
714 * app.c (app_push): Set 'add_newlines' to zero after saving.
718 * config/rl78-parse.y (NOT1): Add.
722 * configure.tgt (i386-*-nacl*): Match it.
723 * config/te-nacl.h: New file.
724 * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT): Define for this case.
725 * config/tc-i386.c [TE_NACL] (i386_comment_chars, PREFIX_SEPARATOR):
726 Use TE_GNU et al case for TE_NACL too.
730 * config/tc-i386.c (_i386_insn): Replace disp32_encoding with
732 (md_assemble): Updated.
733 (output_branch): Likewise.
734 (parse_insn): Support .d8 suffix.
735 (build_modrm_byte): Fake zero displacement for .d8 and .d32
738 * doc/c-i386.texi: Document .d8 suffix.
742 * write.c (fix_new_internal): Don't mark used parameter as unused.
746 * as.c (parse_args): Update copyright message year.
750 * config/tc-i386.c (cpu_arch): Add ".vmfunc".
752 * doc/c-i386.texi: Document vmfunc.
756 * config/obj-macho.c (obj_mach_o_reorder_section_relocs): New.
757 * config/obj-macho.h (SET_SECTION_RELOCS): Define.
758 (obj_mach_o_reorder_section_relocs): Declare.
762 * config/obj-macho.c (obj_mach_o_set_indirect_symbols): Handle
763 absolute indirect symbols.
767 * config/obj-macho.c (obj_mach_o_set_vma_data): New type.
768 (obj_mach_o_set_section_vma): New.
769 (obj_mach_o_post_relax_hook): New.
770 * config/obj-macho.h (md_post_relax_hook): Define.
771 (obj_mach_o_post_relax_hook): Declare.
775 * config/obj-macho.c (obj_mach_o_set_symbol_qualifier): Switch off
776 lazy when the symbol is private_extern.
777 (obj_mach_o_indirect_sym): New type.
778 (obj_mach_o_indirect_symbol): New.
779 (mach_o_pseudo_table): Use obj_mach_o_indirect_symbol.
780 (obj_macho_frob_label): Adjust to avoid adding bsyms for locals.
781 (obj_macho_frob_label): Likewise. Adjust external and comm
783 (obj_mach_o_set_indirect_symbols): New.
784 (obj_mach_o_frob_file_after_relocs): New.
785 *config/obj-macho.h (obj_frob_file_after_relocs): Define.
786 (obj_mach_o_frob_file_after_relocs): Declare.
791 * config/obj-coff.h (sy_obj): Rename macro to avoid a name conflict.
795 * struc-symbol.h (struct symbol_flags): New struct, created from...
796 (struct symbol): ... this one. Add sy_flags field, remove flag fields.
797 (struct local_symbol): Replace lsy_marker field by lsy_flags.
799 (local_symbol_resolved_p): Adjust.
800 (local_symbol_mark_resolved): Likewise.
801 * symbols.c (LOCAL_SYMBOL_CHECK): Adjust.
802 (local_symbol_make, local_symbol_convert, colon)
803 (symbol_clone_if_forward_ref, verify_symbol_chain)
804 (resolve_symbol_value, snapshot_symbol, S_GET_VALUE)
805 (S_IS_WEAKREFR, S_IS_WEAKREFD, S_IS_VOLATILE, S_IS_FORWARD_REF)
806 (S_SET_WEAKREFR, S_CLEAR_WEAKREFR, S_SET_WEAKREFD)
807 (S_CLEAR_WEAKREFD, S_SET_VOLATILE, S_CLEAR_VOLATILE)
808 (S_SET_FORWARD_REF, symbol_same_p, symbol_mark_used)
809 (symbol_clear_used, symbol_used_p, symbol_mark_used_in_reloc)
810 (symbol_clear_used_in_reloc, symbol_used_in_reloc_p)
811 (symbol_mark_mri_common, symbol_clear_mri_common)
812 (symbol_mri_common_p, symbol_mark_written, symbol_clear_written)
813 (symbol_written_p, symbol_mark_resolved, symbol_resolved_p)
814 (symbol_equated_reloc_p, dot_symbol_init)
815 (print_symbol_value_1): Adjust.
819 * config/obj-macho.c (obj_mach_o_weak): Remove.
820 (obj_mach_o_common_parse): Set symbol qualifiers.
821 (LAZY, REFE): New macros.
822 (obj_mach_o_symbol_type): New enum.
823 (obj_mach_o_set_symbol_qualifier): New.
824 (obj_mach_o_sym_qual): New.
825 (mach_o_pseudo_table): Add symbol qualifiers, set indirect_symbol to
827 (obj_mach_o_type_for_symbol): New.
828 (obj_macho_frob_label): New.
829 (obj_macho_frob_symbol): New.
830 * config/obj-macho.h (S_SET_ALIGN): Amend temorary var name.
831 (obj_frob_label, obj_macho_frob_label): Declare.
832 (obj_frob_symbol, obj_macho_frob_symbol): Declare.
836 * config/tc-mips.c (s_tls_rel_directive): Call mips_clear_insn_labels.
841 * config/tc-mips.c (mips_move_labels): Take the list of labels and
842 textness as parameters.
843 (mips_move_text_labels): New function.
844 (append_insn): Use it instead of mips_move_labels.
845 (mips_emit_delays, start_noreorder): Likewise.
846 (mips_align): Take the labels rather than just one label.
847 Move all labels to after the .align.
848 (s_align): Change the last argument to mips_align.
850 (s_float_cons): Likewise.
851 (s_gpword): Likewise.
852 (s_gpdword): Likewise.
856 * config/tc-i386.c: Update copyright year.
857 (lex_got): Also defined for Mach-O.
858 Add a guard for non-ELF configuration.
859 (md_longopts): Also handle -64 for Mach-O.
860 (md_parse_option): Likewise.
861 (i386_target_format): Adjust for x86_64-darwin.
865 * config/obj-macho.c (obj_mach_o_segT_from_bfd_name): Tidy definition.
866 (obj_mach_o_get_section_names): New (split from obj_mach_o_section).
867 (obj_mach_o_make_or_get_sect): Likewise.
868 (obj_mach_o_section): Split out the functionality shared with zerofill.
869 (obj_mach_o_zerofill): New.
870 (obj_mach_o_common_parse): Ensure whitespace is skipped.
871 (mach_o_pseudo_table): Add .zerofill.
875 * config/obj-macho.c (obj_macho_process_stab): New.
876 * config/obj-macho.h (OBJ_PROCESS_STAB): Define.
877 (obj_macho_process_stab): Declare.
879 For older changes see ChangeLog-2011
885 version-control: never