diff options
author | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2014-01-29 04:51:35 +0000 |
---|---|---|
committer | Venkatraman Govindaraju <venkatra@cs.wisc.edu> | 2014-01-29 04:51:35 +0000 |
commit | 771023dbcb5dbf2e967f064021ecf0d8e8acf6de (patch) | |
tree | 4ee9dfe5f873161fca7fdd180055ad61b46406cb /lib/Target/Sparc/CMakeLists.txt | |
parent | 6a67a3f3ec5c70c3a9473068fe20c97c612d9780 (diff) | |
download | llvm-771023dbcb5dbf2e967f064021ecf0d8e8acf6de.tar.gz llvm-771023dbcb5dbf2e967f064021ecf0d8e8acf6de.tar.bz2 llvm-771023dbcb5dbf2e967f064021ecf0d8e8acf6de.tar.xz |
[Sparc] Use %r_disp32 for pc_rel entries in gcc_except_table and eh_frame.
Otherwise, assembler (gas) fails to assemble them with error message "operation
combines symbols in different segments". This is because MC computes
pc_rel entries with subtract expression between labels from different sections.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@200373 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Target/Sparc/CMakeLists.txt')
-rw-r--r-- | lib/Target/Sparc/CMakeLists.txt | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/Target/Sparc/CMakeLists.txt b/lib/Target/Sparc/CMakeLists.txt index 4a906e597d..cebda920e7 100644 --- a/lib/Target/Sparc/CMakeLists.txt +++ b/lib/Target/Sparc/CMakeLists.txt @@ -27,6 +27,7 @@ add_llvm_target(SparcCodeGen SparcJITInfo.cpp SparcCodeEmitter.cpp SparcMCInstLower.cpp + SparcTargetObjectFile.cpp ) add_subdirectory(TargetInfo) |