Fix infinite loop when processing rpath tokens.
authorNick Clifton <nickc@redhat.com>
Mon, 7 Nov 2016 15:05:34 +0000 (15:05 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 7 Nov 2016 15:05:34 +0000 (15:05 +0000)
commite680a6b69b4bd173a180419e973a9bf18a000151
treee79fd3a4ca05f3648e3fce4f52c88369be1d2cb3
parent9af89fbaecca21b2ca34c142584165066807fb10
Fix infinite loop when processing rpath tokens.

PR ld/20784
* emultempl/elf32.em (search_needed): Fix infinite loop when
unable to process a token.  Add support for curly braced enclosed
tokens.
* ld.texinfo (--rpath-link): Document supprot for $ORIGIN and
$LIB.
ld/ChangeLog
ld/emultempl/elf32.em
ld/ld.texinfo