[PATCH] PowerPC: incorrect library search order?

Alan Modra amodra@gmail.com
Mon Mar 13 09:05:00 GMT 2017


On Sun, Mar 12, 2017 at 08:49:46PM -0700, Alexey Neyman wrote:
> 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.

I wonder how many more of these are lurking.  I fixed some with
4811ccb48.

> 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.

Thanks.  Applied with this changelog.

2017-03-13  Alexey Neyman  <stilor@att.net>

	* emulparams/elf32ppccommon.sh (LIBPATH_SUFFIX): Set from target
	cpu, not host.

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list