]>
Commit | Line | Data |
---|---|---|
59e455fe ER |
1 | 2004-05-14 Jakub Jelinek <jakub@redhat.com> |
2 | ||
3 | * emulparams/elf64_ia64.sh (LIBPATH_SUFFIX): Use */lib64 paths on | |
4 | ia64-linux if /lib64 tree is present. | |
5 | ||
6 | --- a/ld/emulparams/elf64_ia64.sh 2008-11-21 16:45:00.000000000 +0000 | |
7 | +++ b/ld/emulparams/elf64_ia64.sh 2008-11-21 16:55:46.000000000 +0000 | |
8 | @@ -38,3 +38,13 @@ OTHER_READONLY_SECTIONS="${OTHER_READONL | |
9 | SMALL_DATA_CTOR=" " | |
10 | SMALL_DATA_DTOR=" " | |
11 | SHARABLE_SECTIONS=yes | |
12 | + | |
13 | +# For Linux modify the default library search path | |
14 | +# to first include a 64-bit specific directory. | |
15 | +case "$target" in | |
16 | + ia64*-linux*) | |
17 | + case "$EMULATION_NAME" in | |
18 | + *64*) test -d /lib64 && LIBPATH_SUFFIX=64 ;; | |
19 | + esac | |
20 | + ;; | |
21 | +esac |