[PATCH] D39697: Limit the maximum alignment of copyrel'ed shared symbols to 32.

Rafael Avila de Espindola via llvm-commits llvm-commits at lists.llvm.org
Mon Nov 6 15:53:28 PST 2017


Rui Ueyama <ruiu at google.com> writes:

> It is harder to create a testcase for this than I thought. When I specify
> an output section alignment using a linker script, both GNU linkers create
> huge executable so that the output section is aligned even on disk. I don't
> know how to work around it. I could edit an so file using binary editor and
> check in that binary, but I don't know if it's worth to do.

Up to you, but the patch LGTM without a testcase then.

Cheers,
Rafael


More information about the llvm-commits mailing list