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 Sun, 18 Jun 2017, Alan Modra wrote:

> and correct targ_underscore in config.bfd.
>
> bfd/
> 	* config.bfd: Correct targ_underscore for epiphany, ip2k,
> 	m32c, mn10200, pru, rl78, rx, crisv32 and v850.

Um...

> diff --git a/bfd/config.bfd b/bfd/config.bfd
> index d0b509d..f8a26f4 100644
> --- a/bfd/config.bfd
> +++ b/bfd/config.bfd
> @@ -500,10 +500,15 @@ case "${targ}" in
>      targ_underscore=yes
>      ;;
>
> -  cris-*-* | crisv32-*-*)
> +  cris-*-*)
> +    targ_defvec=cris_aout_vec
> +    targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
> +    targ_underscore=yes
> +    ;;
> +
> +  crisv32-*-*)
>      targ_defvec=cris_aout_vec
>      targ_selvecs="cris_elf32_us_vec cris_elf32_vec ieee_vec"
> -    targ_underscore=yes # Note: not true for cris_elf32_vec.
>      ;;
>

No, this is just as wrong.  crisv32-* and cris-* are the same
wrt. underscoreness: true for *-elf (and *-aout which nobody
uses), false for *-linux-gnu.  I don't remember why I had it
set uniformly to yes.  Maybe way back, it didn't matter.

brgds, H-P


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