summaryrefslogtreecommitdiff
path: root/bfd/elf64-x86-64.c
diff options
context:
space:
mode:
authorH.J. Lu <hjl.tools@gmail.com>2021-12-31 07:16:32 -0800
committerH.J. Lu <hjl.tools@gmail.com>2021-12-31 07:16:32 -0800
commita321de3f5c526617705f96d25cd1f9b0cbe7dbda (patch)
treeb3d1bef2d294be1f3acbffd77d0fea541b656f37 /bfd/elf64-x86-64.c
parent831083d300c9e7f5a224df60c3a059725fb04882 (diff)
downloadbinutils-gdb-a321de3f5c526617705f96d25cd1f9b0cbe7dbda.tar.gz
x86: Define check_relocs_failed in elfxx-x86.h
* elf32-i386.c (check_relocs_failed): Moved to ... * elfxx-x86.h (check_relocs_failed): Here. New. * elf64-x86-64.c (check_relocs_failed): Removed.
Diffstat (limited to 'bfd/elf64-x86-64.c')
-rw-r--r--bfd/elf64-x86-64.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elf64-x86-64.c b/bfd/elf64-x86-64.c
index 637f7464d94..6d201dfe5bc 100644
--- a/bfd/elf64-x86-64.c
+++ b/bfd/elf64-x86-64.c
@@ -1377,10 +1377,6 @@ elf_x86_64_tls_transition (struct bfd_link_info *info, bfd *abfd,
return true;
}
-/* Rename some of the generic section flags to better document how they
- are used here. */
-#define check_relocs_failed sec_flg0
-
static bool
elf_x86_64_need_pic (struct bfd_link_info *info,
bfd *input_bfd, asection *sec,