Besides a trivial MIPS support the patch introduces new TargetInfo class member getDefEntryName() to override default name of the entry symbol. MIPS uses __start for that.
Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
Event Timeline
Comment Actions
LGTM with a nit.
ELF/SymbolTable.cpp | ||
---|---|---|
50–51 ↗ | (On Diff #35910) | These cases need to be sorted by ASCIIbetical order, but yeah, that should be done in a different patch. |
ELF/Target.h | ||
38 ↗ | (On Diff #35910) | It's probably a matter of taste, but I'd name DefaultEntry instead of DefEntryName. (Because the linker mainly handles names, "name" tend to be added everywhere, so I wouldn't add that in the first place.) |
ELF/SymbolTable.cpp | ||
---|---|---|
50–51 ↗ | (On Diff #35910) | Ah, I didn't notice that. We are using different names for valid reasons (386TargetInfo is not even a valid name!) Thank you for pointing that out. |