[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: binutils 2.13.2.1 glitches
From: |
Nick Clifton |
Subject: |
Re: binutils 2.13.2.1 glitches |
Date: |
Wed, 21 May 2003 13:55:43 +0100 |
User-agent: |
Gnus/5.1001 (Gnus v5.10.1) Emacs/21.2 (gnu/linux) |
Hi Marcus,
> I just compiled binutils 2.13.2.1 natively on my SEGA Dreamcast
> running NetBSD 1.6. It mostly when smoothly, but I encountered
> three problems, described below. The host triplet is
> `shl-unknown-netbsdelf1.6T' (autodetected by configure).
Thank you for reporting these problems. I have applied your patch to
ld/configure.tgt together with a similar patch to bfd/config.bfd to
fix problem #1.
> #3.
>
> /usr/lib is not added to SEARCH_DIR in the ldscripts (only
> "/usr/local/shl-unknown-netbsdelf1.6T/lib" is there). This seems to
> be the same bug as #2 actually; since the default emulation is set to
> "shelf_nbsd" the SEARCH_DIR attributes are added to shelf_nbsd.x, but
> not to shlelf_nbsd.x which is the one I need to use.
I do not know if this problem will be fixed by these patches. I do
not have access to a native SHL system to test this, so I will leave
it up to you to check.
Cheers
Nick
bfd/ChangeLog
2003-05-21 Marcus Comstedt <address@hidden>
* config.bfd: Check for a target triplet of shl-...-netbsdelf as
well as shle-...-netbsdelf. Remove duplicate entry.
ld/ChangeLog
2003-05-21 Marcus Comstedt <address@hidden>
* configure.tgt: Check for a target triplet of shl-...-netbsdelf
as well as shle-...-netbsdelf.
Index: bfd/config.bfd
===================================================================
RCS file: /cvs/src/src/bfd/config.bfd,v
retrieving revision 1.132
diff -c -3 -p -w -r1.132 config.bfd
*** bfd/config.bfd 16 May 2003 16:30:19 -0000 1.132
--- bfd/config.bfd 21 May 2003 12:55:57 -0000
*************** case "${targ}" in
*** 1016,1031 ****
;;
#endif
! shle-*-netbsdelf*)
targ_defvec=bfd_elf32_shlnbsd_vec
targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
#ifdef BFD64
targ_selvecs="${targ_selvecs} bfd_elf32_sh64lnbsd_vec
bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
#endif
- ;;
- sh*le-*-netbsdelf*)
- targ_defvec=bfd_elf32_shlnbsd_vec
- targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
;;
sh-*-netbsdelf*)
targ_defvec=bfd_elf32_shnbsd_vec
--- 1016,1027 ----
;;
#endif
! sh*l*-*-netbsdelf*)
targ_defvec=bfd_elf32_shlnbsd_vec
targ_selvecs="bfd_elf32_shnbsd_vec shcoff_vec shlcoff_vec"
#ifdef BFD64
targ_selvecs="${targ_selvecs} bfd_elf32_sh64lnbsd_vec
bfd_elf32_sh64nbsd_vec bfd_elf64_sh64lnbsd_vec bfd_elf64_sh64nbsd_vec"
#endif
;;
sh-*-netbsdelf*)
targ_defvec=bfd_elf32_shnbsd_vec
Index: ld/configure.tgt
===================================================================
RCS file: /cvs/src/src/ld/configure.tgt,v
retrieving revision 1.127
diff -c -3 -p -w -r1.127 configure.tgt
*** ld/configure.tgt 16 May 2003 16:30:27 -0000 1.127
--- ld/configure.tgt 21 May 2003 12:55:58 -0000
*************** sh64-*-netbsd*)
*** 307,313 ****
targ_emul=shelf64_nbsd
targ_extra_emuls="shlelf64_nbsd shelf32_nbsd
shlelf32_nbsd shelf_nbsd shlelf_nbsd"
;;
! sh*le-*-netbsdelf*)
targ_emul=shlelf_nbsd
targ_extra_emuls=shelf_nbsd
;;
--- 307,313 ----
targ_emul=shelf64_nbsd
targ_extra_emuls="shlelf64_nbsd shelf32_nbsd
shlelf32_nbsd shelf_nbsd shlelf_nbsd"
;;
! sh*l*-*-netbsdelf*)
targ_emul=shlelf_nbsd
targ_extra_emuls=shelf_nbsd
;;