RDOS updates in binutils, request for patch

Leif Ekblad leif@rdos.net
Tue Nov 20 20:45:00 GMT 2012


OK, I've revised and retested new patches.

config.sub:

*** config.sub.old 2012-11-20 19:51:30.000000000 +0100
--- config.sub 2012-11-20 20:29:36.000000000 +0100
***************
*** 1020,1028 ****
--- 1020,1036 ----
    os=-pw32
    ;;
   rdos)
+   basic_machine=x86_64-pc
+   os=-rdos
+   ;;
+  rdos32)
    basic_machine=i386-pc
    os=-rdos
    ;;
+  rdos64)
+   basic_machine=x86_64-pc
+   os=-rdos
+   ;;
   rom68k)
    basic_machine=m68k-rom68k
    os=-coff

bfd/config.bfd:

*** config.bfd.old 2012-09-04 16:15:00.000000000 +0200
--- config.bfd 2012-11-20 21:21:10.000000000 +0100
***************
*** 660,665 ****
--- 660,670 ----
      want64=true
      targ_underscore=no
      ;;
+   x86_64-*-rdos*)
+     targ_defvec=bfd_elf64_x86_64_vec
+     targ_selvecs="bfd_elf32_i386_vec bfd_elf64_l1om_vec 
bfd_elf64_k1om_vec"
+     want64=true
+     ;;
  #endif
    i[3-7]86-*-lynxos*)
      targ_defvec=bfd_elf32_i386_vec

ld/configure.tgt:

*** configure.tgt.old 2012-09-04 14:53:48.000000000 +0200
--- configure.tgt 2012-11-20 21:20:08.000000000 +0100
***************
*** 198,203 ****
--- 198,204 ----
  i[3-7]86-*-rtems*) targ_emul=elf_i386 ;;
  i[3-7]86-*-aros*) targ_emul=elf_i386 ;;
  i[3-7]86-*-rdos*) targ_emul=elf_i386 ;;
+ x86_64-*-rdos*)     targ_emul=elf_x86_64 ;;
  i[3-7]86-*-bsd)  targ_emul=i386bsd ;;
  i[3-7]86-*-bsd386) targ_emul=i386bsd ;;
  i[3-7]86-*-bsdi*) targ_emul=i386bsd ;;

Regards,
Leif Ekblad


----- Original Message ----- 
From: "Alan Modra" <amodra@gmail.com>
To: "Leif Ekblad" <leif@rdos.net>
Cc: <binutils@sourceware.org>
Sent: Tuesday, November 20, 2012 1:04 AM
Subject: Re: RDOS updates in binutils, request for patch


> On Sat, Nov 17, 2012 at 09:50:45PM +0100, Leif Ekblad wrote:
>> I've decided to move to the x86-64 target for rdos, and thus need
>> the following rdos-patches to be applied to binutils:
>
> For consistency with other targets, and for backward
> compatibility, you should add a new x86_64-pc-rdos target rather than
> changing the existing i*86-pc-rdos target like this.
>
> -- 
> Alan Modra
> Australia Development Lab, IBM 



More information about the Binutils mailing list