This is the mail archive of the binutils@sourceware.org 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]
Other format: [Raw text]

Re: is_underscore_target for ld-elf tests


On Mon, 19 Jun 2017, Alan Modra wrote:
> On Sun, Jun 18, 2017 at 11:47:37PM -0400, Hans-Peter Nilsson wrote:
> > I don't remember why I had it
> > set uniformly to yes.  Maybe way back, it didn't matter.

(I think it was because the set of bfd-vectors are the same
including the default - arguably confusing - but I guess that's
not important.  JFTR, the aout-stuff is kept just for inspection
purposes, in case someone finds some old object file.)

>
> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index f8a26f4..dc24aab 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -500,15 +500,13 @@ case "${targ}" in
>      targ_underscore=yes
>      ;;
>
> -  cris-*-*)
> -    targ_defvec=cris_aout_vec
> -    targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
> -    targ_underscore=yes
> -    ;;
> -
> -  crisv32-*-*)
> +  cris-*-* | crisv32-*-*)
>      targ_defvec=cris_aout_vec
>      targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
> +    case "${targ}" in
> +	*-*-linux*) ;;
> +	*) targ_underscore=yes ;;
> +    esac
>      ;;

LGTM, thanks.

brgds, H-P


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