mirror of
https://sourceware.org/git/binutils-gdb.git
synced 2025-04-12 14:33:06 +08:00
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.
This commit is contained in:
parent
831083d300
commit
a321de3f5c
@ -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. */
|
||||
|
@ -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,
|
||||
|
@ -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 *);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user