]> code.ossystems Code Review - openembedded-core.git/commit
insane: make GNU_HASH check slightly more robust (avoids false negatives with gold...
authorPhil Blundell <philb@gnu.org>
Thu, 14 Jul 2011 09:02:11 +0000 (10:02 +0100)
committerRichard Purdie <richard.purdie@linuxfoundation.org>
Thu, 14 Jul 2011 14:06:49 +0000 (15:06 +0100)
commit9adac72a77dafd2a203e29beec0b65f0ef5f2cb6
treedbc01d47bb2cb3a1e8487c4f0574928e4e6336ff
parentf9b50b50544385260e0fc86e11836ec689f0cdd6
insane: make GNU_HASH check slightly more robust (avoids false negatives with gold); add check for useless rpaths

It isn't safe to make assumptions about the order of the entries in the dynamic section.  Fix the ldflags test to cope with the case where GNU_HASH comes before NEEDED and/or INIT.

Also, add a new warning for binaries which contain useless (but benign) rpath entries pointing to the default search locations.

Signed-off-by: Phil Blundell <philb@gnu.org>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
meta/classes/insane.bbclass