[PATCH] D73542: [LLD][ELF][ARM] Do not substitute BL/BLX for non STT_FUNC symbols.
Nico Weber via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Feb 7 12:44:52 PST 2020
thakis added a comment.
Here's a post where the discussion is basically:
Q: Hey, what's .type?
A: Don't know, probably don't need it
A2: As of recently you do need it for some linkers, with a link to https://sourceware.org/ml/binutils/2012-03/msg00125.html
https://stackoverflow.com/questions/4423211/when-are-gas-elf-the-directives-type-thumb-size-and-section-needed
(The discussion is from 2012.)
This is hit 2 for the query "gas type arm assembly".
So I'm not super hopeful about .type annotations in assembly code usually being correct.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D73542/new/
https://reviews.llvm.org/D73542
More information about the llvm-commits
mailing list