We have several pieces of assembly code which have something like following
.Lablel: _GLOBAL_OFFSET_TABLE_ - .Label
it works fine with ld/gold, but fails to link with lld (relocation cannot refer to absolute symbol)
Also this patch sets correct value for _GLOBAL_OFFSET_TABLE_, this is why one of existing test changed.
Add a comment saying that a relative relocation against the beginning of .got can always be computed at link-time as each ELF module has its own .got section.