Add Genode target support
authorEmery Hemingway <ehmry@posteo.net>
Mon, 1 Feb 2021 17:31:47 +0000 (17:31 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 1 Feb 2021 17:31:47 +0000 (17:31 +0000)
* configure.tgt: Add *-*-genode* as a target for AArch64 and x86.

bfd/ChangeLog
bfd/config.bfd
gas/ChangeLog
gas/configure.tgt
ld/ChangeLog
ld/configure.tgt

index 3aaf9f81ce817772626bcd749fddc7bc77ed99d0..e0fa5a3bf4a3beec2e599259fe6954c928b03b6c 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-01  Emery Hemingway  <ehmry@posteo.net>
+
+       * config.bfd: Add *-*-genode* as a target for AArch64 and x86.
+
 2021-02-01  Egor Vishnyakov  <lenvampir@yandex.ru>
 
        PR 27254
index e7b55b0dd78db5125705fd362aece1eb459293cc..6408da3a3a20ba77da435e82ade229dc0c687d27 100644 (file)
@@ -231,7 +231,7 @@ case "${targ}" in
     targ_archs="$targ_archs bfd_i386_arch bfd_powerpc_arch bfd_rs6000_arch"
     want64=true
     ;;
-  aarch64-*-elf | aarch64-*-rtems*)
+  aarch64-*-elf | aarch64-*-rtems* | aarch64-*-genode*)
     targ_defvec=aarch64_elf64_le_vec
     targ_selvecs="aarch64_elf64_be_vec aarch64_elf32_le_vec aarch64_elf32_be_vec arm_elf32_le_vec arm_elf32_be_vec"
     want64=true
@@ -557,7 +557,7 @@ case "${targ}" in
     targ_selvecs=hppa_elf32_vec
     ;;
 
-  i[3-7]86-*-elf* | i[3-7]86-*-rtems*)
+  i[3-7]86-*-elf* | i[3-7]86-*-rtems* | i[3-7]86-*-genode*)
     targ_defvec=i386_elf32_vec
     targ_selvecs="iamcu_elf32_vec i386_coff_vec"
     ;;
@@ -655,7 +655,7 @@ case "${targ}" in
     targ_selvecs="i386_elf32_vec iamcu_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     want64=true
     ;;
-  x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia)
+  x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia | x86_64-*-genode*)
     targ_defvec=x86_64_elf64_vec
     targ_selvecs="i386_elf32_vec iamcu_elf32_vec x86_64_elf32_vec l1om_elf64_vec k1om_elf64_vec"
     case "${targ}" in
index c6af91d3ec182d6544e36f0ed2785f8063e0e8e4..c95c3e14e432b0bfe19cdb92bc168396a2de6f73 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-01  Emery Hemingway  <ehmry@posteo.net>
+
+       * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
+
 2021-02-01  Alan Modra  <amodra@gmail.com>
 
        PR 27283
index 6f46e0a63292f37ed3c8280f0874c43470732db7..80d903c651ccc10596d88f665f8ea9a1465983e2 100644 (file)
@@ -125,6 +125,7 @@ generic_target=${cpu_type}-$vendor-$os
 case ${generic_target} in
   aarch64*-*-elf*)                     fmt=elf;;
   aarch64*-*-fuchsia*)                 fmt=elf;;
+  aarch64*-*-genode*)                  fmt=elf;;
   aarch64*-*-linux*)                   fmt=elf em=linux
     case ${cpu}-${os} in
       aarch64*-linux-gnu_ilp32)                arch=aarch64:32 ;;
@@ -142,7 +143,7 @@ case ${generic_target} in
 
   arm-*-phoenix*)                      fmt=elf ;;
   arm-*-elf)                           fmt=elf ;;
-  arm-*-eabi* | arm-*-rtems*)          fmt=elf em=armeabi ;;
+  arm-*-eabi* | arm-*-rtems* | arm-*-genode*)  fmt=elf em=armeabi ;;
   arm-*-symbianelf*)                   fmt=elf em=symbian ;;
   arm-*-kaos*)                         fmt=elf ;;
   arm-*-conix*)                                fmt=elf ;;
@@ -222,6 +223,7 @@ case ${generic_target} in
   i386-*-elfiamcu)                     fmt=elf arch=iamcu ;;
   i386-*-elf*)                         fmt=elf ;;
   i386-*-fuchsia*)                     fmt=elf ;;
+  i386-*-genode*)                      fmt=elf ;;
   i386-*-bsd*)                         fmt=aout em=386bsd ;;
   i386-*-netbsdpe*)                    fmt=coff em=pe ;;
   i386-*-netbsd*-gnu* | \
index a84da33f8a749c9559e85f77fc9aa28546b087de..6cf9d7007cdf370414b3c4a983017dde71d1b3b5 100644 (file)
@@ -1,3 +1,7 @@
+2021-02-01  Emery Hemingway  <ehmry@posteo.net>
+
+       * configure.tgt: Add *-*-genode* as a target for AArch64 and x86.
+
 2021-02-01  Alan Modra  <amodra@gmail.com>
 
        * ldgram.y (defsym_expr): Use assignment rule.
index 0c780b24d5773517d451e222f9d2d655f1a8f264..ee00aa3bca82d55a00be5fb1462f2e16dfb80e31 100644 (file)
@@ -46,7 +46,7 @@ case "${targ}" in
 aarch64_be-*-elf)      targ_emul=aarch64elfb
                        targ_extra_emuls="aarch64elf aarch64elf32 aarch64elf32b armelfb armelf"
                        ;;
-aarch64-*-elf | aarch64-*-rtems*)
+aarch64-*-elf | aarch64-*-rtems* | aarch64-*-genode*)
                        targ_emul=aarch64elf
                        targ_extra_emuls="aarch64elf32 aarch64elf32b aarch64elfb armelf armelfb"
                        ;;
@@ -148,7 +148,7 @@ arm-*-phoenix*)             targ_emul=armelf
 armeb-*-elf | armeb-*-eabi*)
                        targ_emul=armelfb
                        ;;
-arm-*-elf | arm*-*-eabi* | arm-*-rtems*)
+arm-*-elf | arm*-*-eabi* | arm-*-rtems* | arm-*-genode*)
                        targ_emul=armelf
                        ;;
 arm*-*-symbianelf*)    targ_emul=armsymbian;;
@@ -354,7 +354,7 @@ i[3-7]86-*-netbsdpe*)       targ_emul=i386pe
 i[3-7]86-*-elfiamcu)   targ_emul=elf_iamcu
                        targ_extra_emuls=elf_i386
                        ;;
-i[3-7]86-*-elf* | i[3-7]86-*-rtems*)
+i[3-7]86-*-elf* | i[3-7]86-*-rtems* | i[3-7]86-*-genode*)
                        targ_emul=elf_i386
                        targ_extra_emuls=elf_iamcu
                        ;;
@@ -969,7 +969,7 @@ x86_64-*-netbsd* | x86_64-*-openbsd*)
                                        sed -e 's/netbsd/netbsdelf/'`;;
                        esac
                        ;;
-x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia*)
+x86_64-*-elf* | x86_64-*-rtems* | x86_64-*-fuchsia* | x86_64-*-genode*)
                        targ_emul=elf_x86_64
                        targ_extra_emuls="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"
                        targ_extra_libpath="elf_i386 elf_iamcu elf32_x86_64 elf_l1om elf_k1om"