diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2024-09-24 05:02:22 +0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2024-09-24 05:52:43 +0800 |
commit | 9e0840deed38b0a52a895c0abd3d5b0adacbc8a5 (patch) | |
tree | f610f13a8be4af36d730b70cabbe0a16f461fc34 /libiberty/random.c | |
parent | 2edcfde44c5bf915af5fbe2f25ebafd7ba57fad3 (diff) | |
download | fsf-binutils-gdb-9e0840deed38b0a52a895c0abd3d5b0adacbc8a5.zip fsf-binutils-gdb-9e0840deed38b0a52a895c0abd3d5b0adacbc8a5.tar.gz fsf-binutils-gdb-9e0840deed38b0a52a895c0abd3d5b0adacbc8a5.tar.bz2 |
x86: Enable TLS relocation check only for ELF
Since TLS relocation check is ELF specific, enable it only for ELF.
PR gas/32022
* config/tc-i386.c (x86_tls_error_type): Define only if
OBJ_MAYBE_ELF or OBJ_ELF is defined.
(x86_check_tls_relocation): Likewise.
(x86_report_tls_error): Likewise.
(i386_assemble): Check TLS relocations only if OBJ_MAYBE_ELF or
OBJ_ELF is defined.
(md_show_usage): Output -mtls-check= only if OBJ_MAYBE_ELF or
OBJ_ELF is defined.
Signed-off-by: H.J. Lu <hjl.tools@gmail.com>
Diffstat (limited to 'libiberty/random.c')
0 files changed, 0 insertions, 0 deletions