aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIan Lance Taylor <ian@airs.com>1994-06-15 05:46:46 +0000
committerIan Lance Taylor <ian@airs.com>1994-06-15 05:46:46 +0000
commita7ff9b8029db716d16ad13bcc22f28f5785cf8fe (patch)
tree901982157ba2ff2f5b566bd1eadeac1fc96f1234
parent7fe331f17bac2ea5264e94bdbd45cec7d7d6dd56 (diff)
downloadgdb-a7ff9b8029db716d16ad13bcc22f28f5785cf8fe.zip
gdb-a7ff9b8029db716d16ad13bcc22f28f5785cf8fe.tar.gz
gdb-a7ff9b8029db716d16ad13bcc22f28f5785cf8fe.tar.bz2
* 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.
-rw-r--r--bfd/bfd-in.h14
-rw-r--r--bfd/bfd-in2.h14
2 files changed, 28 insertions, 0 deletions
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));