summaryrefslogtreecommitdiff
path: root/bfd/elf-vxworks.h
diff options
context:
space:
mode:
authorRichard Sandiford <rdsandiford@googlemail.com>2006-03-02 08:57:00 +0000
committerRichard Sandiford <rdsandiford@googlemail.com>2006-03-02 08:57:00 +0000
commit711de32caaff12a33dfcc10c0421388c7550bac0 (patch)
tree4356412f348c7c16a25aff55d8b5af2c9d50011f /bfd/elf-vxworks.h
parent83503a060f6c6afe5b411f0056a8c826b6bb3f5a (diff)
bfd/
* elf32-i386.c (elf_i386_create_dynamic_sections): Use elf_vxworks_create_dynamic_sections. (elf_i386_size_dynamic_sections): Remove VxWorks GOT and PLT symbol handling. * elf32-ppc.c (ppc_elf_create_dynamic_sections): Use elf_vxworks_create_dynamic_sections. (ppc_elf_size_dynamic_sections): Remove VxWorks GOT and PLT symbol handling. * elf-vxworks.c (elf_vxworks_create_dynamic_sections): New function. * elf-vxworks.h (elf_vxworks_create_dynamic_sections): Declare. ld/testsuite/ * ld-i386/ld-i386/vxworks1-lib.nd: New test. * ld-i386/i386.exp: Run it. * ld-powerpc/ld-powerpc/vxworks1-lib.nd: New test. * ld-powerpc/powerc.exp: Run it.
Diffstat (limited to 'bfd/elf-vxworks.h')
-rw-r--r--bfd/elf-vxworks.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/bfd/elf-vxworks.h b/bfd/elf-vxworks.h
index 76db15e64d..c8ea0094ee 100644
--- a/bfd/elf-vxworks.h
+++ b/bfd/elf-vxworks.h
@@ -31,3 +31,5 @@ bfd_boolean elf_vxworks_emit_relocs
(bfd *, asection *, Elf_Internal_Shdr *, Elf_Internal_Rela *,
struct elf_link_hash_entry **);
void elf_vxworks_final_write_processing (bfd *, bfd_boolean);
+bfd_boolean elf_vxworks_create_dynamic_sections
+ (bfd *, struct bfd_link_info *, asection **);