[llvm-dev] Handling of section vs global name conflicts

Rafael EspĂ­ndola via llvm-dev llvm-dev at lists.llvm.org
Tue Mar 22 07:20:46 PDT 2016


On 22 March 2016 at 10:18, Joerg Sonnenberger via llvm-dev
<llvm-dev at lists.llvm.org> wrote:
> On Fri, Mar 18, 2016 at 01:25:17PM -0700, Evgenii Stepanov via llvm-dev wrote:
>> Another option is to allow the conflict, and make the global always
>> override the section symbol. This is easy to do in the integrated
>> assembler, but it appears that GAS simply does not work this way.
>
> Don't we have a similar case for STT_FILE already?

We do, yes.
In summary my suggestion is doing something similar for STT_SECTION.

Cheers,
Rafael


More information about the llvm-dev mailing list