diff options
author | Alexey Neyman <stilor@att.net> | 2017-03-12 20:49:46 -0700 |
---|---|---|
committer | Alan Modra <amodra@gmail.com> | 2017-03-13 17:51:38 +1030 |
commit | 4b5900d8b81522bd6ebe4d94d45dfb54d1982c62 (patch) | |
tree | da7ff40f6c7ca1c2ecc0f4436d63a4ee68c2b032 /ld/ldlang.c | |
parent | b9d62f893fcc0b4c36aad0552810dcde304979d0 (diff) | |
download | gdb-4b5900d8b81522bd6ebe4d94d45dfb54d1982c62.zip gdb-4b5900d8b81522bd6ebe4d94d45dfb54d1982c62.tar.gz gdb-4b5900d8b81522bd6ebe4d94d45dfb54d1982c62.tar.bz2 |
PowerPC: incorrect library search order
First, need to match against just the CPU name, not the whole triplet.
Otherwise, the test picks up "*le-*" pattern from x86_64-apple-darwin
triplet.
Second, it should be testing for $target, not $host. Host may be
little endian by default, and the sysroot directory layout shouldn't
depend on whether it is built on LE or BE machine.
* emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
cpu, not host.
Diffstat (limited to 'ld/ldlang.c')
0 files changed, 0 insertions, 0 deletions