aboutsummaryrefslogtreecommitdiff
path: root/bfd/elf32-i386.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/elf32-i386.c
parent831083d300c9e7f5a224df60c3a059725fb04882 (diff)
downloadgdb-a321de3f5c526617705f96d25cd1f9b0cbe7dbda.zip
gdb-a321de3f5c526617705f96d25cd1f9b0cbe7dbda.tar.gz
gdb-a321de3f5c526617705f96d25cd1f9b0cbe7dbda.tar.bz2
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/elf32-i386.c')
-rw-r--r--bfd/elf32-i386.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/bfd/elf32-i386.c b/bfd/elf32-i386.c
index 5660e95..abc34a9 100644
--- a/bfd/elf32-i386.c
+++ b/bfd/elf32-i386.c
@@ -1451,10 +1451,6 @@ elf_i386_convert_load_reloc (bfd *abfd, Elf_Internal_Shdr *symtab_hdr,
return true;
}
-/* Rename some of the generic section flags to better document how they
- are used here. */
-#define check_relocs_failed sec_flg0
-
/* Look through the relocs for a section during the first phase, and
calculate needed space in the global offset table, procedure linkage
table, and dynamic reloc sections. */