[PATCH] Add OpenBSD ARM Little Endian BFD support.

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Tue Aug 30 13:55:00 GMT 2022



On 27/08/2022 18:28, Frederic Cambus wrote:
> bfd/ChangeLog:
> 
> 2022-08-27  Frederic Cambus  <fred@statdns.com>
> 
> 	* config.bfd (arm-*-openbsd*): Add target.
> ---
>   bfd/config.bfd | 5 ++++-
>   1 file changed, 4 insertions(+), 1 deletion(-)
> 
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index 8c7be5da38a..0a47bf0484c 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -90,7 +90,6 @@ case $targ in
>    arm*-*-aout | \
>    arm-*-coff | \
>    arm*-*-netbsdaout* | \
> - arm-*-openbsd* | \
>    arm-*-oabi | \
>    arm-*-riscix* | \
>    arm*-*-symbianelf* | \
> @@ -387,6 +386,10 @@ case "${targ}" in
>       targ_defvec=arm_elf32_le_vec
>       targ_selvecs="arm_elf32_be_vec"
>       ;;
> +  arm-*-openbsd*)
> +    targ_defvec=arm_elf32_le_vec
> +    targ_selvecs="arm_elf32_be_vec"
> +    ;;
>     arm-*-nto* | nto*arm*)
>       targ_defvec=arm_elf32_le_vec
>       targ_selvecs=arm_elf32_be_vec
> 

This is exactly the same content as the entry directly above it 
(netbsd), so please merge the two.  It's a maintenance burden to have a 
lot of duplicated entries.

R.


More information about the Binutils mailing list