]> git.ipfire.org Git - thirdparty/binutils-gdb.git/commitdiff
* bfd-in.h (BFD_TRADITIONAL_FORMAT): Define new BFD flag to
authorIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 05:46:46 +0000 (05:46 +0000)
committerIan Lance Taylor <ian@airs.com>
Wed, 15 Jun 1994 05:46:46 +0000 (05:46 +0000)
request BFD to write object in the traditional format, whatever
that means for the particular backend.
* bfd-in2.h: Rebuilt.

bfd/bfd-in.h
bfd/bfd-in2.h

index 7f6724859013b4d2c15478d2f0584f78170fee26..5e8fa63faece9382d303efcf1954fa6ec8aa049a 100644 (file)
@@ -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
 \f
 /* 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.  */
index 53fb59cab66e1a120b0c099a51ef20a47aedfaff..0baeb16b697c4588e3d44a71282737aa86283540 100644 (file)
@@ -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
 \f
 /* 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));