From a7ff9b8029db716d16ad13bcc22f28f5785cf8fe Mon Sep 17 00:00:00 2001 From: Ian Lance Taylor Date: Wed, 15 Jun 1994 05:46:46 +0000 Subject: [PATCH] * bfd-in.h (BFD_TRADITIONAL_FORMAT): Define new BFD flag to request BFD to write object in the traditional format, whatever that means for the particular backend. * bfd-in2.h: Rebuilt. --- bfd/bfd-in.h | 14 ++++++++++++++ bfd/bfd-in2.h | 14 ++++++++++++++ 2 files changed, 28 insertions(+) diff --git a/bfd/bfd-in.h b/bfd/bfd-in.h index 7f67248..5e8fa63 100644 --- a/bfd/bfd-in.h +++ b/bfd/bfd-in.h @@ -215,6 +215,12 @@ typedef enum bfd_format { /* BFD is relaxable (this means that bfd_relax_section may be able to do something). */ #define BFD_IS_RELAXABLE 0x200 + +/* This may be set before writing out a BFD to request using a + traditional format. For example, this is used to request that when + writing out an a.out object the symbols not be hashed to eliminate + duplicates. */ +#define BFD_TRADITIONAL_FORMAT 0x400 /* symbols and relocation */ @@ -530,4 +536,12 @@ extern boolean bfd_elf32_size_dynamic_sections extern boolean bfd_elf64_size_dynamic_sections PARAMS ((bfd *, struct bfd_link_info *)); +/* SunOS shared library support routines for the linker. */ + +extern boolean bfd_sunos_record_link_assignment + PARAMS ((bfd *, struct bfd_link_info *, const char *)); +extern boolean bfd_sunos_size_dynamic_sections + PARAMS ((bfd *, struct bfd_link_info *, struct sec **, struct sec **, + struct sec **)); + /* And more from the source. */ diff --git a/bfd/bfd-in2.h b/bfd/bfd-in2.h index 53fb59c..0baeb16 100644 --- a/bfd/bfd-in2.h +++ b/bfd/bfd-in2.h @@ -215,6 +215,12 @@ typedef enum bfd_format { /* BFD is relaxable (this means that bfd_relax_section may be able to do something). */ #define BFD_IS_RELAXABLE 0x200 + +/* This may be set before writing out a BFD to request using a + traditional format. For example, this is used to request that when + writing out an a.out object the symbols not be hashed to eliminate + duplicates. */ +#define BFD_TRADITIONAL_FORMAT 0x400 /* symbols and relocation */ @@ -530,6 +536,14 @@ extern boolean bfd_elf32_size_dynamic_sections extern boolean bfd_elf64_size_dynamic_sections PARAMS ((bfd *, struct bfd_link_info *)); +/* SunOS shared library support routines for the linker. */ + +extern boolean bfd_sunos_record_link_assignment + PARAMS ((bfd *, struct bfd_link_info *, const char *)); +extern boolean bfd_sunos_size_dynamic_sections + PARAMS ((bfd *, struct bfd_link_info *, struct sec **, struct sec **, + struct sec **)); + /* And more from the source. */ void bfd_init PARAMS ((void)); -- 2.7.4