lld already gives later -z options precedence in getZFlag().
This matches the behavior of ld.bfd and ld.gold, where later options
override earlier ones. (I tested with -z max-page-size and -z stack-size.)
Differential D52526
Allow later -z name=<int> args to override earlier args rprichard on Sep 25 2018, 5:43 PM. Authored by
Details lld already gives later -z options precedence in getZFlag(). This matches the behavior of ld.bfd and ld.gold, where later options
Diff Detail
Event TimelineComment Actions I noticed this issue while experimenting with a new -z option, not when using -z max-page-size or -z stack-size. |