diff options
author | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-07-27 11:13:58 +0200 |
---|---|---|
committer | Ard Biesheuvel <ard.biesheuvel@linaro.org> | 2016-08-02 10:54:11 +0200 |
commit | 7fd5d619806df5e5b9bdbd0cfe14580040ea3615 (patch) | |
tree | be7b8713adb19c2c64adffb16130d95c8967fa70 /MdePkg | |
parent | e1458aaded8e34b0c74c1a17ac1dc3765d97c082 (diff) | |
download | edk2-platforms-7fd5d619806df5e5b9bdbd0cfe14580040ea3615.tar.xz |
BaseTools GCC: drop GNU notes section from EFI image
Recent versions of GNU ld automatically emit a .notes section into
the ELF binary containing a build id. Since this is an allocatable
section by default, it will be identified by GenFw as a section
that requires PE/COFF conversion, which may cause sections to be
moved around unexpectedly.
So retain the section, but tag it as INFO, which tells the linker
that it should not be accounted for in the binary's memory layout.
Contributed-under: TianoCore Contribution Agreement 1.0
Signed-off-by: Ard Biesheuvel <ard.biesheuvel@linaro.org>
Acked-by: Jordan Justen <jordan.l.justen@intel.com>
Reviewed-by: Liming Gao <liming.gao@intel.com>
Diffstat (limited to 'MdePkg')
0 files changed, 0 insertions, 0 deletions