IA16 support
authorAndrew Jenner <andrew@codesourcery.com>
Mon, 3 Apr 2017 16:13:19 +0000 (09:13 -0700)
committerAndrew Jenner <andrew@codesourcery.com>
Mon, 3 Apr 2017 16:13:19 +0000 (09:13 -0700)
       * config.sub: Handle ia16 in $basic_machine.

       bfd/
       * config.bfd: Handle ia16.

       gas/
       * configure.tgt: Handle ia16.

       ld/
       * configure.tgt: Handle ia16.

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

index 8565325c90c0a79bdca66eb09809ed487cc45672..bb87497f1d9d09aa2c43ff9fbb024a14ce796a43 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,16 @@
+2017-04-03  Andrew Jenner  <andrew@codesourcery.com>
+
+       * config.sub: Handle ia16 in $basic_machine.
+
+       bfd/
+       * config.bfd: Handle ia16.
+
+       gas/
+       * configure.tgt: Handle ia16.
+
+       ld/
+       * configure.tgt: Handle ia16.
+
 2017-03-22  Nick Clifton  <nickc@redhat.com>
 
        * config.sub: Sync with master version in config project.
index 1235c2cb86d6bab30747c8ca6886a2a9f88530ce..b00958da439ec844374325ff9432c486a91bc742 100644 (file)
@@ -173,6 +173,7 @@ fido*)               targ_archs=bfd_m68k_arch ;;
 hppa*)          targ_archs=bfd_hppa_arch ;;
 i[3-7]86)       targ_archs=bfd_i386_arch ;;
 i370)           targ_archs=bfd_i370_arch ;;
+ia16)           targ_archs=bfd_i386_arch ;;
 lm32)           targ_archs=bfd_lm32_arch ;;
 m6811*|m68hc11*) targ_archs="bfd_m68hc11_arch bfd_m68hc12_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;;
 m6812*|m68hc12*) targ_archs="bfd_m68hc12_arch bfd_m68hc11_arch bfd_m9s12x_arch bfd_m9s12xg_arch" ;;
@@ -906,6 +907,11 @@ case "${targ}" in
     targ_selvecs="icoff_le_vec icoff_be_vec"
     ;;
 
+  ia16-*-elf)
+    targ_defvec=i386_elf32_vec
+    targ_selvecs="i386_msdos_vec i386_aout_vec"
+    ;;
+
   ip2k-*-elf)
     targ_defvec=ip2k_elf32_vec
     ;;
index 8ac8a030014516789caa0680d445361963f62988..b3ed1f08f5e90a2b745f5efcf809fb8e3c84cd10 100755 (executable)
@@ -263,7 +263,7 @@ case $basic_machine in
        | fido | fr30 | frv | ft32 \
        | h8300 | h8500 | hppa | hppa1.[01] | hppa2.0 | hppa2.0[nw] | hppa64 \
        | hexagon \
-       | i370 | i860 | i960 | ia64 \
+       | i370 | i860 | i960 | ia64 | ia16 \
        | ip2k | iq2000 \
        | k1om \
        | le32 | le64 \
index 6000c7c202e25490e397c5439fc882ca72622602..ca58b69d001e307269ce12adc562433357255dab 100644 (file)
@@ -62,6 +62,7 @@ case ${cpu} in
   fido)                        cpu_type=m68k ;;
   hppa*)               cpu_type=hppa ;;
   i[3-7]86)            cpu_type=i386 arch=i386;;
+  ia16)                        cpu_type=i386 arch=i386;;
   ia64)                        cpu_type=ia64 ;;
   ip2k)                        cpu_type=ip2k endian=big ;;
   iq2000)              cpu_type=iq2000 endian=big ;;
@@ -292,6 +293,8 @@ case ${generic_target} in
 
   i960-*-elf*)                         fmt=elf ;;
 
+  ia16-*-elf*)                         fmt=elf ;;
+
   ia64-*-elf*)                         fmt=elf ;;
   ia64-*-*vms*)                                fmt=elf em=vms ;;
   ia64-*-aix*)                         fmt=elf em=ia64aix ;;
index 8e34b1faa3bd79fe2954d0560ca4d451b343e5d4..895f0fb6745c27b49d76cbdc647a4acecd0341cc 100644 (file)
@@ -408,6 +408,7 @@ i960-*-coff)                targ_emul=gld960coff ;;
 i960-intel-nindy)      targ_emul=gld960 ;;
 i960-*-elf*)           targ_emul=elf32_i960
                        ;;
+ia16-*-elf*)           targ_emul=elf_i386 targ_extra_emuls=i386msdos ;;
 ia64-*-elf*)           targ_emul=elf64_ia64 ;;
 ia64-*-freebsd* | ia64-*-kfreebsd*-gnu)
                        targ_emul=elf64_ia64_fbsd