]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commit - ld/lexsup.c
ld: Add -no-pie
authorFangrui Song <maskray@google.com>
Thu, 17 Jun 2021 16:57:40 +0000 (09:57 -0700)
committerFangrui Song <maskray@google.com>
Thu, 17 Jun 2021 16:57:40 +0000 (09:57 -0700)
commite8f6c2a5bab10b039a12b69a30a8248c91161e11
tree4ced3beb85ae6e760db5aa1c291f7e1a06282d93
parent2af6d46fd331b8e632bb9245614bad0c974392a4
ld: Add -no-pie

gold has had this option for many years. Not having this option caused
some confusion to users.  The help message clarifies the default state.

ld/
    * ldlex.h (enum option_values): Add OPTION_NO_PIE.
    * lexsup.c (struct ld_options): Add -no-pie.
    (parse_args): Handle -no-pie.
    * ld.texi: Document -no-pie.
ld/ld.texi
ld/ldlex.h
ld/lexsup.c