Make sure we ONLY add a `-load' switch to the JIT command line if the file is
authorMisha Brukman <brukman+llvm@gmail.com>
Mon, 24 Nov 2003 05:29:42 +0000 (05:29 +0000)
committerMisha Brukman <brukman+llvm@gmail.com>
Mon, 24 Nov 2003 05:29:42 +0000 (05:29 +0000)
commit3e15c7a9761b0db253fc74caef0902940fe9872a
tree38e14b08c54d286aba7eb0dcbdf6bce4b6781eea
parenta140b3c36759478d75618d63dc2b77592180dab8
Make sure we ONLY add a `-load' switch to the JIT command line if the file is
verified as having an ELF header. This fixes PR151.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@10195 91177308-0d34-0410-b5e6-96231b3b80d8
tools/gccld/gccld.cpp