[PATCH] D14703: [ELF2] Remove target specific code from GotPltSection.

Igor Kudrin via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 16 06:58:00 PST 2015


ikudrin created this revision.
ikudrin added reviewers: ruiu, rafael, grimar.
ikudrin added a subscriber: llvm-commits.
ikudrin added a project: lld.
Herald added a subscriber: aemerson.

The content of reserved entries of the .got.plt section is target specific.

In particular, on x86_64, the zero entry holds the address of the .dynamic section,
but on AArch64 the same info is stored in the zero entry of the .got section.

http://reviews.llvm.org/D14703

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

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D14703.40282.patch
Type: text/x-patch
Size: 3692 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20151116/5957a494/attachment.bin>


More information about the llvm-commits mailing list