gold: simpler encoding for SHT_RELR sections.

This change modifies the encoding used in SHT_RELR sections to a simpler
version that gives better results. This encoding was suggested by Andrew
Grieve and is described in this post on generic-abi@googlegroups.com:
    https://groups.google.com/d/msg/generic-abi/bX460iggiKg/Pi9aSwwABgAJ

Bug: None
Test: 'gold --experimental-use-relr' creates PIE binaries with
      '.relr.dyn' sections to store relative relocations using
      the new encoding.

Change-Id: I0dd0a7e0767210d06f29a86b97c5caded05b91e9
2 files changed
tree: d7c160d5e6cf21fb8f02c874dd75ef7efe69c0e7
  1. binutils-2.27/
  2. build.py
  3. OWNERS
  4. pylintrc