[PATCH] D34355: [LLD][ELF] Define _GLOBAL_OFFSET_TABLE_ to base of .got for ARM

Peter Smith via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Fri Jun 23 03:17:45 PDT 2017


peter.smith updated this revision to Diff 103708.
peter.smith added a comment.
Herald added a reviewer: kbarton.

I've updated the diff to record that we've added the _GLOBAL_OFFSET_TABLE_ symbol (addOptionalRegular will only define it if it is referenced). Assuming there are no more comments I'll commit it on Monday.


https://reviews.llvm.org/D34355

Files:
  ELF/Arch/PPC.cpp
  ELF/Arch/X86.cpp
  ELF/Arch/X86_64.cpp
  ELF/Relocations.cpp
  ELF/Target.h
  ELF/Writer.cpp
  test/ELF/arm-got-relative.s
  test/ELF/global-offset-table-position-aarch64.s
  test/ELF/global-offset-table-position-arm.s
  test/ELF/global-offset-table-position-i386.s
  test/ELF/global-offset-table-position-mips.s
  test/ELF/global-offset-table-position.s
  test/ELF/global_offset_table_shared.s

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D34355.103708.patch
Type: text/x-patch
Size: 12409 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170623/db048dc6/attachment.bin>


More information about the llvm-commits mailing list