[PATCH] Add OpenBSD ARM Little Endian BFD support.

Richard Earnshaw Richard.Earnshaw@foss.arm.com
Thu Sep 1 09:43:25 GMT 2022



On 31/08/2022 23:12, Frederic Cambus wrote:
> On Tue, Aug 30, 2022 at 02:55:00PM +0100, Richard Earnshaw wrote:
> 
>> On 27/08/2022 18:28, Frederic Cambus wrote:
> 
>>> +  arm-*-openbsd*)
>>> +    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.
> 
> Makes sense, and note taken. Revised diff inline below, and full patch
> attached for convenience.

Thanks, this is OK.

R.

> 
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index 8c7be5da38a..a79a0e2bf5b 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* | \
> @@ -383,7 +382,7 @@ case "${targ}" in
>       targ_defvec=arm_elf32_be_vec
>       targ_selvecs="arm_elf32_le_vec"
>       ;;
> -  arm-*-netbsd*)
> +  arm-*-netbsd* | arm-*-openbsd*)
>       targ_defvec=arm_elf32_le_vec
>       targ_selvecs="arm_elf32_be_vec"
>       ;;
> 


More information about the Binutils mailing list