summaryrefslogtreecommitdiffstats
path: root/llvm/test/MC/PowerPC/ppc64-tls-relocs-01.ll
Commit message (Collapse)AuthorAgeFilesLines
* [PowerPC] Use assembler source in MC testsUlrich Weigand2013-06-121-19/+0
| | | | | | | | | | | A couple of old test cases in test/MC/PowerPC were still using LLVM IR. Now that we have a working assembler, we can move them to assembler tests instead: ppc64-initial-cfa.ll ppc64-relocs-01.ll ppc64-tls-relocs-01.ll llvm-svn: 183829
* Change how we iterate over relocations on ELF.Rafael Espindola2013-05-301-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | For COFF and MachO, sections semantically have relocations that apply to them. That is not the case on ELF. In relocatable objects (.o), a section with relocations in ELF has offsets to another section where the relocations should be applied. In dynamic objects and executables, relocations don't have an offset, they have a virtual address. The section sh_info may or may not point to another section, but that is not actually used for resolving the relocations. This patch exposes that in the ObjectFile API. It has the following advantages: * Most (all?) clients can handle this more efficiently. They will normally walk all relocations, so doing an effort to iterate in a particular order doesn't save time. * llvm-readobj now prints relocations in the same way the native readelf does. * probably most important, relocations that don't point to any section are now visible. This is the case of relocations in the rela.dyn section. See the updated relocation-executable.test for example. llvm-svn: 182908
* Replace coff-/elf-dump with llvm-readobjNico Rieck2013-04-121-15/+6
| | | | llvm-svn: 179361
* Add test case to verify correct relocs being generated forUlrich Weigand2012-11-131-0/+28
TLS symbols on PowerPC using the integrated assembler. llvm-svn: 167875
OpenPOWER on IntegriCloud