
# Candidate patches to be added:

# lot 1:
# 	gcc.aeabi-49x \
#       gcc.fix_regalloc_for_482 \
# 	gcc.fix_mingw32 \
# 	gcc.e6500-FSF-49x gcc.no_power_builtins-48 \
# 	gcc.local_unaligned_altivec \
# 	gcc.case_values-48 \
# 	gcc.builtin_isel-52 \
#       gcc.builtin_isel_doc \
# 	gcc.experimental_move \
# 	gcc.fix_constvector \
# 	gcc.fix_pr60158_fixup_table \
# 	gcc.fix_ENGR00298583_dwarf-vector-reg_52 \
# 	gcc.fix_altivec_constant_alignment-v2 \
# 	#Maybe not needed:  gcc.fix_altivec_reload_gs8 \ #Office-2.gs8 ICE for alitvec targets e600/e6500
# 	gcc.fix_e5500_mulli_pipeline \
# 	gcc.fix_ENGR00292364_debug_frame \
# 	gcc.fix_emulation_spec_48 \
# 	gcc.create_maeabi \
# 	gcc.rm_e500v2_loops_48 \
# 	gcc.fix_e5500-e6500-aeabi-multi-lib \
# 	gcc.sysroot_spec_only_linux-52 \

# lot 2:
# 	gcc.widen_types-52 \                       # Must convert use of pointer_map_* (C) to use of hash_map class (C++)
# 	gcc.extelim-v4-52 \
# 	gcc.opt-array-offset-52 \                  # Long list of C++ errors
# 	gcc.load_on_store_bypass-48x \
# 	gcc.have-pre-modify-disp-support-52 \
# 	gcc.fix_MTWX51605-memset-array-init_48 \
# 	gcc.fix_postfix_gimplifier \
# 	gcc.fix_adjust_address_cost-52 \
# 	gcc.fix_adjust_sched_loopinv_cost-52 \
# 	gcc.fix_ENGR00215936_52 \
# 	gcc.fix_ivopts \                           # Not effective, removing from build

SRCDESC=(
    ########################  Sources section   ########################
    # dINSTPREFIX
    [0]="gcc-5.3.0v"

    # dLSTSOURCES
    [1]="gcc-5.3.0 \
	 binutils-2.25 \
	 glibc-2.20 \
	 localedef-2.19 \
	 tzdata2015e \
	 libtirpc-0.2.2 \
	 newlib-2.2.0 \
	 linux-3.19 \
	 zlib-1.2.5 \
	 libelf-0.8.13 \
	 libiconv-1.14 \
	 gettext-0.18.1.1 \
	 gmp-4.3.2 \
	 mpfr-3.0.1 \
	 mpc-0.9 \
	 ppl-1.1 \
	 isl-0.12.2 \
	 cloog-0.18.1"


#         gcc.e6500-FSF-49x gcc.no_power_builtins-48 \
#         gcc.aeabi-49x \
#         gcc.fix_regalloc_for_482 \
#         gcc.local_unaligned_altivec \
#         gcc.case_values-48 \
#         gcc.builtin_isel-52 \
#         gcc.builtin_isel_doc \
#         gcc.experimental_move \
#         gcc.fix_constvector \
#         gcc.fix_pr60158_fixup_table \
#         gcc.fix_ENGR00298583_dwarf-vector-reg_52 \
#         gcc.fix_altivec_constant_alignment-v2 \
#         gcc.fix_e5500_mulli_pipeline \
#         gcc.fix_ENGR00292364_debug_frame \

#         gcc.extelim-v4-52 \
#         gcc.load_on_store_bypass-48x \
#         gcc.have-pre-modify-disp-support-52 \
#         gcc.fix_MTWX51605-memset-array-init_48 \
#         gcc.fix_postfix_gimplifier \
#         gcc.fix_adjust_address_cost-52 \
#         gcc.fix_adjust_sched_loopinv_cost-52 \
#         gcc.fix_ENGR00215936_52 \

    # dLSTPATCHES
    [2]="localedef.fix_glibc_2.20 localedef.fix_2.15_CDE \
         libtirpc.remove-nis-2.patch \
         libelf.install_pdf gettext.fix_testcase \
         ppl.fix_gcc-5x bin.aeabi  \
         gcc.rm_slow_tests-47  gcc.soft_float-470 gcc.fix_pr68028_ppc_lto \
         gcc.enable_soft_multilib-49x gcc.fix_trunk-doc \
         gcc.fix_mingw32 \
         gcc.rm_e500v2_loops_48 \
         gcc.sysroot_spec_only_linux-52 \
         glibc.undefined_static glibc.readv_proto \
         glibc.add-option-groups-support \
         glibc.rtld_debug_option_group glibc.use-option-groups \
         glibc.fix_sqrt2 glibc.fix_sqrt_finite glibc.fix_slow_ieee754_sqrt \
         glibc.fsl-ppc-no-fsqrt \
         glibc.fix_prof glibc.fsl-crosszic \
         glibc.e500v2_lib_support \
         glibc.testsuite_remove-blocking-test"

    ######################## Parameters section ########################
    # dLSTSTEPS
    [10]=""

    # dTRPTARGET
    [11]=""

    # dTRPBUILD
    [12]=""

    # dTRPHOST
    [13]=""

    # dARCH
    [14]=""

    # dTBUILD
    [15]=""

    # dWTBUILD
    [16]=""

    ########################   Config section   ########################
    # dBINCONFIG
    [30]="--enable-plugin"

    # dGCCCONFIG1
    [31]="--disable-libatomic"

    # dGCCCONFIG2
    [32]="--disable-libatomic"

    # dGCCCONFIG3
    [33]=""

    # dLIBCONFIG
    [34]="--enable-profile"

    # dGMPCONFIG32
    [35]=""

    # dGMPCONFIG64
    [36]=""

    # dTGMPCONFIG32
    [37]=""

    # dTGMPCONFIG64
    [38]=""

    # dPPLCONFIG32
    [39]="--enable-interfaces=c,c++ --with-gmp-prefix=\\\$HOSTLIBINST/usr"

    # dPPLCONFIG64
    [40]="--enable-interfaces=c,c++ --with-gmp-prefix=\\\$HOSTLIBINST/usr/64"

    # dCLOOGCONFIG32
    [41]="--with-gmp=system --with-isl=system --with-gmp-prefix=\\\$HOSTLIBINST/usr --with-isl-prefix=\\\$HOSTLIBINST/usr"

    # dCLOOGCONFIG64
    [42]="--with-gmp=system --with-isl=system --with-gmp-prefix=\\\$HOSTLIBINST/usr/64 --with-isl-prefix=\\\$HOSTLIBINST/usr/64"

    # dWGMPCONFIG
    [43]=""

    # dWPPLCONFIG
    [44]="--enable-interfaces=c,c++ --with-gmp-prefix=\\\$WHOSTLIBINST/usr"

    # dWCLOOGCONFIG
    [45]="--with-gmp=system --with-isl=system --with-gmp-prefix=\\\$WHOSTLIBINST/usr --with-isl-prefix=\\\$WHOSTLIBINST/usr"

    # dWBINCONFIG
    [46]=""

    # dWGCCCONFIG
    [47]=""

    ########################  Multilib section  ########################
    # dMLSIZE
    [60]=""

    # dMLDIRS
    [61]=""

    # dMLCONFIG
    [62]=""

    # dMLCFLAGS
    [63]=""

    # dMLTARGET
    [64]=""

    # dMLDEJAGNU
    [65]=""

    ########################   Tests section    ########################
    # dBRDTYPE
    [70]=""

    # dBRDNAME
    [71]=""

    # dBRDHOSTNAME
    [72]=""

    # dBRDLIBDIR
    [73]=""

    # dBRDTESTRUNFLAGS
    [74]=""
)
