* web.c (union_match_dups): Properly handle OP_INOUT match_dups.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2609 8ad889b4-764b-0410-b193-d8a7b30fb157
        * web.c (union_match_dups): Remove asserts introduced in previous
        patch.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2612 8ad889b4-764b-0410-b193-d8a7b30fb157
        From Vineet Gupta:
        * config/arc/arc.h (LINK_COMMAND_SPEC): Use %G to include
        libgcc in shared -nostdlib links.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2614 8ad889b4-764b-0410-b193-d8a7b30fb157
        * common/config/arc/arc-common.c: Whitespace fixes.
        * config/arc/arc-opts.h, config/arc/arc-protos.h: Likewise.
        * config/arc/arc-simd.h, config/arc/arc.c, config/arc/arc.h: Likewise.
        * config/arc/arc.md, config/arc/arc.opt: Likewise.
        * config/arc/arc700.md, config/arc/constraints.md: Likewise.
        * config/arc/fpx.md, config/arc/predicates.md: Likewise.
        * config/arc/simdext.md

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2615 8ad889b4-764b-0410-b193-d8a7b30fb157
Back out incomplete constraint overloading patch that was accidentially pulled
in with the * in @ output template patch.
We don't want this code to hold up contribution of the ARCompact port to
mainline.

This issue has to be re-visited later, we have embecosm bug 93 to track this.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2616 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc: Remove mentions of A4 from comments.
        * config/arc/arc.h (ASM_SPEC): Reove !mA4 condition.
        (TARGET_PTRMEMFUNC_VBIT_LOCATION): Put comment about A4 into past tense.
        * config/arc/arc.md: Remove mentions of A4 from comments.
        (attribute "cpu"): Replace "A4" with "none".
        (attributes "cond", "length"): Remove "A4" case.
        * config/arc/arc.opt (-mA4): Remove -mA4 option.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2617 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.c (arc_text_section, arc_data_section): Remove.
        (arc_rodata_section): Likewise.
        (arc_init): Remove initialization of deleted variables.
        * config/arc/arc.h (ARC_SECTION_FORMAT): Don't define.
        (ARC_DEFAULT_TEXT_SECTION, ARC_DEFAULT_DATA_SECTION): Likewise.
        (ARC_DEFAULT_RODATA_SECTION): Likewise.
        (TEXT_SECTION_ASM_OP, DATA_SECTION_ASM_OP): Make constant.
        (ARC_DEFAULT_RODATA_SECTION): Don't override.
        (arc_text_section, arc_data_section): Don't declare.
        (arc_rodata_section): Likewise.
        (BSS_SECTION_ASM_OP): Use tab after .section.
        (SDATA_SECTION_ASM_OP, SBSS_SECTION_ASM_OP): Likewise.
        * config/arc/arc.opt (-mtext=, -mdata=, -mrodata=): Remove options.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2618 8ad889b4-764b-0410-b193-d8a7b30fb157
gcc:
        * config/arc/t-arc-uClibc: New file, to control multilib building.
        * config/arc/t-arc-newlib: Likewise.  No endianness multilib for now.
        * config.gcc: (arc-*-elf*) <tmake_file>: Add arc/t-arc-newlib.
        (arc600-*-linux-uclibc*) <tmake_file>: Add arc/t-arc-uClibc.
        (arc601-*-linux-uclibc*) <tmake_file>: Likewise.
        (arc*-*-linux-uclibc*) <tmake_file>: Likewise.
libgcc:
        * config/arc/t-arc-newlib: Remove multilib settings.
        * config/arc/t-arc600-uClibc: Likewise.
        * config/arc/t-arc700-uClibc: Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2619 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.md (flush_icache+1): Remove TARGET_DROSS / DROSS.
        (flush_icache+6): Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2620 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.h (TARGET_DROSS, DROSS): Remove.
        * config/arc/arc.md: Remove TARGET_DROSS peepholes.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2621 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.h: Replace #if UCLIBC_DEFAULT with
        #if DEFAULT_LIBC == LIBC_UCLIBC .
        * config.gcc (arc600-*-linux-uclibc*) <tm_file>: Remove svr4.h .
        (arc601-*-linux-uclibc*) <tm_file>: Likewise.
        (arc*-*-linux-uclibc*) <tm_file>: Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2623 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/t-arc700-uClibc (SHLIB_MAPFILES) <libgcc-std.ver>:
        Remove $(srcdir)/ prefix.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2624 8ad889b4-764b-0410-b193-d8a7b30fb157
	* config/arc/t-arc (crtg.o, crtgend.o): Use $(crt_compile).
	Don't depend on $(GCC_PASSES).
	(mcount.o, gmon.o, prof-freq-stub.o, prof-freq.o): Use $(gcc_compile).
	Don't depend on $(GCC_PASSES).
	(dcache_linesz.o, profil.o, profil-uclibc.o): Likewise.
	* config/arc/t-arc700-uClibc (SHLIB_LINK, SHLIB_INSTALL): Delete.
	* config.host (arc*-*-linux-uclibc*) <tmake_file>:
	Add t-slibgcc-libgcc t-slibgcc-nolc-override.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2625 8ad889b4-764b-0410-b193-d8a7b30fb157
        * common/config/arc/arc-common.c (arc_handle_option):
        Avoid spurious warning about (alleged) duplicated -mcpu option.
        * config/arc/arc.h (LINK_SPEC): Pass through -marclinux* options.
        * config/arc/arc.opt (EB, EL, marclinux, marclinux_prof):
        Duplicate option specification, according to:
        http://gcc.gnu.org/ml/gcc-patches/2012-05/msg01854.html

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2626 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc-protos.h (gen_bbit_bic_insns): Don't declare.
        (gen_bbit_insns, valid_bbit_pattern_p): Likewise.
        * config/arc/arc.c (gen_bbit_bic_insns, gen_bbit_insns): Delete.
        (valid_bbit_pattern_p): Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2627 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.c (arc_encode_section_info): Remove
        SYMBOL_REF_FLAG setting.
        (arc_legitimize_pic_address): Use SYMBOL_REF_LOCAL_P.
        (arc_output_pic_addr_const): Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2631 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc.c (local_obstack, arc_assemble_integer): Delete.
        (arc_asm_file_start, arc_asm_file_end): Likewise.
        (arc_strip_name_encoding, arc_encode_symbol): Likewise.
        (TARGET_ASM_INTEGER, TARGET_ASM_FILE_END): Don't redefine.
        (TARGET_STRIP_NAME_ENCODING): Likewise.
        (arc_init): Don't initialize arc_local_obstack.
        (arc_encode_section_info): Put information into SYMBOL_REF_FLAGS.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2632 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/t-arc (gmon.o): Use -fno-strict-aliasing.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2633 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc-protos.h (regno_clobbered_p): Declare.
        * config/arc/arc.c (arc_init): Remove unused variable tmp.
        (struct arc_cpu_type, arc_cpu_types): Remove unused struct / variable.
        (output_shift): Remove dead code.
        (arc_function_ok_for_sibcall): Add ATTRIBUTE_UNUSED to parameter decl.
        Remove unused varaible fname.
        (arc_legitimize_address): Rename new to new_x.
        * config/arc/arc.h (EPILOGUE_USES): Cast REGNO to "int".
        * config/arc/arc.opt (arc_cpu): Initialize to PROCESSOR_NONE.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2634 8ad889b4-764b-0410-b193-d8a7b30fb157
        * config/arc/arc-protos.h (emit_shift): Declare.
        * config/arc/arc.c (emit_shift): New function.
        (output_shift): Increase shift count ranges for which loop-free
        code is being output.
        * config/arc/arc.md (ashlsi3, ashrsi3, lshrsi3): Use emit_shift.
        (shift_si3): Only accept integer shift counts.
        (shift_si3_loop): New pattern.
        * config/arc/predicates.md (shiftl4_operator): New predicate.
        (shiftr4_operator, shift4_operator): Likewise.

git-svn-id: svn+ssh://thomas.embecosm.com/embecosm/Customer-Projects/synopsys/arc_gnu/branches/arc_gnu_4.8/gcc-4.8@2639 8ad889b4-764b-0410-b193-d8a7b30fb157