llvm-project/llvm/lib
Ulrich Weigand f445399870 [ppc64] Avoid copy relocs in named rodata sections
Commit r181723 introduced code to avoid placing initialized variables
needing relocations into the .rodata section, which avoid copy relocs
that do not work as expected on ppc64 function references.

The same treatment is also needed for *named* .rodata.XXX sections.
This patch changes PPC64LinuxTargetObjectFile::SelectSectionForGlobal
to modify "Kind" *before* calling the default SelectSectionForGlobal
routine, instead of first calling the default routine and then just
checking for the (main) .rodata section afterwards.

llvm-svn: 203921
2014-03-14 12:45:22 +00:00
..
Analysis PR17473: 2014-03-12 21:31:05 +00:00
AsmParser Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
Bitcode Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
CodeGen Revert r203883 (which was more of a bandaid) and fix the real underlying 2014-03-14 05:02:18 +00:00
DebugInfo Use ctor instead of initializer list to appease Windows buildbots 2014-03-14 10:37:36 +00:00
ExecutionEngine Make GDBJITRegistrar thread safe. Patch by Jim Kearyn, with cleanup by 2014-03-13 21:25:37 +00:00
IR Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
IRReader Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
LTO Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
LineEditor [CMake] Use LINK_LIBS instead of target_link_libraries(). 2014-02-26 06:41:29 +00:00
Linker [Layering] Sink Linker.h into a Linker subdirectory to make it 2014-03-06 03:42:23 +00:00
MC MCDwarf: Rename MCDwarfFileTable to MCDwarfLineTable 2014-03-13 21:59:51 +00:00
Object Remove the linker_private and linker_private_weak linkages. 2014-03-13 23:18:37 +00:00
Option Avoid buffer copies when a Twine already is a StringRef. 2013-12-03 18:18:28 +00:00
Support Support: add support to identify WinCOFF/ARM objects 2014-03-13 07:02:35 +00:00
TableGen Replace OwningPtr<T> with std::unique_ptr<T>. 2014-03-06 05:51:42 +00:00
Target [ppc64] Avoid copy relocs in named rodata sections 2014-03-14 12:45:22 +00:00
Transforms [ASan] Fix https://code.google.com/p/address-sanitizer/issues/detail?id=274 2014-03-14 10:41:49 +00:00
CMakeLists.txt Back out Profile library and dependent commits 2014-03-12 22:00:57 +00:00
LLVMBuild.txt Back out Profile library and dependent commits 2014-03-12 22:00:57 +00:00
Makefile Back out Profile library and dependent commits 2014-03-12 22:00:57 +00:00