Allocate sufficient space for string buffer
[deliverable/binutils-gdb.git] / gas / ChangeLog
index f60f94b2040043711c0249581980f7549945611d..62705c2630612bb5abe878df7fe99101c7c6fb90 100644 (file)
@@ -1,3 +1,568 @@
+2012-06-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * input-scrub.c (input_scrub_include_sb): Use sb_build to
+       allocate sufficient space for from_sb.  Use sb_terminate to
+       terminate string.
+       * read.c (read_a_source_file): Use sb_build to allocate
+       sufficient space and replace sb_add_string with sb_add_buffer.
+       (s_macro): Likewise.
+       (input_scrub_insert_line): Likewise.
+       (s_irp): Use sb_build to allocate sufficient space.
+       (do_repeat): Use sb_build to allocate sufficient space
+       for many.
+       * sb.c (sb_build): Remove static.
+       * sb.h (sb_build): New prototype.
+
+2012-06-09  Alan Modra  <amodra@gmail.com>
+
+       * sb.c: Include limits.h.
+       (dsize): Delete.
+       (MALLOC_OVERHEAD, INIT_ALLOC): Define.
+       (sb_new): Use INIT_ALLOC.
+       (sb_check): Modify allocation strategy using MALLOC_OVERHEAD.
+       (sb_terminate): Don't use sb_add_char.
+
+2012-06-07  Alan Modra  <amodra@gmail.com>
+
+       PR gas/14201
+       * sb.h (sb_max_power_two): Delete.
+       (struct sb): Delete "item" and "pot".  Make "len" a size_t.  Add "max".
+       (sb_element): Delete.
+       (sb_add_char, sb_add_buffer, sb_skip_comma, sb_skip_write): Update
+       prototypes.
+       * sb.c (string_count, free_list): Delete.
+       (sb_build, sb_kill, sb_check): Rewrite.
+       (scrub_from_sb, sb_add_char, sb_add_string, sb_add_buffer,
+       sb_skip_white, sb_skip_comma): Replace assorted int params,
+       vars and return types with size_t.
+       * input-scrub.c: Likewise.
+       * macro.c: Likewise.
+       * macro.h: Likewise.
+       * as.c: Likewise.
+       * as.h: Likewise.
+       * input-file.h: Likewise.
+       * input-file.c: Likewise.
+       * read.c: Likewise.
+       * app.c: ..or ptrdiff_t.
+       * input-file.c (input_file_get): Use ferror.
+       (input_file_give_next_buffer): Use input_file_get.
+
+2012-05-29  Roland McGrath  <mcgrathr@google.com>
+
+       * read.c [HANDLE_BUNDLE] (bundle_lock_depth): New variable.
+       (read_a_source_file) [HANDLE_BUNDLE]: Reset it.
+       [HANDLE_BUNDLE] (s_bundle_lock, s_bundle_unlock): Allow nested
+       pairs.
+
+2012-05-28  Nick Clifton  <nickc@redhat.com>
+
+       * read.c (read_symbol_name): New function.  Reads a symbol names.
+       Allows escape codes in names.
+       (s_comm_internal): Use read_symbol_name.
+       (s_globl, s_lsym, s_set, s_weakref): Likewise.
+       * doc/as.texinfo: Document support for multibyte characters in
+       symbol names.
+
+2012-05-21  Mike Frysinger  <vapier@gentoo.org>
+
+       * config/tc-mips.c (mips_after_parse_args): Assert that arch_info
+       is non-NULL.
+
+2012-05-19  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-elf.c (obj_elf_section): Cater for TC_KEEP_OPERAND_SPACES
+       targets when checking for "comdat".
+
+2012-05-19  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-dlx.c (s_proc): Don't use asprintf.
+
+2012-05-18  Alan Modra  <amodra@gmail.com>
+
+       * config/tc-dlx.c (s_proc): Avoid warning about ignoring asprintf
+       return value.
+
+2012-05-18  James Lemke  <jwlemke@codesourcery.com>
+           Alan Modra  <amodra@gmail.com>
+
+       * config/tc-ppc.c: Don't capitalise error and warning messages.
+       (md_parse_option): Add checks for -a32 -mvle.
+
+2012-05-18  Alan Modra  <amodra@gmail.com>
+
+       * config/obj-evax.c: Include as.h first.
+
+2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
+
+       * aclocal.m4: Regenerate.
+       * configure: Regenerate.
+       * Makefile.in: Regenerate.
+
+2012-05-17  Daniel Richard G.  <skunk@iskunk.org>
+           Nick Clifton  <nickc@redhat.com>
+
+       PR 14072
+       * configure.in: Add check that sysdep.h has been included before
+       any system header files.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * aclocal.m4: Regenerate.
+       * Makefile.am: Use wrappers around C files generated by flex.
+       * Makefile.in: Regenerate.
+       * doc/Makefile.in: Regenerate.
+       * itbl-lex-wrapper.c: New file.
+       * config/bfin-lex-wrapper.c: New file.
+       * cgen.c: Include as.h before setjmp.h.
+       * config/tc-dlx.c: Include as.h before any other header.
+       * config/tc-h8300.c: Likewise.
+       * config/tc-lm32.c: Likewise.
+       * config/tc-mep.c: Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mmix.c: Likewise.
+       * config/tc-msp430.c: Likewise.
+       * config/tc-or32.c: Likewise.
+       * config/tc-tic4x.c: Likewise.
+       * config/tc-tic54x.c: Likewise.
+       * config/tc-xtensa.c: Likewise.
+
+2012-05-16  Sergio Durigan Junior  <sergiodj@redhat.com>
+
+       * config/tc-alpha.c (maybe_set_gp): Pass proper `bfd'
+       as the first argument for `bfd_get_section_vma'.
+
+2012-05-16  Alberto Garcia  <agarcia@igalia.com>
+
+       PR gas/14082
+       * app.c (do_scrub_chars): Prevent possible out of bounds access to
+       lex[] array.
+
+2012-05-16  Georg-Johann Lay  <avr@gjlay.de>
+
+       PR target/13503
+       * config/tc-avr.c (avr_cons_fix_new): Rename R_AVR_8_HHI8 to
+       R_AVR_8_HLO8.
+       (exp_mod_data) Ditto. And replace "hhi8" with "hlo8".
+       (md_apply_fix): Rename BFD_RELOC_AVR_8_HHI to BFD_RELOC_AVR_8_HLO.
+
+2012-05-16  Nathan Sidwell  <nathan@codesourcery.com>
+           Kwok Cheung Yeung  <kcy@codesourcery.com>
+
+       * config/tc-m68k.c (m68k_cpus): Add 51ag, 51je, 51jf, 51jg, 51mm,
+       51qm variants.
+
+2012-05-15  James Murray <jsm@jsm-net.demon.co.uk>
+
+       * config/tc-m68hc11.c: Add S12X and XGATE co-processor support.
+       Add option to offset S12 addresses into XGATE memory space.
+       Tweak target flags to match other tools. (i.e. -m m68hc11).
+       * doc/as.texinfo: Mention new options.
+       * doc/c-m68hc11.texi: Document new options.
+       * NEWS: Mention new support.
+
+2012-05-14  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y (rx_range): declare.
+       (O1,O2,O3,O4): Add calls to rx_range.
+       (UO1,UO2,UO3): Likewise.
+       (IMM2,IMMB): Likewise.
+       (rx_range): New.
+
+       * config/tc-rx.c (rx_fetchalign): Declare.
+       (md_pseudo_table): Add .fetchalign.
+       (RX_NBASE_FETCHALIGN): New.
+       (fetchalign_bytes): New.
+       (rx_fetchalign): New.
+       (rx_frag_init): If a "magic" value is found, also init the
+       machine-specific data.
+       (md_assemble): Note following opcode size if called for.
+       (rx_next_opcode): New.
+       (rx_relax_frag): Support .fetchalign.
+       (md_convert_frag): Likewise.
+       * doc/c-rx.texi (RX-Directives): Add .fetchalign.
+
+2012-05-14  James Lemke  <jwlemke@codesourcery.com>
+
+       * config/tc-ppc.c (insn_validate): New func of existing code to call..
+       (ppc_setup_opcodes): ..from 2 places here.
+       Revise for second (VLE) opcode table.
+       Add #ifdef'd code to print opcode tables.
+
+2012-05-14  James Lemke  <jwlemke@codesourcery.com>
+
+       * config/tc-ppc.c (ppc_setup_opcodes): Allow out-of-order
+       for the VLE conditional branches.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+           Maciej W. Rozycki  <macro@codesourcery.com>
+           Rhonda Wittels  <rhonda@codesourcery.com>
+
+       * config/tc-ppc.c (PPC_VLE_SPLIT16A): New macro.
+       (PPC_VLE_SPLIT16D): New macro.
+       (PPC_VLE_LO16A): New macro.
+       (PPC_VLE_LO16D): New macro.
+       (PPC_VLE_HI16A): New macro.
+       (PPC_VLE_HI16D): New macro.
+       (PPC_VLE_HA16A): New macro.
+       (PPC_VLE_HA16D): New macro.
+       (PPC_APUINFO_VLE): New definition.
+       (md_chars_to_number): New function.
+       (md_parse_option): Check for combinations of little
+       endian and -mvle.
+       (md_show_usage): Document -mvle.
+       (ppc_arch): Recognize VLE.
+       (ppc_mach): Recognize bfd_mach_ppc_vle.
+       (ppc_setup_opcodes): Print the opcode table if
+       * config/tc-ppc.h (ppc_frag_check): Declare.
+       * doc/c-ppc.texi: Document -mvle.
+       * NEWS:  Mention PowerPC VLE port.
+
+2012-05-14  Catherine Moore  <clm@codesourcery.com>
+
+       * config/tc-ppc.h (ppc_dw2_line_min_insn_length): Declare.
+       (DWARF2_LINE_MIN_INSN_LENGTH): Redefine.
+       * config/tc-ppc.c (ppc_dw2_line_min_insn_length): New.
+       * dwarf2dbg.c (scale_addr_delta): Handle values of 1
+       for DWARF2_LINE_MIN_INSN_LENGTH.
+
+2012-05-12  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Remove x32 addend overflow
+       for BFD_RELOC_64.
+
+2012-05-11  Daniel Richard G.  <skunk@iskunk.org>
+
+       PR binutils/14028
+       * configure.in: Invoke ACX_HEADER_STRING.
+       * configure: Regenerate.
+       * config.in: Regenerate.
+       * as.h: If STRINGS_WITH_STRING is defined then include both
+       string.h and strings.h.
+
+2012-05-11  Georg-Johann Lay  <avr@gjlay.de
+
+       PR target/13503
+       * config/tc-avr.c (exp_mod_pm): Remove variable.
+       (exp_mod_data_t): New typedef.
+       (pexp_mod_data, exp_mod_data): New variables.
+       (avr_parse_cons_expression): Scan through exp_mod_data[] to find
+       data expression modifiers "pm", "gs", "lo8", hi8", "hhi8", "hh8"
+       and set pexp_mod_data accordingly to be used in avr_cons_fix_new.
+       (avr_cons_fix_new): Handle new data expression modifiers shipped
+       in pexp_mod_data.
+       (md_apply_fix): Handle BFD_RELOC_AVR_8_LO, BFD_RELOC_AVR_8_HI,
+       BFD_RELOC_AVR_8_HHI.
+
+2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Use bfd_signed_vma in x32
+       addend overflow check.
+
+2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Display signed hex number in
+       x32 addend overflow check.
+
+2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Use fits_in_signed_long.
+
+2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (tc_gen_reloc): Check x32 addend overflow
+       for BFD_RELOC_64.
+
+2012-05-08  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (check_DEJAGNU): Export LC_ALL=C in place of other
+       LC and LANG environment vars.
+       * Makefile.in: Regenerate.
+
+2012-05-07  Alan Modra  <amodra@gmail.com>
+
+       * Makefile.am (check-DEJAGNU): Clear LC_COLLATE, LC_ALL and LANG.
+       * Makefile.in: Regenerate.
+
+2012-05-06  Arnold Metselaar <arnold_m@operamail.com>
+
+       * config/tc-z80.h(md_register_arithmetic): Define as 0.
+       * config/tc-z80.c(md_begin): Store register names in symbol table,
+       preventing usage as ordinary symbol.
+       * config/tc-z80.c(contains_register): New function.
+       * config/tc-z80.c(parse_exp2): Removed.
+       * config/tc-z80.c(parse_exp_not_indexed): New function.
+       * config/tc-z80.c(parse_exp): Add code to recogize indexed
+       addressing after parsing.
+       * config/tc-z80.c(emit_byte, emit_word): Use contains_register.
+       * config/tc-z80.c(emit_jp): Use parse_exp_not_indexed, simplify
+       condition for jump to register.
+       * config/tc-z80.c(emit_call, emit_jr, emit_ex, emit_rst): Use
+       parse_exp_not_indexed.
+
+2012-05-05  Alan Modra  <amodra@gmail.com>
+
+       * ecoff.c: Replace all uses of bfd_abs_section, bfd_com_section,
+       bfd_und_section and bfd_ind_section with their _ptr variants, or
+       use corresponding bfd_is_* macros.
+       * symbols.c: Likewise.
+       * config/obj-aout.c: Likewise.
+       * config/obj-coff-seh.h: Likewise.
+       * config/tc-hppa.c: Likewise.
+       * config/tc-hppa.h: Likewise.
+       * config/tc-ia64.c: Likewise.
+       * config/tc-m32r.c: Likewise.
+       * config/tc-microblaze.c: Likewise.
+       * config/tc-mips.c: Likewise.
+       * config/tc-score.c: Likewise.
+       * config/tc-score7.c: Likewise.
+       * config/tc-tic6x.c: Likewise.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * configure.tgt: Support x86_64-*-linux-gnux32.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Add `instruction' to
+       unsupported error message.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (output_insn): Reformat.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (output_insn): Remove the extra VEX check.
+
+2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
+
+       * config/tc-i386.c (match_template): Improve unsupported error
+       message.
+
+2012-05-03  Sean Keys  <skeys@ipdatasys.com>
+
+       * configure, Makefile.in: Regenerate.
+       * Makefile.am (CPU_TYPES, TARGET_CPU_CFILES, TARGET_CPU_HFILES):
+       * configure.tgt: Added cpu type.
+       Added files for XGATE assembler.
+       * config/tc-xgate.c: Assembler for XGATE.
+       * config/tc-xgate.h: Header definition for assembler
+       Added files for XGATE testsuite.
+       * doc/Makefile.am (CPU_DOCS): Added XGATE file.
+       * doc/c-xgate.texi: Document XGATE and XGATE port.
+       * doc/as.texinfo: Ditto.
+       * doc/all.texi: Ditto
+       * NEWS: Mention the new support.
+
+2012-04-30  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y (rx_intop): Add parameter for operation size.
+       Check for large positive constants really being small negative
+       ones.
+       (BRA, BSR): Update calls to rx_intop.
+       (immediate): Likewise.
+
+2012-04-26  Mark Wielaard  <mjw@redhat.com>
+
+       * dwarf2dbg.c (DWARF2_ARANGES_VERSION): New define to 2.
+       (DWARF2_LINE_VERSION): Likewise.
+       (out_debug_line): Use DWARF2_LINE_VERSION not DWARF2_VERSION.
+       (out_debug_aranges): Use DWARF2_ARANGES_VERSION not DWARF2_VERSION.
+       (out_debug_abbrev): Use DW_FORM_data for DW_AT_high_pc when
+       DWARF2_VERSION >= 4.
+       (out_debug_info): Use difference between start and end as data
+       value for DW_AT_high_pc when DWARF2_VERSION >= 4.
+       * config/tc-ia64.h (DWARF2_LINE_VERSION): Override it.
+
+2012-04-27  David S. Miller  <davem@davemloft.net>
+
+       * doc/c-sparc.text: Document %l34 and %h34.
+
+       * config/tc-sparc.c (v9a_asr_table): Add 'cfr'.
+
+       * config/tc-sparc.c (sparc_arch_table): Add HWCAP_PAUSE to sparc4,
+       v8pluse, v8plusv, v9e, and v9v.
+       (v9a_asr_table): Add 'pause'.
+
+       * config/tc-sparc.c (sparc_arch_table): Add HWCAP_CBCOND to
+       sparc4, v8pluse, v8plusv, v9e, and v9v.
+       (sparc_ip): Handle R_SPARC_5 of immediate constants inline in
+       order to accomodate cbcond which otherwise would require two
+       relocations to be handled in a single instruction..
+
+       * config/tc-sparc.c (sparc_ip): Likewise.  Accept instruction
+       names containing "_".
+       (sparc_arch_table): Add sparc4, v8pluse, and v9e.  Add crypto
+       hwcap masks to v8plusv and v9v.
+
+       * config/tc-sparc.c (sparc_arch_table): Rework to use HWCAP_*
+       masks.
+       (sparc_md_end): No longer need to translate hwcap_seen values into
+       ELF hwcap bits, they now match exactly.
+       (get_hwcap_name): Use HWCAP_* and handle new values.
+       (sparc_ip): Fetch hwcaps from insn->hwcaps instead of insn->flags.
+
+2012-04-20  Tristan Gingold  <gingold@adacore.com>
+
+       * config/tc-ia64.c (obj_elf_vms_common): New function.
+       (md_pseudo_table): Add .vms_common pseudo.
+       * config/obj-elf.h (obj_elf_section_name): Add a prototype.
+       * config/obj-elf.c (obj_elf_section_name): Make it public.
+
+2012-04-17  Richard Sandiford  <r.sandiford@uk.ibm.com>
+
+       * config/tc-avr.c (md_apply_fix): Fix handling of BFD_RELOC32.
+
+2012-04-12  David S. Miller  <davem@davemloft.net>
+
+       * config/tc-sparc.c (sparc_ip): Handle '=', "%h34", "%l34", and
+       BFD_RELOC_SPARC_H34.
+       (md_apply_fix): Handle BFD_RELOC_SPARC_WDISP10 and BFD_RELOC_SPARC_H34.
+       (tc_gen_reloc): Likewise.
+
+2012-04-12  Roland McGrath  <mcgrathr@google.com>
+
+       * configure.tgt (arm-*-nacl*): Match it.
+       * config/te-nacl.h (FPU_DEFAULT, EABI_DEFAULT): Define.
+       (LOCAL_LABELS_DOLLAR): Define.
+       * config/tc-arm.c (elf32_arm_target_format) [TE_NACL]:
+       Use nacl format variants.
+
+2012-04-12  Jie Zhang  <jie@codesourcery.com>
+            Meador Inge  <meadori@codesourcery.com>
+
+       * config/tc-arm.c (only_one_reg_in_list): New function.
+       (encode_ldmstm): Ditto.
+       (do_ldmstm): Use a different encoding when pushing or poping
+       a single register.
+       (A_COND_MASK): New macro.
+       (A_PUSH_POP_OP_MASK): Ditto.
+       (A1_OPCODE_PUSH): Ditto.
+       (A2_OPCODE_PUSH): Ditto.
+       (A2_OPCODE_POP): Ditto.
+
+2012-04-06  Maciej W. Rozycki  <macro@linux-mips.org>
+
+       * doc/c-mips.texi (MIPS Opts): Correct -no-mfix-24k to
+       -mno-fix-24k.
+
+2012-04-06  Roland McGrath  <mcgrathr@google.com>
+
+       * configure.in (AC_CHECK_HEADERS): Add locale.h.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-04-05  Nick Clifton  <nickc@redhat.com>
+
+       * configure.in (AC_CHECK_FUNCS): Add setlocale.
+       (AM_LC_MESSAGES): Add.
+       * aclocal.m4: Regenerate.
+       * config.in: Regenerate.
+       * configure: Regenerate.
+
+2012-04-03  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y: Make the .L optional for ADC and SBB.
+
+2012-04-02  DJ Delorie  <dj@redhat.com>
+
+       * config/rx-parse.y: IMM->IMM_, take an extra parameter for the
+       transfer size.
+       (IMM): New, call IMM_ with the default 32.
+       (IMMW,IMMB): Likewise, for 16 and 8.
+       (NIMM, MBIMM): Add size parameter.
+       (immediate): Likewise.  Allow 32768..65535 for 16-bit transfers.
+       (MOV.W): Use IMMW instead of IMM.
+
+       * config/rx-parse.y (ADC,SBB): ADC and SBB only allow .L.
+       (op_dp20_rm_l): New.
+       (op_dp20_rim_l): New.
+
+       * config/rx-parse.y (op_dp20_rms): Rename to op_dp20_rr, don't allow mem.
+       (ABS, NEG, NOT): These only take REG or REG,REG (rr, not rms).
+
+2012-03-29  Terry Guo  <terry.guo@arm.com>
+
+       * config/tc-arm.c (arm_cpus): Add cortex-m0plus.
+       * doc/c-arm.texi (ARM Options): Document -mcpu=cortex-m0plus.
+
+2012-03-23  Maxim Kuvyrkov  <maxim@codesourcery.com>
+
+       * config/tc-mips.c (mips_cpu_info_table): Add entry for Broadcom XLP.
+       * doc/c-mips.texi: Mention XLP.
+
+2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
+
+       [SH] Support the .uaquad and .8byte directives also for non-sh64
+       configurations.
+
+       * config/tc-sh.c (sh_cons_fix_new, md_apply_fix) [!HAVE_SH64]: Handle
+       BFD_RELOC_64.
+       * doc/c-sh64.texi (SH64 Machine Directives): Move .uaquad
+       description...
+       * doc/c-sh.texi (SH Machine Directives): ... here.
+
+2012-03-20  Nick Clifton  <nickc@redhat.com>
+
+       * config/tc-arm.c (do_vmrs): Accept priviledged mode VFP system
+       registers.
+       (do_vmsr): Likewise.
+       (arm_opcode_insns): Do not default to using the FPSCR register in
+       the VMRS and VMSR registers.
+
+2012-03-16  Roland McGrath  <mcgrathr@google.com>
+
+       * config/tc-i386.h [TE_NACL] (ELF_TARGET_FORMAT32, ELF_TARGET_FORMAT64):
+       Define for this case.
+       * configure.tgt (i386-*-nacl*): If ${cpu} is x86_64*, default to x32.
+
+2012-03-16  Matthew Gretton-Dann  <matthew.gretton-dann@arm.com>
+
+       * config/tc-arm.c (aeabi_set_public_attributes): Correct
+       handling of Tag_DIV_use.
+
+2012-03-15  Thomas Schwinge  <thomas@codesourcery.com>
+
+       * doc/as.texinfo (Bundle directives): Fix typo.
+
+2012-03-14  Ryan Mansfield  <rmansfield@qnx.com>
+
+       * doc/as.texinfo (Bundle directives): Replace @defn with @dfn.
+
+2012-03-13  Roland McGrath  <mcgrathr@google.com>
+
+       * config/tc-arm.c (arm_frag_max_var): New function.
+       * config/tc-arm.h: Declare it.
+       (md_frag_max_var): New macro.
+
+       * config/tc-i386.c (i386_frag_max_var): New function.
+       * config/tc-i386.h: Declare it.
+       (md_frag_max_var): New macro.
+
+       * doc/as.texinfo (Bundle directives): New node.
+       (Pseudo Ops): Add it to the menu.
+       * NEWS: Mention new feature.
+       * read.c [md_frag_max_var] (HANDLE_BUNDLE): New macro.
+       [HANDLE_BUNDLE] (bundle_align_p2): New variable.
+       [HANDLE_BUNDLE] (bundle_lock_frchain, bundle_lock_frag): New variables.
+       [HANDLE_BUNDLE] (start_bundle, pending_bundle_size, finish_bundle):
+       New functions.
+       (assemble_one): New function if [HANDLE_BUNDLE], #define directly
+       to md_assembly if not.
+       (read_a_source_file): Call assemble_one in place of md_assemble.
+       (read_a_source_file) [HANDLE_BUNDLE]: Check for unterminated
+       .bundle_lock at end of processing.
+       [HANDLE_BUNDLE] (s_bundle_align_mode, s_bundle_lock, s_bundle_unlock):
+       New functions.
+       [HANDLE_BUNDLE] (potable): Add their entries.
+       * read.h: Declare new functions.
+
+2012-03-10  Edmar Wienskoski  <edmar@freescale.com>
+
+       * config/tc-ppc.c (md_show_usage): Document -me5500 and -me6500.
+       (ppc_handle_align): Add termination nop opcode for e500mc family.
+       * doc/as.texinfo: Document options -me5500 and -me6500.
+       * doc/c-ppc.texi: Likewise.
+
 2012-03-07  Nick Clifton  <nickc@redhat.com>
 
        * config/tc-mn10300.c (other_registers): Add SSP and USP.
This page took 0.031608 seconds and 4 git commands to generate.