]> git.ipfire.org Git - thirdparty/binutils-gdb.git/blobdiff - bfd/elf-vxworks.c
* elf-bfd.h (struct elf_backend_data
[thirdparty/binutils-gdb.git] / bfd / elf-vxworks.c
index 2b0c725f3fd1dd267d516dc72b2c068ec03a28e4..b26320cfe3693d60c4861b6d37365eb3cbddd3a0 100644 (file)
@@ -127,7 +127,7 @@ elf_vxworks_create_dynamic_sections (bfd *dynobj, struct bfd_link_info *info,
 }
 
 /* Tweak magic VxWorks symbols as they are written to the output file.  */
-bfd_boolean
+int
 elf_vxworks_link_output_symbol_hook (struct bfd_link_info *info
                                       ATTRIBUTE_UNUSED,
                                     const char *name,
@@ -141,7 +141,7 @@ elf_vxworks_link_output_symbol_hook (struct bfd_link_info *info
       && elf_vxworks_gott_symbol_p (h->root.u.undef.abfd, name))
     sym->st_info = ELF_ST_INFO (STB_GLOBAL, ELF_ST_TYPE (sym->st_info));
 
-  return TRUE;
+  return 1;
 }
 
 /* Copy relocations into the output file.  Fixes up relocations against PLT