[PATCH] D18190: [ELF] - Error out when R_X86_64_PC32/R_X86_64_32 are used against preemptible symbol when linking shared object.

Rui Ueyama via llvm-commits llvm-commits at lists.llvm.org
Wed Mar 16 07:24:41 PDT 2016

ruiu added a comment.

Users may care, but it is hypothesis, so let's not take care of that for now. We may want to de-dup warnings in future.

Comment at: test/ELF/Inputs/llvm33-rela-outside-group.o:1-2
@@ -1,2 +1,2 @@
 ELF         >                    ˜           @     @ 
-        è     .rela.text._Z3fooIiEvv .text .bss .group .shstrtab .strtab .symtab .data                                                                  #                      @                                                       H                                      D                     H                                                           H                                                          H                                                           ð                                 *                      M       J                              <                            À       	                    4                      Ø                                                                                                                                                                                                                       bar _Z3fooIiEvv                     üÿÿÿÿÿÿÿ
\ No newline at end of file
+        è     .rela.text._Z3fooIiEvv .text .bss .group .shstrtab .strtab .symtab .data                                                                  #                      @                                                       H                                      D                     H                                                           H                                                          H                                                                                            *                      M       J                              <                            Ø       	                    4                      ð      '                                                                                                                                                                                                                                       bar _Z3fooIiEvv _GLOBAL_OFFSET_TABLE_               üÿÿÿÿÿÿÿ
Can you use llmv-as to generate this file?


More information about the llvm-commits mailing list