[PATCH] D16879: [ELF] - Cleanup Target::getTlsGotRel using logic

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Thu Feb 4 03:43:55 PST 2016


grimar created this revision.
grimar added reviewers: ruiu, rafael.
grimar added subscribers: llvm-commits, grimar.

Previously getTlsGotRel(unsigned Type = -1) had a bit confusing 
behavior. It returned different result depending on argument, assuming
that if there is no argument then it was a dynamic relocation branch case.
This patch simplifies the logic a bit.

http://reviews.llvm.org/D16879

Files:
  ELF/OutputSections.cpp
  ELF/Target.cpp
  ELF/Target.h

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D16879.46889.patch
Type: text/x-patch
Size: 3867 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160204/9f9215a5/attachment.bin>


More information about the llvm-commits mailing list