gold, readelf: add experimental support for SHT_RELR sections.

This change adds experimental support for SHT_RELR sections, proposed
here: https://groups.google.com/forum/#!topic/generic-abi/bX460iggiKg

SHT_RELR sections are supported for arm, aarch64, and x86_64 targets.
To enable them, pass '--experimental-use-relr' flag to gold.

Definitions for the new ELF section type and dynamic array tags, as well
as the encoding used in the new section are all under discussion and are
subject to change. Use with caution!

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

Change-Id: Iefb4ef5ad95852f4964adf6c8e9b3708a9bdb5f8
19 files changed
tree: ba26bce1611e375c1e733f1e8dbf1e2b8dc3c2ca
  1. binutils-2.27/
  2. build.py
  3. OWNERS
  4. pylintrc