commit | 26ba9f9651d802ba38583138f43fea5dc7eb0fd6 | [log] [tgz] |
---|---|---|
author | Bill Wendling <morbo@google.com> | Wed Nov 18 14:39:10 2020 -0800 |
committer | Michael Ellerman <mpe@ellerman.id.au> | Thu Nov 26 22:05:43 2020 +1100 |
tree | 52e1bb4ddf2dfd74f3742b96eb36f4a89898d0e2 | |
parent | a538d184e3f0e3b5f800c5ab148e83bb5cdd0133 [diff] |
powerpc/boot/wrapper: Add "-z rodynamic" when using LLD Normally all read-only sections precede SHF_WRITE sections. .dynamic and .got have the SHF_WRITE flag; .dynamic probably because of DT_DEBUG. LLD emits an error when this happens, so use "-z rodynamic" to mark .dynamic as read-only. Signed-off-by: Bill Wendling <morbo@google.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20201118223910.2711337-1-morbo@google.com