[PATCH] D39959: [ELF] - Allow merging of strings sections for -relocatable output.

George Rimar via llvm-commits llvm-commits at lists.llvm.org
Wed Nov 15 03:09:34 PST 2017


>The need to update relocation is independent of sh_entsize, no? In fact,
>even by merging just .debug_str we would still need to update
>relocations, no?
>
>Cheers,
>Rafael

You right, we produce broken relocations for regular output with -emit-relocs now,
patch is: https://reviews.llvm.org/D40070.

George.


More information about the llvm-commits mailing list