Fix bug in -nostdlib.
authorRui Ueyama <ruiu@google.com>
Thu, 8 Sep 2016 23:26:54 +0000 (23:26 +0000)
committerRui Ueyama <ruiu@google.com>
Thu, 8 Sep 2016 23:26:54 +0000 (23:26 +0000)
commit86c5fb8296dde8a927b9e1630e89037b4bbfd26e
treefa684015c676d54653d96ce8c09d58b4b63a8d0c
parentec6a774ed23d99be19466e2c65e2d28b3cf4ca7f
Fix bug in -nostdlib.

We still have to skip a token inside SEARCH_DIR() when -nostdlib is
specified. Previuosly, we didn't skip it, so it caused a parse error.

llvm-svn: 281001
lld/ELF/LinkerScript.cpp
lld/test/ELF/libsearch.s