[PATCH] Remove kindInGroup reference

Rui Ueyama ruiu at google.com
Mon Jan 26 16:35:20 PST 2015

All atoms in the same section already have kindAfter references, so that
all of them are added and removed as a group. So we don't need another
references to make them a group.

On Mon, Jan 26, 2015 at 4:26 PM, kledzik at apple.com <kledzik at apple.com>

> From what I recall, ELF has the semantics that you cannot just remove an
> atom in the middle of a section, because there is not enough relocations in
> the section to fix up the remaining (e.g CALLs to static functions in the
> same section don't have relocations on them, so if the distance changed
> because some atom between the two was removed, the CALL now be to the new
> location). The group reference was a way to keep all atoms in a section
> together.
> http://reviews.llvm.org/D7189
>   http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150126/b2fc5706/attachment.html>

More information about the llvm-commits mailing list