rafael added inline comments. ================ Comment at: test/ELF/amdgpu-relocs.s:11 @@ +10,3 @@ + .globl kernel0 + .p2align 8 + .type kernel0, at function ---------------- Do you really need all this just to generate a relocation? http://reviews.llvm.org/D21294