Skip to content
Commit a538d184 authored by Bill Wendling's avatar Bill Wendling Committed by Michael Ellerman
Browse files

powerpc/boot: Move the .got section to after the .dynamic section



Both .dynamic and .got are RELRO sections and should be placed
together, and LLD emits an error:

  ld.lld: error: section: .got is not contiguous with other relro sections

Place them together to avoid this.

Signed-off-by: default avatarBill Wendling <morbo@google.com>
Signed-off-by: default avatarMichael Ellerman <mpe@ellerman.id.au>
Link: https://lore.kernel.org/r/20201017000151.150788-1-morbo@google.com
parent 324a6946
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment