[PATCH] D22461: [ARM] Add support for tlsldm operator to llvm-mc

Peter Smith via llvm-commits llvm-commits at lists.llvm.org
Tue Jul 19 06:28:00 PDT 2016


peter.smith added a comment.

Putting TLSLDM before the GOT_PREL makes all the relocations pair up in source file order. The ldr r3, =f31(GOT_PREL) creates a literal pool entry with a relocation, the literal pool entry will always be at the end so if GOT_PREL isn't at the end of the source file the .word and the literal pool entry R_ARM_GOT_PREL relocations won't appear as a pair like all the others.

I chose to insert before the GOT_PREL to neaten the expected output.


https://reviews.llvm.org/D22461





More information about the llvm-commits mailing list