aboutsummaryrefslogtreecommitdiff
path: root/llvm/tools/llvm-objdump/llvm-objdump.cpp
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-08-20 09:53:06 +0000
committerMartin Storsjo <martin@martin.st>2019-08-20 09:53:06 +0000
commitdadc6f24886844dc36e2c5a8d888faaaa08f0f49 (patch)
treee4e32a35ced3257be89c85a125dd4c45c1fdd678 /llvm/tools/llvm-objdump/llvm-objdump.cpp
parente64af75745ae3483ee3af15892adfeed461c2862 (diff)
downloadllvm-dadc6f24886844dc36e2c5a8d888faaaa08f0f49.zip
llvm-dadc6f24886844dc36e2c5a8d888faaaa08f0f49.tar.gz
llvm-dadc6f24886844dc36e2c5a8d888faaaa08f0f49.tar.bz2
[COFF] Allow using custom .edata from input object files
This is used by Wine for manually crafting export tables. If the input object contains .edata sections, GNU ld references them in the export directory instead of synthesizing an export table using either export directives or the normal auto export mechanism. (AFAIK, historically, way way back, GNU ld didn't support synthesizing the export table - one was supposed to generate it using dlltool and link it in instead.) If faced with --out-implib and --output-def, GNU ld still populates those output files with the same export info as it would have generated otherwise, disregarding the input .edata. As this isn't an intended usage combination, I'm not adding checks for that in tests. Differential Revision: https://reviews.llvm.org/D65903 llvm-svn: 369358
Diffstat (limited to 'llvm/tools/llvm-objdump/llvm-objdump.cpp')
0 files changed, 0 insertions, 0 deletions