* elflink.h (NAME(bfd_elf,size_dynamic_sections)): Change type of
authorIan Lance Taylor <ian@airs.com>
Thu, 16 Jan 1997 22:48:57 +0000 (22:48 +0000)
committerIan Lance Taylor <ian@airs.com>
Thu, 16 Jan 1997 22:48:57 +0000 (22:48 +0000)
auxiliary_filters parameter to be const char * const *.  Accept a
NULL terminated array.
* bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
(bfd_elf32_size_dynamic_sections): Update declaration.
* bfd-in2.h: Rebuild.

bfd/ChangeLog
bfd/bfd-in2.h
bfd/elflink.h

index ef93b33696c1a283b318f54d493ebbab55ae64cc..968e47ee454ab0b669ad98332bcdbb3fc36837e7 100644 (file)
@@ -1,3 +1,20 @@
+Thu Jan 16 17:45:57 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elflink.h (NAME(bfd_elf,size_dynamic_sections)): Change type of
+       auxiliary_filters parameter to be const char * const *.  Accept a
+       NULL terminated array.
+       * bfd-in.h (bfd_elf32_size_dynamic_sections): Update declaration.
+       (bfd_elf32_size_dynamic_sections): Update declaration.
+       * bfd-in2.h: Rebuild.
+
+Wed Jan 15 11:21:32 1997  Ian Lance Taylor  <ian@cygnus.com>
+
+       * elf32-sparc.c (elf32_sparc_adjust_dynamic_symbol): Treat a
+       NOTYPE symbol in a text section as a FUNC symbol.
+
+       * coffcode.h (coff_compute_section_file_positions): Force
+       relocbase to be aligned to COFF_DEFAULT_SECTION_ALIGNMENT_POWER.
+
 Tue Jan 14 08:46:33 1997  Doug Evans  <dje@canuck.cygnus.com>
 
        * libaout.h (machine_type): Reserve several values for sparclet.
index 97d36ec4d0df9e949339a66ee98baebf71bb4d37..694dda669848b40d460176f34f6ed7e8aca43cf6 100644 (file)
@@ -606,10 +606,10 @@ extern struct bfd_link_needed_list *bfd_elf_get_needed_list
   PARAMS ((bfd *, struct bfd_link_info *));
 extern boolean bfd_elf32_size_dynamic_sections
   PARAMS ((bfd *, const char *, const char *, boolean, const char *,
-          const char *, struct bfd_link_info *, struct sec **));
+          const char * const *, struct bfd_link_info *, struct sec **));
 extern boolean bfd_elf64_size_dynamic_sections
   PARAMS ((bfd *, const char *, const char *, boolean, const char *,
-          const char *, struct bfd_link_info *, struct sec **));
+          const char * const *, struct bfd_link_info *, struct sec **));
 extern void bfd_elf_set_dt_needed_name PARAMS ((bfd *, const char *));
 extern const char *bfd_elf_get_dt_soname PARAMS ((bfd *));
 
@@ -1497,6 +1497,7 @@ enum bfd_reloc_code_real {
   BFD_RELOC_64,
   BFD_RELOC_32,
   BFD_RELOC_26,
+  BFD_RELOC_24,
   BFD_RELOC_16,
   BFD_RELOC_14,
   BFD_RELOC_8,
index 75da5a5871be06c68591bd7e759f12c4b49aac64..86352f04dceac6309c2cdc698d845798f0662112 100644 (file)
@@ -1354,13 +1354,13 @@ static const size_t elf_buckets[] =
 boolean
 NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
                                     export_dynamic, filter_shlib,
-                                    auxiliary_filter_shlib, info, sinterpptr)
+                                    auxiliary_filters, info, sinterpptr)
      bfd *output_bfd;
      const char *soname;
      const char *rpath;
      boolean export_dynamic;
      const char *filter_shlib;
-     const char *auxiliary_filter_shlib;
+     const char * const *auxiliary_filters;
      struct bfd_link_info *info;
      asection **sinterpptr;
 {
@@ -1448,15 +1448,20 @@ NAME(bfd_elf,size_dynamic_sections) (output_bfd, soname, rpath,
            return false;
        }
 
-      if (auxiliary_filter_shlib != NULL)
+      if (auxiliary_filters != NULL)
        {
-         bfd_size_type indx;
+         const char * const *p;
 
-         indx = _bfd_stringtab_add (elf_hash_table (info)->dynstr,
-                                    auxiliary_filter_shlib, true, true);
-         if (indx == (bfd_size_type) -1
-             || ! elf_add_dynamic_entry (info, DT_AUXILIARY, indx))
-           return false;
+         for (p = auxiliary_filters; *p != NULL; p++)
+           {
+             bfd_size_type indx;
+
+             indx = _bfd_stringtab_add (elf_hash_table (info)->dynstr,
+                                        *p, true, true);
+             if (indx == (bfd_size_type) -1
+                 || ! elf_add_dynamic_entry (info, DT_AUXILIARY, indx))
+               return false;
+           }
        }
 
       /* Find all symbols which were defined in a dynamic object and make