Skip to content
Commit 64207f85 authored by Samuel Holland's avatar Samuel Holland
Browse files

fix(build): discard sections also with SEPARATE_NOBITS_REGION



Some linker sections are discarded since 511046ea ("BL31: discard
.dynsym .dynstr .hash sections to make ENABLE_PIE work"). However, that
logic was placed inside a preprocessor condition, so it only applied to
the !SEPARATE_NOBITS_REGION case. Move the /DISCARD/ block down so it
applies in all cases.

Signed-off-by: default avatarSamuel Holland <samuel@sholland.org>
Change-Id: I6604609f2321a2a9c32a25721a697c320108a974
parent 7b592418
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