diff options
author | H.J. Lu <hjl.tools@gmail.com> | 2021-12-31 07:16:32 -0800 |
---|---|---|
committer | H.J. Lu <hjl.tools@gmail.com> | 2021-12-31 07:16:32 -0800 |
commit | a321de3f5c526617705f96d25cd1f9b0cbe7dbda (patch) | |
tree | b3d1bef2d294be1f3acbffd77d0fea541b656f37 /bfd/elfxx-x86.h | |
parent | 831083d300c9e7f5a224df60c3a059725fb04882 (diff) | |
download | gdb-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/elfxx-x86.h')
-rw-r--r-- | bfd/elfxx-x86.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/bfd/elfxx-x86.h b/bfd/elfxx-x86.h index 91a141f..79862d0 100644 --- a/bfd/elfxx-x86.h +++ b/bfd/elfxx-x86.h @@ -615,6 +615,10 @@ struct elf_x86_plt && elf_tdata (bfd) != NULL \ && elf_object_id (bfd) == (htab)->elf.hash_table_id) +/* Rename some of the generic section flags to better document how they + are used here. */ +#define check_relocs_failed sec_flg0 + extern bool _bfd_x86_elf_mkobject (bfd *); |