Displaying 13 results from an estimated 13 matches for "d40849".
2018 Jan 19
1
Linker Option support for ELF
For those interested, I've updated the patch on D40849. It is
significantly simpler, emitting the options as pairs of C-style strings in
a section named `.linker-options` as the agreement here was.
On Fri, Jan 12, 2018 at 8:41 PM, Rui Ueyama via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> On Fri, Jan 12, 2018 at 5:56 PM, Cary Coutant vi...
2019 Mar 14
11
RFC: ELF Autolinking
...ia embedding strings,
which specify linker behavior, into a .linker-options section in
relocatable object files, see:
RFC - http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
LLVM -
https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
https://reviews.llvm.org/D40849
Clang -
https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
https://reviews.llvm.org/D42758
However, although support was added to Clang and LLVM, no support has been
implemented in LLD; and, I get the sense, from reading the reviews, that
there wasn't...
2019 Mar 14
3
RFC: ELF Autolinking
...into a .linker-options section in
>> relocatable object files, see:
>>
>> RFC - http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>> LLVM -
>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>> https://reviews.llvm.org/D40849
>> Clang -
>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>> https://reviews.llvm.org/D42758
>>
>> However, although support was added to Clang and LLVM, no support has
>> been implemented in LLD; and, I get the s...
2019 Mar 14
2
RFC: ELF Autolinking
...into a .linker-options section in
>> relocatable object files, see:
>>
>> RFC - http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>> LLVM -
>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>> https://reviews.llvm.org/D40849
>> Clang -
>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>> https://reviews.llvm.org/D42758
>>
>> However, although support was added to Clang and LLVM, no support has
>> been implemented in LLD; and, I get the s...
2018 Jan 13
0
Linker Option support for ELF
On Fri, Jan 12, 2018 at 5:56 PM, Cary Coutant via llvm-dev <
llvm-dev at lists.llvm.org> wrote:
> > Given how ELF works I would expect an unknown section to simply end up
> > in the output, but we can use SHF_EXCLUDE to avoid that.
>
> Yes, gold currently treats unknown section types pretty much the same
> as PROGBITS sections. The SHF_ALLOCATE and SHF_EXCLUDE flags
2019 Mar 19
2
RFC: ELF Autolinking
...t; relocatable object files, see:
>>>>
>>>> RFC - http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>>>> LLVM -
>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>> https://reviews.llvm.org/D40849
>>>> Clang -
>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>> https://reviews.llvm.org/D42758
>>>>
>>>> However, although support was added to Clang and LLVM, no support has
>>&g...
2018 Jan 13
2
Linker Option support for ELF
> Given how ELF works I would expect an unknown section to simply end up
> in the output, but we can use SHF_EXCLUDE to avoid that.
Yes, gold currently treats unknown section types pretty much the same
as PROGBITS sections. The SHF_ALLOCATE and SHF_EXCLUDE flags would
control where and whether the section goes into the output file.
Another thing that we need to work out is the link order.
2019 Mar 21
3
RFC: ELF Autolinking
...t;>>>> RFC -
>>>>>> http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>>>>>> LLVM -
>>>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>>>> https://reviews.llvm.org/D40849
>>>>>> Clang -
>>>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>>>> https://reviews.llvm.org/D42758
>>>>>>
>>>>>> However, although support was added to C...
2019 Mar 25
3
RFC: ELF Autolinking
...;>>>>>> http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>>>>>>>> LLVM -
>>>>>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>>>>>> https://reviews.llvm.org/D40849
>>>>>>>> Clang -
>>>>>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>>>>>> https://reviews.llvm.org/D42758
>>>>>>>>
>>>>>>>>...
2019 Mar 25
2
RFC: ELF Autolinking
...;>>>>>> http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>>>>>>>> LLVM -
>>>>>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>>>>>> https://reviews.llvm.org/D40849
>>>>>>>> Clang -
>>>>>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>>>>>> https://reviews.llvm.org/D42758
>>>>>>>>
>>>>>>>>...
2019 Mar 26
2
RFC: ELF Autolinking
...; http://lists.llvm.org/pipermail/llvm-dev/2018-January/120101.html
>>>>>>>>>> LLVM -
>>>>>>>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>>>>>>>> https://reviews.llvm.org/D40849
>>>>>>>>>> Clang -
>>>>>>>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>>>>>>>> https://reviews.llvm.org/D42758
>>>>>>>>>>
&...
2019 Mar 27
4
RFC: ELF Autolinking
...pipermail/llvm-dev/2018-January/120101.html
>>>>>>>>>>>> LLVM -
>>>>>>>>>>>> https://llvm.org/docs/Extensions.html#linker-options-section-linker-options,
>>>>>>>>>>>> https://reviews.llvm.org/D40849
>>>>>>>>>>>> Clang -
>>>>>>>>>>>> https://clang.llvm.org/docs/LanguageExtensions.html#specifying-linker-options-on-elf-targets,
>>>>>>>>>>>> https://reviews.llvm.org/D42758
>>>>&g...
2018 Jan 04
8
Linker Option support for ELF
Hello all,
There was some interest from a number of a few people about adding support
for embedded linker options to ELF. This would be an extension that
requires linker support to actually work, but has significant prior art
with PE/COFF as well as MachO both having support for this.
The desire here is to actually add support to LLVM to pass along the
necessary information into the object