diff options
author | Sandra Loosemore <sandra@codesourcery.com> | 2019-12-05 16:36:22 -0500 |
---|---|---|
committer | Sandra Loosemore <sandra@gcc.gnu.org> | 2019-12-05 16:36:22 -0500 |
commit | 38e078da6c4f4e0c21f5973eb9d8f8a87cabbc5e (patch) | |
tree | 0223e7bf6a44cc595519d9653bcc9a65dcb3613d /gcc/go | |
parent | a414fd426346558d7a913af3ed82bcc1121fc880 (diff) | |
download | gcc-38e078da6c4f4e0c21f5973eb9d8f8a87cabbc5e.zip gcc-38e078da6c4f4e0c21f5973eb9d8f8a87cabbc5e.tar.gz gcc-38e078da6c4f4e0c21f5973eb9d8f8a87cabbc5e.tar.bz2 |
Disable --eh-frame-hdr with -pie or -shared on nios2-linux-gnu.
2019-12-05 Sandra Loosemore <sandra@codesourcery.com>
Disable --eh-frame-hdr with -pie or -shared on nios2-linux-gnu.
The nios2 ABI doesn't have appropriate relocations to support
--eh-frame-hdr with -pie or -shared, so we need to override the
default specs that add that link option. Otherwise we get linker
warnings about invalid FDE encodings.
gcc/
* config/nios2/linux.h (LINK_EH_SPEC): Define.
gcc/testsuite/
* g++.target/nios2/hello-pie.C: New.
* g++.target/nios2/nios2.exp: New.
From-SVN: r279023
Diffstat (limited to 'gcc/go')
0 files changed, 0 insertions, 0 deletions