HomePhabricator

Allow later -z name=<int> args to override earlier args

Description

Allow later -z name=<int> args to override earlier args

Summary:
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.)

Reviewers: ruiu, espindola, grimar

Reviewed By: ruiu, grimar

Subscribers: grimar, emaste, arichardson, llvm-commits

Differential Revision: https://reviews.llvm.org/D52526

Details

Committed
rprichardSep 26 2018, 1:50 PM
Reviewer
ruiu
Differential Revision
D52526: Allow later -z name=<int> args to override earlier args
Parents
rLLD343144: [AArch64] Fix range check of R_AARCH64_TLSLE_ADD_TPREL_HI12
Branches
Unknown
Tags
Unknown