Make the default dynamic linker pathname correct for FreeBSD.

I had resisted this for a while because I didn't want to take these
file off the vendor branch.  But it turns out they were already off
the vendor branch anyway.

PR:		gnu/9987
Submitted by:	Vladimir Kushnir <kushn@mail.kar.net>
Approved by:	jkh
This commit is contained in:
John Polstra 2000-02-24 05:46:27 +00:00
parent 661d673484
commit d8b6bfecaf
2 changed files with 6 additions and 2 deletions

View file

@ -17,6 +17,8 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* $FreeBSD$ */
#include "bfd.h"
#include "sysdep.h"
#include "bfdlink.h"
@ -249,7 +251,7 @@ elf_i386_is_local_label_name (abfd, name)
/* The name of the dynamic interpreter. This is put in the .interp
section. */
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
/* The size in bytes of an entry in the procedure linkage table. */

View file

@ -18,6 +18,8 @@ You should have received a copy of the GNU General Public License
along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
/* $FreeBSD$ */
/* We need a published ABI spec for this. Until one comes out, don't
assume this'll remain unchanged forever. */
@ -1030,7 +1032,7 @@ elf64_alpha_info_to_howto (abfd, cache_ptr, dst)
#define MAX_GOT_ENTRIES (64*1024 / 8)
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
/* Handle an Alpha specific section when reading an object file. This
is called when elfcode.h finds a section with an unknown type.