mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-11-16 12:34:43 +00:00
bfd/ELF: _bfd_elf_linker_x86_set_options() is exposed to ld
As a non-private function, it shouldn't have a "_bfd_" prefix, but merely a "bfd_" one.
This commit is contained in:
@@ -108,5 +108,5 @@ struct elf_linker_x86_params
|
||||
char call_nop_byte;
|
||||
};
|
||||
|
||||
extern void _bfd_elf_linker_x86_set_options
|
||||
extern void bfd_elf_linker_x86_set_options
|
||||
(struct bfd_link_info *, struct elf_linker_x86_params *);
|
||||
|
||||
@@ -4975,8 +4975,8 @@ _bfd_x86_elf_link_fixup_gnu_properties
|
||||
}
|
||||
|
||||
void
|
||||
_bfd_elf_linker_x86_set_options (struct bfd_link_info * info,
|
||||
struct elf_linker_x86_params *params)
|
||||
bfd_elf_linker_x86_set_options (struct bfd_link_info *info,
|
||||
struct elf_linker_x86_params *params)
|
||||
{
|
||||
const struct elf_backend_data *bed
|
||||
= get_elf_backend_data (info->output_bfd);
|
||||
|
||||
@@ -33,7 +33,7 @@ static struct elf_linker_x86_params params;
|
||||
static void
|
||||
elf_x86_create_output_section_statements (void)
|
||||
{
|
||||
_bfd_elf_linker_x86_set_options (&link_info, ¶ms);
|
||||
bfd_elf_linker_x86_set_options (&link_info, ¶ms);
|
||||
}
|
||||
|
||||
EOF
|
||||
|
||||
Reference in New Issue
Block a user