aboutsummaryrefslogtreecommitdiff
path: root/ld/emulparams
diff options
context:
space:
mode:
authorNick Clifton <nickc@redhat.com>2006-07-24 18:18:19 +0000
committerNick Clifton <nickc@redhat.com>2006-07-24 18:18:19 +0000
commitff15b24025763b5e8c609fc1ec15af3091a52133 (patch)
treeab4e92cca847a85b912e856d936a9e0a6e6d0178 /ld/emulparams
parent4e22f78d855c28e90d785d10a5449263df88148f (diff)
downloadgdb-ff15b24025763b5e8c609fc1ec15af3091a52133.zip
gdb-ff15b24025763b5e8c609fc1ec15af3091a52133.tar.gz
gdb-ff15b24025763b5e8c609fc1ec15af3091a52133.tar.bz2
* emulparams/elf_x86_64.sh (LIBPATH_SUFFIX, ELF_INTERPRETER_NAME): Set for *-*-solaris2*.
* elf.c (bfd_section_from_shdr): Reject unrecognised OS-specific sections only if the SHF_OS_NONCONFORMING flag is present.
Diffstat (limited to 'ld/emulparams')
-rw-r--r--ld/emulparams/elf_x86_64.sh6
1 files changed, 5 insertions, 1 deletions
diff --git a/ld/emulparams/elf_x86_64.sh b/ld/emulparams/elf_x86_64.sh
index f9ed236..3ed0203 100644
--- a/ld/emulparams/elf_x86_64.sh
+++ b/ld/emulparams/elf_x86_64.sh
@@ -22,7 +22,7 @@ if [ "x${host}" = "x${target}" ]; then
esac
fi
-# Linux modify the default library search path to first include
+# Linux/Solaris modify the default library search path to first include
# a 64-bit specific directory.
case "$target" in
x86_64*-linux*)
@@ -30,4 +30,8 @@ case "$target" in
*64*) LIBPATH_SUFFIX=64 ;;
esac
;;
+ *-*-solaris2*)
+ LIBPATH_SUFFIX=/amd64
+ ELF_INTERPRETER_NAME=\"/lib/amd64/ld.so.1\"
+ ;;
esac