[PATCH] D41037: Create reserved symbols early so they can be versioned

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Sun Dec 10 12:20:38 PST 2017


Dimitry Andric via Phabricator <reviews at reviews.llvm.org> writes:

> dim added a comment.
>
> When I patch lld trunk https://reviews.llvm.org/rL320307 with this, executables linked by it make readelf (from binutils 2.28) produce a warning:
>
>   readelf: Warning: [10]: Info field (0) should index a relocatable section.

I sent a patch for this as it happens without this patch.

> And I still don't see any `_end` symbol in the executable.

What executable? _end is only created when it is used. Do you have a
case where it is not created but should have been? If so that is very
likely an independent bug as this change only makes it possible to
version it when it is already being created.

Cheers,
Rafael




More information about the llvm-commits mailing list