source: rtems-tools/tools/5/binutils/binutils-2.26-rtems-aarch64-x86_64.patch @ 2da1356

5
Last change on this file since 2da1356 was 2da1356, checked in by Sebastian Huber <sebastian.huber@…>, on 11/09/17 at 08:07:35

Add tools/5 patches

Update #3220.

  • Property mode set to 100644
File size: 3.2 KB
  • binutils-2.26/bfd/config.bfd

    old new  
    169169
    170170# START OF targmatch.h
    171171#ifdef BFD64
    172   aarch64-*-elf)
     172  aarch64-*-elf | aarch64-*-rtems*)
    173173    targ_defvec=aarch64_elf64_le_vec
    174174    targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
    175175    want64=true
     
    675675    targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec"
    676676    want64=true
    677677    ;;
    678   x86_64-*-elf*)
     678  x86_64-*-elf* | x86_64-*-rtems*)
    679679    targ_defvec=x86_64_elf64_vec
    680680    targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
    681681    want64=true
  • binutils-2.26/gas/configure.tgt

    old new  
    66# it under the terms of the GNU General Public License as published by
    77# the Free Software Foundation; either version 3 of the License, or
    88# (at your option) any later version.
    9 # 
     9#
    1010# This program is distributed in the hope that it will be useful,
    1111# but WITHOUT ANY WARRANTY; without even the implied warranty of
    1212# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
    1313# GNU General Public License for more details.
    14 # 
     14#
    1515# You should have received a copy of the GNU General Public License
    1616# along with this program; see the file COPYING3.  If not see
    1717# <http://www.gnu.org/licenses/>.
     
    120120generic_target=${cpu_type}-$vendor-$os
    121121# Note: This table is alpha-sorted, please try to keep it that way.
    122122case ${generic_target} in
    123   aarch64*-*-elf)                       fmt=elf;;
     123  aarch64*-*-elf | aarch64-*-rtems*)    fmt=elf;;
    124124  aarch64*-*-linux*)                    fmt=elf em=linux ;;
    125125
    126126  alpha-*-*vms*)                        fmt=evax ;;
     
    354354  moxie-*-uclinux)                      fmt=elf em=linux ;;
    355355  moxie-*-moxiebox*)                    fmt=elf endian=little ;;
    356356  moxie-*-*)                            fmt=elf ;;
    357    
     357
    358358  mt-*-elf)                             fmt=elf bfd_gas=yes ;;
    359359
    360360  msp430-*-*)                           fmt=elf ;;
     
    463463  visium-*-elf)                         fmt=elf ;;
    464464
    465465  xstormy16-*-*)                        fmt=elf ;;
    466  
     466
    467467  xgate-*-*)                            fmt=elf ;;
    468468
    469469  xtensa*-*-*)                          fmt=elf ;;
  • binutils-2.26/ld/configure.tgt

    old new  
    4747case "${targ}" in
    4848aarch64_be-*-elf)       targ_emul=aarch64elfb
    4949                        targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf" ;;
    50 aarch64-*-elf)          targ_emul=aarch64elf
     50aarch64-*-elf | aarch64-*-rtems*)
     51                        targ_emul=aarch64elf
    5152                        targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb" ;;
    5253aarch64-*-cloudabi*)    targ_emul=aarch64cloudabi
    5354                        targ_extra_emuls=aarch64cloudabib ;;
     
    314315                        targ_extra_emuls=elf_i386 ;;
    315316i[3-7]86-*-elf*)        targ_emul=elf_i386
    316317                        targ_extra_emuls=elf_iamcu ;;
    317 x86_64-*-elf*)          targ_emul=elf_x86_64
     318x86_64-*-elf* | x86_64-*-rtems*)
     319                        targ_emul=elf_x86_64
    318320                        targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
    319321                        targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
    320322                        tdir_elf_i386=`echo ${targ_alias} | sed -e 's/x86_64/i386/'`
Note: See TracBrowser for help on using the repository browser.