Contents of /trunk/binutils/patches/binutils-2.20.51.0.2-lib64-first.patch
Parent Directory | Revision Log
Revision 1552 -
(show annotations)
(download)
Mon Nov 7 17:20:07 2011 UTC (12 years, 10 months ago) by niro
File size: 690 byte(s)
Mon Nov 7 17:20:07 2011 UTC (12 years, 10 months ago) by niro
File size: 690 byte(s)
added fedora multilib patches
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 | --- ../binutils-2.19.50.0.1.orig/ld/emulparams/elf64_ia64.sh 2008-11-21 16:45:00.000000000 +0000 |
7 | +++ 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 |