]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
bfd/ELF: _bfd_elf_linker_x86_set_options() is exposed to ld
authorJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 14:01:08 +0000 (15:01 +0100)
committerJan Beulich <jbeulich@suse.com>
Fri, 7 Nov 2025 14:01:08 +0000 (15:01 +0100)
As a non-private function, it shouldn't have a "_bfd_" prefix, but merely
a "bfd_" one.

bfd/elf-linker-x86.h
bfd/elfxx-x86.c
ld/emultempl/elf-x86.em

index cdd739e572ad5290fb9afdf13f2a5de98d6e4c7b..9a4e5808727d069bbfc95eee6e0f11536e6bd9fb 100644 (file)
@@ -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 *);
index 94e22d4d04e950ecd0b4ffea24e590fc1186b3b3..1f7024f09c7eec1f3ae7f227babea66d3a450ded 100644 (file)
@@ -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);
index 411a4d6229464e882b73ad7e8b5dcd871c1e1924..487bbbb496f9350b6f248ca0aa304034e93161ab 100644 (file)
@@ -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, &params);
+  bfd_elf_linker_x86_set_options (&link_info, &params);
 }
 
 EOF