Slight cleaner code that may be more palatable to the Binutils maintainers.

This commit is contained in:
David E. O'Brien 2000-04-12 03:43:09 +00:00
parent ba6614d32c
commit 75d7a3c3bc
2 changed files with 8 additions and 0 deletions

View File

@ -251,7 +251,11 @@ elf_i386_is_local_label_name (abfd, name)
/* The name of the dynamic interpreter. This is put in the .interp
section. */
#if defined(__FreeBSD__)
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
#else
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/libc.so.1"
#endif
/* The size in bytes of an entry in the procedure linkage table. */

View File

@ -1032,7 +1032,11 @@ elf64_alpha_info_to_howto (abfd, cache_ptr, dst)
#define MAX_GOT_ENTRIES (64*1024 / 8)
#if defined(__FreeBSD__)
#define ELF_DYNAMIC_INTERPRETER "/usr/libexec/ld-elf.so.1"
#else
#define ELF_DYNAMIC_INTERPRETER "/usr/lib/ld.so"
#endif
/* Handle an Alpha specific section when reading an object file. This
is called when elfcode.h finds a section with an unknown type.