[PATCH] [ELF] Remove {ELF,}GNULinkerScript InputElements.
Rui Ueyama
ruiu at google.com
Sun Dec 14 06:39:21 PST 2014
No it's not. We could have handled a linker script using the Registry, but
it wouldn't fit well because the Registry is a mechanism to convert a file
to a File object. We could have generalized the Registry to cover the
linker script, but this is exactly what we are trying to eliminate right
now (an excessive abstraction).
Another (obvious) counter example is response file. This should naturally
be handled by the Driver. What this example means is that being an external
file doesn't always mean that the file should be handled through the
Registry mechanism.
On Sun, Dec 14, 2014 at 11:06 PM, Shankar Easwaran <
shankar.kalpathi.easwaran at gmail.com> wrote:
>
> It's best for the linker script to be handled through the registry.
>
>
> http://reviews.llvm.org/D6648
>
> EMAIL PREFERENCES
> http://reviews.llvm.org/settings/panel/emailpreferences/
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20141214/1c27eaf1/attachment.html>
More information about the llvm-commits
mailing list