Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(18)

Side by Side Diff: bfd/config.bfd

Issue 11969036: Merge GDB 7.5.1 (Closed) Base URL: http://git.chromium.org/native_client/nacl-gdb.git@master
Patch Set: Created 7 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « bfd/compress.c ('k') | bfd/config.in » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 # config.bfd 1 # config.bfd
2 # Convert a canonical host type into a BFD host type. 2 # Convert a canonical host type into a BFD host type.
3 # Set shell variable targ to canonical target name, and run 3 # Set shell variable targ to canonical target name, and run
4 # using ``. config.bfd''. 4 # using ``. config.bfd''.
5 # Sets the following shell variables: 5 # Sets the following shell variables:
6 # targ_defvec Default vector for this target 6 # targ_defvec Default vector for this target
7 # targ_selvecs Vectors to build for this target 7 # targ_selvecs Vectors to build for this target
8 # targ64_selvecs Vectors to build if --enable-64-bit-bfd is given 8 # targ64_selvecs Vectors to build if --enable-64-bit-bfd is given
9 # or if host is 64 bit. 9 # or if host is 64 bit.
10 # targ_archs Architectures for this target 10 # targ_archs Architectures for this target
(...skipping 67 matching lines...) Expand 10 before | Expand all | Expand 10 after
78 c54x*) targ_archs=bfd_tic54x_arch ;; 78 c54x*) targ_archs=bfd_tic54x_arch ;;
79 cr16*) targ_archs=bfd_cr16_arch ;; 79 cr16*) targ_archs=bfd_cr16_arch ;;
80 crisv32) targ_archs=bfd_cris_arch ;; 80 crisv32) targ_archs=bfd_cris_arch ;;
81 crx*) targ_archs=bfd_crx_arch ;; 81 crx*) targ_archs=bfd_crx_arch ;;
82 dlx*) targ_archs=bfd_dlx_arch ;; 82 dlx*) targ_archs=bfd_dlx_arch ;;
83 fido*) targ_archs=bfd_m68k_arch ;; 83 fido*) targ_archs=bfd_m68k_arch ;;
84 hppa*) targ_archs=bfd_hppa_arch ;; 84 hppa*) targ_archs=bfd_hppa_arch ;;
85 i[3-7]86) targ_archs=bfd_i386_arch ;; 85 i[3-7]86) targ_archs=bfd_i386_arch ;;
86 i370) targ_archs=bfd_i370_arch ;; 86 i370) targ_archs=bfd_i370_arch ;;
87 lm32) targ_archs=bfd_lm32_arch ;; 87 lm32) targ_archs=bfd_lm32_arch ;;
88 m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch" ;; 88 m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch bfd_m9s12x_arch b fd_m9s12xg_arch" ;;
89 m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch" ;; 89 m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch bfd_m9s12x_arch b fd_m9s12xg_arch" ;;
90 m68*) targ_archs=bfd_m68k_arch ;; 90 m68*) targ_archs=bfd_m68k_arch ;;
91 m88*) targ_archs=bfd_m88k_arch ;; 91 m88*) targ_archs=bfd_m88k_arch ;;
92 microblaze*) targ_archs=bfd_microblaze_arch ;; 92 microblaze*) targ_archs=bfd_microblaze_arch ;;
93 mips*) targ_archs=bfd_mips_arch ;; 93 mips*) targ_archs=bfd_mips_arch ;;
94 or32*) targ_archs=bfd_or32_arch ;; 94 or32*) targ_archs=bfd_or32_arch ;;
95 pdp11*) targ_archs=bfd_pdp11_arch ;; 95 pdp11*) targ_archs=bfd_pdp11_arch ;;
96 pj*) targ_archs="bfd_pj_arch bfd_i386_arch";; 96 pj*) targ_archs="bfd_pj_arch bfd_i386_arch";;
97 powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; 97 powerpc*) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
98 rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;; 98 rs6000) targ_archs="bfd_rs6000_arch bfd_powerpc_arch" ;;
99 s390*) targ_archs=bfd_s390_arch ;; 99 s390*) targ_archs=bfd_s390_arch ;;
100 sh*) targ_archs=bfd_sh_arch ;; 100 sh*) targ_archs=bfd_sh_arch ;;
101 sparc*) targ_archs=bfd_sparc_arch ;; 101 sparc*) targ_archs=bfd_sparc_arch ;;
102 spu*) targ_archs=bfd_spu_arch ;; 102 spu*) targ_archs=bfd_spu_arch ;;
103 tilegx*) targ_archs=bfd_tilegx_arch ;; 103 tilegx*) targ_archs=bfd_tilegx_arch ;;
104 tilepro*) targ_archs=bfd_tilepro_arch ;; 104 tilepro*) targ_archs=bfd_tilepro_arch ;;
105 v850*) targ_archs=bfd_v850_arch ;; 105 v850*) targ_archs=bfd_v850_arch ;;
106 x86_64*) targ_archs=bfd_i386_arch ;; 106 x86_64*) targ_archs=bfd_i386_arch ;;
107 xtensa*) targ_archs=bfd_xtensa_arch ;; 107 xtensa*) targ_archs=bfd_xtensa_arch ;;
108 xgate) targ_archs=bfd_xgate_arch ;;
108 z80|r800) targ_archs=bfd_z80_arch ;; 109 z80|r800) targ_archs=bfd_z80_arch ;;
109 z8k*) targ_archs=bfd_z8k_arch ;; 110 z8k*) targ_archs=bfd_z8k_arch ;;
110 *) targ_archs=bfd_${targ_cpu}_arch ;; 111 *) targ_archs=bfd_${targ_cpu}_arch ;;
111 esac 112 esac
112 113
113 114
114 # WHEN ADDING ENTRIES TO THIS MATRIX: 115 # WHEN ADDING ENTRIES TO THIS MATRIX:
115 # Make sure that the left side always has two dashes. Otherwise you 116 # Make sure that the left side always has two dashes. Otherwise you
116 # can get spurious matches. Even for unambiguous cases, do this as a 117 # can get spurious matches. Even for unambiguous cases, do this as a
117 # convention, else the table becomes a real mess to understand and maintain. 118 # convention, else the table becomes a real mess to understand and maintain.
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
209 210
210 am34-*-linux* | am33_2.0-*-linux*) 211 am34-*-linux* | am33_2.0-*-linux*)
211 targ_defvec=bfd_elf32_am33lin_vec 212 targ_defvec=bfd_elf32_am33lin_vec
212 ;; 213 ;;
213 214
214 arc-*-elf*) 215 arc-*-elf*)
215 targ_defvec=bfd_elf32_littlearc_vec 216 targ_defvec=bfd_elf32_littlearc_vec
216 targ_selvecs=bfd_elf32_bigarc_vec 217 targ_selvecs=bfd_elf32_bigarc_vec
217 ;; 218 ;;
218 219
220 arm-*-nacl*)
221 targ_defvec=bfd_elf32_littlearm_nacl_vec
222 targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_i386_nacl_vec"
223 targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
224 targ_archs="$targ_archs bfd_i386_arch"
225 ;;
226 armeb-*-nacl*)
227 targ_defvec=bfd_elf32_bigarm_nacl_vec
228 targ_selvecs="bfd_elf32_littlearm_nacl_vec bfd_elf32_i386_nacl_vec"
229 targ64_selvecs="bfd_elf32_x86_64_nacl_vec bfd_elf64_x86_64_nacl_vec"
230 targ_archs="$targ_archs bfd_i386_arch"
231 ;;
219 armeb-*-netbsdelf*) 232 armeb-*-netbsdelf*)
220 targ_defvec=bfd_elf32_bigarm_vec 233 targ_defvec=bfd_elf32_bigarm_vec
221 targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec" 234 targ_selvecs="bfd_elf32_littlearm_vec armnetbsd_vec"
222 ;; 235 ;;
223 arm-*-netbsdelf*) 236 arm-*-netbsdelf*)
224 targ_defvec=bfd_elf32_littlearm_vec 237 targ_defvec=bfd_elf32_littlearm_vec
225 targ_selvecs="bfd_elf32_bigarm_vec armnetbsd_vec" 238 targ_selvecs="bfd_elf32_bigarm_vec armnetbsd_vec"
226 ;; 239 ;;
227 arm-*-netbsd* | arm-*-openbsd*) 240 arm-*-netbsd* | arm-*-openbsd*)
228 targ_defvec=armnetbsd_vec 241 targ_defvec=armnetbsd_vec
(...skipping 271 matching lines...) Expand 10 before | Expand all | Expand 10 after
500 i[3-7]86-*-aix*) 513 i[3-7]86-*-aix*)
501 targ_defvec=i386coff_vec 514 targ_defvec=i386coff_vec
502 ;; 515 ;;
503 i[3-7]86-*-rtems*) 516 i[3-7]86-*-rtems*)
504 targ_defvec=bfd_elf32_i386_vec 517 targ_defvec=bfd_elf32_i386_vec
505 targ_selvecs="i386coff_vec i386aout_vec" 518 targ_selvecs="i386coff_vec i386aout_vec"
506 ;; 519 ;;
507 i[3-7]86-*-darwin* | i[3-7]86-*-macos10* | i[3-7]86-*-rhapsody*) 520 i[3-7]86-*-darwin* | i[3-7]86-*-macos10* | i[3-7]86-*-rhapsody*)
508 targ_defvec=mach_o_i386_vec 521 targ_defvec=mach_o_i386_vec
509 targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_ve c sym_vec" 522 targ_selvecs="mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef_vec pef_xlib_ve c sym_vec"
523 targ64_selvecs=mach_o_x86_64_vec
510 targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch" 524 targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch"
511 ;; 525 ;;
512 i[3-7]86-sequent-bsd*) 526 i[3-7]86-sequent-bsd*)
513 targ_defvec=i386dynix_vec 527 targ_defvec=i386dynix_vec
514 targ_underscore=yes 528 targ_underscore=yes
515 ;; 529 ;;
516 i[3-7]86-*-bsd*) 530 i[3-7]86-*-bsd*)
517 targ_defvec=i386bsd_vec 531 targ_defvec=i386bsd_vec
518 targ_underscore=yes 532 targ_underscore=yes
519 ;; 533 ;;
520 i[3-7]86-*-dragonfly*) 534 i[3-7]86-*-dragonfly*)
521 targ_defvec=bfd_elf32_i386_vec 535 targ_defvec=bfd_elf32_i386_vec
522 targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" 536 targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
(...skipping 42 matching lines...) Expand 10 before | Expand all | Expand 10 after
565 targ_selvecs=bfd_elf32_i386_vec 579 targ_selvecs=bfd_elf32_i386_vec
566 targ_underscore=yes 580 targ_underscore=yes
567 ;; 581 ;;
568 i[3-7]86-*-linux-*) 582 i[3-7]86-*-linux-*)
569 targ_defvec=bfd_elf32_i386_vec 583 targ_defvec=bfd_elf32_i386_vec
570 targ_selvecs="i386linux_vec i386pei_vec" 584 targ_selvecs="i386linux_vec i386pei_vec"
571 targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" 585 targ64_selvecs="bfd_elf64_x86_64_vec bfd_elf32_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
572 ;; 586 ;;
573 i[3-7]86-*-nacl*) 587 i[3-7]86-*-nacl*)
574 targ_defvec=bfd_elf32_i386_nacl_vec 588 targ_defvec=bfd_elf32_i386_nacl_vec
575 targ_selvecs="bfd_elf32_i386_vec" 589 targ_selvecs="bfd_elf32_bigarm_nacl_vec bfd_elf32_littlearm_nacl_vec"
590 targ64_selvecs="bfd_elf64_x86_64_nacl_vec bfd_elf32_x86_64_nacl_vec"
591 targ_archs="$targ_archs bfd_arm_arch"
576 ;; 592 ;;
577 #ifdef BFD64 593 #ifdef BFD64
578 x86_64-*-darwin*) 594 x86_64-*-darwin*)
579 targ_defvec=mach_o_x86_64_vec 595 targ_defvec=mach_o_x86_64_vec
580 targ_selvecs="mach_o_i386_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef _vec pef_xlib_vec sym_vec" 596 targ_selvecs="mach_o_i386_vec mach_o_le_vec mach_o_be_vec mach_o_fat_vec pef _vec pef_xlib_vec sym_vec"
581 targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch" 597 targ_archs="$targ_archs bfd_powerpc_arch bfd_rs6000_arch"
582 want64=true 598 want64=true
583 ;; 599 ;;
584 x86_64-*-dicos*) 600 x86_64-*-dicos*)
585 targ_defvec=bfd_elf64_x86_64_vec 601 targ_defvec=bfd_elf64_x86_64_vec
(...skipping 13 matching lines...) Expand all
599 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu) 615 x86_64-*-freebsd* | x86_64-*-kfreebsd*-gnu)
600 targ_defvec=bfd_elf64_x86_64_freebsd_vec 616 targ_defvec=bfd_elf64_x86_64_freebsd_vec
601 targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec i386pei_vec x86_64pei_ vec bfd_elf32_i386_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_l1om_fr eebsd_vec bfd_elf64_k1om_vec bfd_elf64_k1om_freebsd_vec" 617 targ_selvecs="bfd_elf32_i386_freebsd_vec i386coff_vec i386pei_vec x86_64pei_ vec bfd_elf32_i386_vec bfd_elf64_x86_64_vec bfd_elf64_l1om_vec bfd_elf64_l1om_fr eebsd_vec bfd_elf64_k1om_vec bfd_elf64_k1om_freebsd_vec"
602 want64=true 618 want64=true
603 ;; 619 ;;
604 x86_64-*-netbsd* | x86_64-*-openbsd*) 620 x86_64-*-netbsd* | x86_64-*-openbsd*)
605 targ_defvec=bfd_elf64_x86_64_vec 621 targ_defvec=bfd_elf64_x86_64_vec
606 targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec i386pei_vec x86 _64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" 622 targ_selvecs="bfd_elf32_i386_vec i386netbsd_vec i386coff_vec i386pei_vec x86 _64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
607 want64=true 623 want64=true
608 ;; 624 ;;
609 x86_64-*-linux-* | x86_64-*-nacl*) 625 x86_64-*-linux-*)
610 targ_defvec=bfd_elf64_x86_64_vec 626 targ_defvec=bfd_elf64_x86_64_vec
611 targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec i386linux_vec i386pei_ vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec" 627 targ_selvecs="bfd_elf32_i386_vec bfd_elf32_x86_64_vec i386linux_vec i386pei_ vec x86_64pei_vec bfd_elf64_l1om_vec bfd_elf64_k1om_vec"
612 want64=true 628 want64=true
613 ;; 629 ;;
630 x86_64-*-nacl*)
631 targ_defvec=bfd_elf32_x86_64_nacl_vec
632 targ_selvecs="bfd_elf32_i386_nacl_vec bfd_elf64_x86_64_nacl_vec bfd_elf32_bi garm_nacl_vec bfd_elf32_littlearm_nacl_vec"
633 targ_archs="$targ_archs bfd_arm_arch"
634 want64=true
635 ;;
614 x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep) 636 x86_64-*-mingw* | x86_64-*-pe | x86_64-*-pep)
615 targ_defvec=x86_64pe_vec 637 targ_defvec=x86_64pe_vec
616 targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om _vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec" 638 targ_selvecs="x86_64pe_vec x86_64pei_vec bfd_elf64_x86_64_vec bfd_elf64_l1om _vec bfd_elf64_k1om_vec i386pe_vec i386pei_vec bfd_elf32_i386_vec"
617 want64=true 639 want64=true
618 targ_underscore=no 640 targ_underscore=no
619 ;; 641 ;;
620 #endif 642 #endif
621 i[3-7]86-*-lynxos*) 643 i[3-7]86-*-lynxos*)
622 targ_defvec=bfd_elf32_i386_vec 644 targ_defvec=bfd_elf32_i386_vec
623 targ_selvecs="i386lynx_coff_vec i386lynx_aout_vec" 645 targ_selvecs="i386lynx_coff_vec i386lynx_aout_vec"
(...skipping 875 matching lines...) Expand 10 before | Expand all | Expand 10 after
1499 targ_selvecs="bfd_elf32_tic6x_linux_be_vec bfd_elf32_tic6x_le_vec bfd_elf32_ tic6x_be_vec" 1521 targ_selvecs="bfd_elf32_tic6x_linux_be_vec bfd_elf32_tic6x_le_vec bfd_elf32_ tic6x_be_vec"
1500 ;; 1522 ;;
1501 1523
1502 tic80*-*-*) 1524 tic80*-*-*)
1503 targ_defvec=tic80coff_vec 1525 targ_defvec=tic80coff_vec
1504 targ_underscore=yes 1526 targ_underscore=yes
1505 ;; 1527 ;;
1506 1528
1507 #ifdef BFD64 1529 #ifdef BFD64
1508 tilegx-*-*) 1530 tilegx-*-*)
1509 targ_defvec=bfd_elf64_tilegx_vec 1531 targ_defvec=bfd_elf64_tilegx_le_vec
1510 targ_selvecs=bfd_elf32_tilegx_vec 1532 targ_selvecs="bfd_elf64_tilegx_be_vec bfd_elf32_tilegx_be_vec bfd_elf32_tile gx_le_vec"
1533 ;;
1534 tilegxbe-*-*)
1535 targ_defvec=bfd_elf64_tilegx_be_vec
1536 targ_selvecs="bfd_elf64_tilegx_le_vec bfd_elf32_tilegx_be_vec bfd_elf32_tile gx_le_vec"
1511 ;; 1537 ;;
1512 #endif 1538 #endif
1513 1539
1514 tilepro-*-*) 1540 tilepro-*-*)
1515 targ_defvec=bfd_elf32_tilepro_vec 1541 targ_defvec=bfd_elf32_tilepro_vec
1516 ;; 1542 ;;
1517 1543
1518 v850*-*-*) 1544 v850*-*-*)
1519 targ_defvec=bfd_elf32_v850_vec 1545 targ_defvec=bfd_elf32_v850_vec
1520 ;; 1546 ;;
(...skipping 23 matching lines...) Expand all
1544 targ_defvec=bfd_elf32_vax_vec 1570 targ_defvec=bfd_elf32_vax_vec
1545 ;; 1571 ;;
1546 1572
1547 we32k-*-*) 1573 we32k-*-*)
1548 targ_defvec=we32kcoff_vec 1574 targ_defvec=we32kcoff_vec
1549 ;; 1575 ;;
1550 1576
1551 w65-*-*) 1577 w65-*-*)
1552 targ_defvec=w65_vec 1578 targ_defvec=w65_vec
1553 ;; 1579 ;;
1554 1580
1581 xgate-*-*)
1582 targ_defvec=bfd_elf32_xgate_vec
1583 targ_selvecs="bfd_elf32_xgate_vec"
1584 ;;
1585 »
1555 xstormy16-*-elf) 1586 xstormy16-*-elf)
1556 targ_defvec=bfd_elf32_xstormy16_vec 1587 targ_defvec=bfd_elf32_xstormy16_vec
1557 ;; 1588 ;;
1558 1589
1559 xtensa*-*-*) 1590 xtensa*-*-*)
1560 targ_defvec=bfd_elf32_xtensa_le_vec 1591 targ_defvec=bfd_elf32_xtensa_le_vec
1561 targ_selvecs=bfd_elf32_xtensa_be_vec 1592 targ_selvecs=bfd_elf32_xtensa_be_vec
1562 ;; 1593 ;;
1563 xc16x-*-elf) 1594 xc16x-*-elf)
1564 targ_defvec=bfd_elf32_xc16x_vec 1595 targ_defvec=bfd_elf32_xc16x_vec
(...skipping 60 matching lines...) Expand 10 before | Expand all | Expand 10 after
1625 targ_archs="$targ_archs bfd_l1om_arch" 1656 targ_archs="$targ_archs bfd_l1om_arch"
1626 ;; 1657 ;;
1627 esac 1658 esac
1628 1659
1629 # If we support Intel K1OM target, then add support for bfd_k1om_arch. 1660 # If we support Intel K1OM target, then add support for bfd_k1om_arch.
1630 case "${targ_defvec} ${targ_selvecs}" in 1661 case "${targ_defvec} ${targ_selvecs}" in
1631 *bfd_elf64_k1om_vec*) 1662 *bfd_elf64_k1om_vec*)
1632 targ_archs="$targ_archs bfd_k1om_arch" 1663 targ_archs="$targ_archs bfd_k1om_arch"
1633 ;; 1664 ;;
1634 esac 1665 esac
OLDNEW
« no previous file with comments | « bfd/compress.c ('k') | bfd/config.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698