more prototypes, in libelf.h
authorKen Raeburn <raeburn@cygnus>
Tue, 6 Jul 1993 21:14:36 +0000 (21:14 +0000)
committerKen Raeburn <raeburn@cygnus>
Tue, 6 Jul 1993 21:14:36 +0000 (21:14 +0000)
bfd/ChangeLog
bfd/libelf.h

index 47de067b2824fd6af80e3a41b7bcd81f73dcdcc0..126f7b58c1e85894fc034da517359eb8c1b81ad1 100644 (file)
@@ -21,6 +21,8 @@ Tue Jul  6 13:24:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
        do_slurp_coff_armap, bfd_construct_extended_name_table):
        Prototypes.
        * elfcode.h (elf_string_from_elf_strtab): Prototypes.
        do_slurp_coff_armap, bfd_construct_extended_name_table):
        Prototypes.
        * elfcode.h (elf_string_from_elf_strtab): Prototypes.
+       * libelf.h (elf_string_from_elf_section, elf_get_str_section):
+       Prototypes.
 
        * Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
        (ofiles): New target.  Build a list of unique file names, in case
 
        * Makefile.in (ALL_MACHINES): Renamed from BFD_MACHINES.
        (ofiles): New target.  Build a list of unique file names, in case
@@ -37,6 +39,8 @@ Tue Jul  6 13:24:55 1993  Ken Raeburn  (raeburn@cambridge.cygnus.com)
        section symbols for the same section.
        (elf_find_nearest_line): Don't print message, just return false.
 
        section symbols for the same section.
        (elf_find_nearest_line): Don't print message, just return false.
 
+       * libelf.h (bfd_elf_locate_sh): Declaration deleted.
+
 Mon Jul  5 16:48:11 1993  Doug Evans  (dje@canuck.cygnus.com)
 
        * cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
 Mon Jul  5 16:48:11 1993  Doug Evans  (dje@canuck.cygnus.com)
 
        * cpu-h8300.c (h8300_scan): Fix parsing of architecture string.
index 5a5823f3187156ab016e25c47ca52c91fa613003..9f52284ac71a9e2336ce411fd1568582f352b5e6 100644 (file)
@@ -119,6 +119,9 @@ struct elf_backend_data
   PTR global_sym;
 };
 
   PTR global_sym;
 };
 
+extern boolean elf_get_sect_thunk PARAMS ((bfd *, elf_sect_thunk *));
+extern unsigned long elf_hash PARAMS ((CONST unsigned char *));
+
 extern bfd_target *bfd_elf32_object_p PARAMS ((bfd *));
 extern bfd_target *bfd_elf32_core_file_p PARAMS ((bfd *));
 extern boolean bfd_elf_mkobject PARAMS ((bfd *));
 extern bfd_target *bfd_elf32_object_p PARAMS ((bfd *));
 extern bfd_target *bfd_elf32_core_file_p PARAMS ((bfd *));
 extern boolean bfd_elf_mkobject PARAMS ((bfd *));
@@ -131,7 +134,6 @@ extern boolean bfd_elf32_set_section_contents PARAMS ((bfd *, sec_ptr, PTR,
                                                       file_ptr,
                                                       bfd_size_type));
 
                                                       file_ptr,
                                                       bfd_size_type));
 
-extern boolean elf_get_sect_thunk PARAMS ((bfd *, elf_sect_thunk *));
 extern unsigned int bfd_elf32_get_symtab_upper_bound PARAMS ((bfd *));
 extern unsigned int bfd_elf32_get_symtab PARAMS ((bfd *, asymbol **));
 extern unsigned int bfd_elf32_get_reloc_upper_bound PARAMS ((bfd *, sec_ptr));
 extern unsigned int bfd_elf32_get_symtab_upper_bound PARAMS ((bfd *));
 extern unsigned int bfd_elf32_get_symtab PARAMS ((bfd *, asymbol **));
 extern unsigned int bfd_elf32_get_reloc_upper_bound PARAMS ((bfd *, sec_ptr));
@@ -152,7 +154,6 @@ extern boolean bfd_elf32_find_nearest_line PARAMS ((bfd *, asection *,
                                                    CONST char **,
                                                    unsigned int *));
 extern int bfd_elf32_sizeof_headers PARAMS ((bfd *, boolean));
                                                    CONST char **,
                                                    unsigned int *));
 extern int bfd_elf32_sizeof_headers PARAMS ((bfd *, boolean));
-extern unsigned long elf_hash PARAMS ((CONST unsigned char *));
 extern boolean bfd_elf32_new_section_hook PARAMS ((bfd *, asection *));
 
 /* If the target doesn't have reloc handling written yet:  */
 extern boolean bfd_elf32_new_section_hook PARAMS ((bfd *, asection *));
 
 /* If the target doesn't have reloc handling written yet:  */
@@ -206,10 +207,6 @@ struct strtab
   int length;
 };
 
   int length;
 };
 
-extern struct elf32_internal_shdr *
-bfd_elf_locate_sh PARAMS ((bfd *, struct strtab *,
-                          struct elf32_internal_shdr *, CONST char *));
-
 /* Some private data is stashed away for future use using the tdata pointer
    in the bfd structure.  */
 
 /* Some private data is stashed away for future use using the tdata pointer
    in the bfd structure.  */
 
@@ -243,8 +240,8 @@ struct elf_obj_tdata
 #define obj_raw_syms(bfd)      ((Elf_External_Sym*)(elf_tdata(bfd) -> raw_syms))
 #define obj_internal_syms(bfd) (elf_tdata(bfd) -> internal_syms)
 
 #define obj_raw_syms(bfd)      ((Elf_External_Sym*)(elf_tdata(bfd) -> raw_syms))
 #define obj_internal_syms(bfd) (elf_tdata(bfd) -> internal_syms)
 
-extern char * elf_string_from_elf_section ();
-extern char * elf_get_str_section ();
+extern char * elf_string_from_elf_section PARAMS ((bfd *, unsigned, unsigned));
+extern char * elf_get_str_section PARAMS ((bfd *, unsigned));
 
 #define bfd_elf32_mkobject     bfd_elf_mkobject
 #define bfd_elf64_mkobject     bfd_elf_mkobject
 
 #define bfd_elf32_mkobject     bfd_elf_mkobject
 #define bfd_elf64_mkobject     bfd_elf_mkobject
This page took 0.028231 seconds and 4 git commands to generate.