diff options
| author | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-12-14 20:28:38 +0000 |
|---|---|---|
| committer | Bill Schmidt <wschmidt@linux.vnet.ibm.com> | 2012-12-14 20:28:38 +0000 |
| commit | a4f898448cdf9c153ecd2de3de4cbbd3f2eeabda (patch) | |
| tree | 3ae1f3e12db527448d985623f2c55be63963274c /llvm/test/CodeGen/PowerPC | |
| parent | 41ed60b7d8d635c4ba8a513e1be88aee399974d2 (diff) | |
| download | bcm5719-llvm-a4f898448cdf9c153ecd2de3de4cbbd3f2eeabda.tar.gz bcm5719-llvm-a4f898448cdf9c153ecd2de3de4cbbd3f2eeabda.zip | |
This patch removes some nondeterminism from direct object file output
for TLS dynamic models on 64-bit PowerPC ELF. The default sort routine
for relocations only sorts on the r_offset field; but with TLS, there
can be two relocations with the same r_offset. For PowerPC, this patch
sorts secondarily on descending r_type, which matches the behavior
expected by the linker.
llvm-svn: 170237
Diffstat (limited to 'llvm/test/CodeGen/PowerPC')
| -rw-r--r-- | llvm/test/CodeGen/PowerPC/tls-ld-obj.ll | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/llvm/test/CodeGen/PowerPC/tls-ld-obj.ll b/llvm/test/CodeGen/PowerPC/tls-ld-obj.ll index 9f33fee8ad3..c521ae405f4 100644 --- a/llvm/test/CodeGen/PowerPC/tls-ld-obj.ll +++ b/llvm/test/CodeGen/PowerPC/tls-ld-obj.ll @@ -4,10 +4,6 @@ ; Test correct relocation generation for thread-local storage using ; the local dynamic model. -; Relocations 2 and 3 seem to come out in unpredictable order on some -; architectures, so restrict this for now. -; REQUIRES: ppc64-registered-target - target datalayout = "E-p:64:64:64-i1:8:8-i8:8:8-i16:16:16-i32:32:32-i64:64:64-f32:32:32-f64:64:64-f128:128:128-v128:128:128-n32:64" target triple = "powerpc64-unknown-linux-gnu" |

