Revert "[AMDGPU] Emit read-only data to .rodata for hsa"
authorTom Stellard <thomas.stellard@amd.com>
Fri, 22 Jul 2016 23:46:40 +0000 (23:46 +0000)
committerTom Stellard <thomas.stellard@amd.com>
Fri, 22 Jul 2016 23:46:40 +0000 (23:46 +0000)
commitb8253c88b6d16b145623b712419cd7f9a1368ee9
treec6656947b34d7e52577da0704c6aa00c453afecb
parentd835b3f1af15e20bd35c460396e4af95a614889c
Revert "[AMDGPU] Emit read-only data to .rodata for hsa"

This reverts commit r276298.

Data stored in .rodata can have a negative offset from .text, but we
don't support negative values in relocations yet.

This caused a regression in one of the amp conformance tests:
5_Data_Cont/5_2_a_v/5_2_3_m/Assignment/Test.02.01

llvm-svn: 276498
llvm/lib/Target/AMDGPU/AMDGPUTargetObjectFile.cpp
llvm/test/CodeGen/AMDGPU/global-constant.ll
llvm/test/CodeGen/AMDGPU/hsa-globals.ll