diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2020-05-28 04:21:04 -0700 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2020-05-28 04:21:16 -0700 |
commit | b32632c49968cd03e952f9b63b32d9e9f1ddaf53 (patch) | |
tree | 49233e497456cbd09e444e4f4aad77f009c681a7 /ld/configure.tgt | |
parent | 151f5de4a6548cd83a79b4705f1e901776ddacc5 (diff) | |
download | gdb-b32632c49968cd03e952f9b63b32d9e9f1ddaf53.zip gdb-b32632c49968cd03e952f9b63b32d9e9f1ddaf53.tar.gz gdb-b32632c49968cd03e952f9b63b32d9e9f1ddaf53.tar.bz2 |
ld: Add --enable-textrel-check=[no|yes|warning|error]
Add a configure option, --enable-textrel-check=[no|yes|warning|error],
to decide what ELF linker should do by default with DT_TEXTREL in an
executable or shared library.
PR ld/20824
* NEWS: Mention --enable-textrel-check=[no|yes|warning|error].
* configure.ac: Add --enable-textrel-check=[no|yes|warning|error].
(DEFAULT_LD_TEXTREL_CHECK): New AC_DEFINE_UNQUOTED.
(DEFAULT_LD_TEXTREL_CHECK_WARNING): Likewise.
* ldmain.c (main): Initialize link_info.textrel_check to
DEFAULT_LD_TEXTREL_CHECK.
* lexsup.c (ld_options): Check DEFAULT_LD_TEXTREL_CHECK_WARNING.
* config.in: Regenerated.
* configure: Likewise.
Diffstat (limited to 'ld/configure.tgt')
0 files changed, 0 insertions, 0 deletions