Add EM_X86_64.
[deliverable/binutils-gdb.git] / libiberty / config.table
CommitLineData
252b5132
RH
1case "${host}" in
2 rs6000-ibm-aix3.1 | rs6000-ibm-aix)
3 frag=mh-aix ;;
4 *-*-cxux7*) frag=mh-cxux7 ;;
5 *-*-freebsd2.1.*) frag=mh-fbsd21 ;;
6 *-*-freebsd2.2.[012]) frag=mh-fbsd21 ;;
e2eaf477 7 i370-*-opened*) frag=mh-openedition ;;
252b5132
RH
8 i[345]86-*-windows*) frag=mh-windows ;;
9 *-*-beos*) frag=mh-beos ;;
10esac
11
12frags=$frag
13
14# If they didn't specify --enable-shared, don't generate shared libs.
15case "${enable_shared}" in
16 yes) shared=yes ;;
17 no) shared=no ;;
18 "") shared=no ;;
19 *) shared=yes ;;
20esac
21if [ "${shared}" = "yes" ]; then
22 case "${host}" in
23 *-*-cygwin*) ;;
24 alpha*-*-linux*) frags="${frags} ../../config/mh-elfalphapic" ;;
25 arm*-*-*) frags="${frags} ../../config/mh-armpic" ;;
26 hppa*-*-*) frags="${frags} ../../config/mh-papic" ;;
27 i[3456]86-*-*) frags="${frags} ../../config/mh-x86pic" ;;
28 powerpc*-*-aix*) ;;
29 powerpc*-*-*) frags="${frags} ../../config/mh-ppcpic" ;;
eb383413 30 sparc*-*-*) frags="${frags} ../../config/mh-sparcpic" ;;
252b5132
RH
31 *-*-*) frags="${frags} ../../config/mh-${host_cpu}pic" ;;
32 esac
33fi
34
35echo "# Warning: this fragment is automatically generated" > temp-frag
36
37for frag in ${frags}; do
38 case ${frag} in
39 ../* )
40 if [ ${srcdir} = . ]; then
41 [ -n "${with_target_subdir}" ] && frag=../${frag}
42 [ -n "${with_multisrctop}" ] && frag=${with_multisrctop}${frag}
43 fi
44 ;;
45 esac
46 frag=${srcdir}/${xsrcdir}config/$frag
47 if [ -f ${frag} ]; then
48 echo "Appending ${frag} to xhost-mkfrag"
49 echo "# Following fragment copied from ${frag}" >> temp-frag
50 cat ${frag} >> temp-frag
51 fi
52done
53
54# record if we want to build shared libs.
55if [ "${shared}" = "yes" ]; then
56 echo enable_shared = yes >> temp-frag
57else
58 echo enable_shared = no >> temp-frag
59fi
60
61frag=xhost-mkfrag
e2eaf477 62${CONFIG_SHELL-/bin/sh} ${libiberty_topdir}/move-if-change temp-frag xhost-mkfrag
This page took 0.046595 seconds and 4 git commands to generate.