diff options
author | James Clarke <jrtc27@jrtc27.com> | 2016-08-10 09:42:39 -0700 |
---|---|---|
committer | Cary Coutant <ccoutant@gmail.com> | 2016-08-10 09:42:39 -0700 |
commit | 55872e496e89285814d11f03bb543091d6757318 (patch) | |
tree | 7da1de432bc82708f8ce22bbe117aec9c434ad39 /gold/sparc.cc | |
parent | 669f9429c7b5a9e827497c5ad70efb6a570c8c7d (diff) | |
download | gdb-55872e496e89285814d11f03bb543091d6757318.zip gdb-55872e496e89285814d11f03bb543091d6757318.tar.gz gdb-55872e496e89285814d11f03bb543091d6757318.tar.bz2 |
Add support for R_SPARC_32 relocation.
gold/
PR gold/20441
* sparc.cc (Target_sparc::Scan::check_non_pic): Allow R_SPARC_32 on
sparc64.
Diffstat (limited to 'gold/sparc.cc')
-rw-r--r-- | gold/sparc.cc | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gold/sparc.cc b/gold/sparc.cc index dc4612d..d9a8ef4 100644 --- a/gold/sparc.cc +++ b/gold/sparc.cc @@ -2150,6 +2150,7 @@ Target_sparc<size, big_endian>::Scan::check_non_pic(Relobj* object, unsigned int case elfcpp::R_SPARC_RELATIVE: case elfcpp::R_SPARC_IRELATIVE: case elfcpp::R_SPARC_COPY: + case elfcpp::R_SPARC_32: case elfcpp::R_SPARC_64: case elfcpp::R_SPARC_GLOB_DAT: case elfcpp::R_SPARC_JMP_SLOT: |