This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: [PATCH] support binutils for OpenBSD


On Wed, Sep 12, 2001 at 12:47:15PM +0000, Kevin Lo wrote:
> Hi H.J.,
> 
> Here is patch for supporting OpenBSD arm platform.

Please send it to the binutils mailing list.

> 
> --- bfd/config.bfd.orig Wed Sep 12 10:55:03 2001
> +++ bfd/config.bfd      Wed Sep 12 10:57:09 2001
> @@ -103,7 +103,7 @@
>      targ_selvecs=bfd_elf32_bigarc_vec
>      ;;
> 
> -  arm-*-netbsd*)
> +  arm-*-netbsd* | arm-*-openbsd*)
>      targ_defvec=armnetbsd_vec
>      targ_underscore=yes
>      ;;
> --- gas/configure.orig  Wed Sep 12 11:05:51 2001
> +++ gas/configure       Wed Sep 12 11:07:15 2001
> @@ -2306,6 +2306,7 @@
>        arm*-*-linux-gnu* | arm*-*-uclinux*)
>                                         fmt=elf  em=linux ;;
>        arm-*-netbsd*)                   fmt=aout em=nbsd ;;
> +      arm-*-openbsd*)                  fmt=aout em=nbsd ;;
>        arm-*-oabi | thumb-*-oabi)        fmt=elf ;;
>        arm-epoc-pe | thumb-epoc-pe)      fmt=coff em=epoc-pe ;;
>        arm-*-wince)                     fmt=coff em=wince-pe ;;
> --- ld/configure.tgt.orig       Wed Sep 12 11:00:03 2001
> +++ ld/configure.tgt    Wed Sep 12 11:01:08 2001
> @@ -185,6 +185,7 @@
>  arm-*-vxworks)         targ_emul=armcoff ;;
>  arm-*-freebsd*)                targ_emul=armelf ;;
>  arm-*-netbsd*)         targ_emul=armnbsd ;;
> +arm-*-openbsd*)                targ_emul=armnbsd ;;
>  arm-*-rtems*)          targ_emul=armelf ;;
>  arm-*-elf)             targ_emul=armelf ;;
>  arm-*-oabi)            targ_emul=armelf_oabi ;;
> 
> Thanks,
> Kevin.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]