* elf64-ppc.c: Convert to C90 function definitions, remove unnecessary

prototypes and casts.  Replace PTR with void *.  Format copyright.
	Mention ABI links.
	(struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
	sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt.
	(ppc_type_of_stub): Make r_type an enum.
	(ppc64_elf_size_stubs): Likewise.
	* elf64-ppc.h: Remove PARAMS macro.
This commit is contained in:
Alan Modra 2003-06-20 05:30:46 +00:00
parent 5861a190a8
commit 4ce794b729
3 changed files with 414 additions and 643 deletions

View File

@ -1,3 +1,14 @@
2003-06-20 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c: Convert to C90 function definitions, remove unnecessary
prototypes and casts. Replace PTR with void *. Format copyright.
Mention ABI links.
(struct ppc_link_hash_table): Rename sgot, srelgot, splt, srelplt,
sdynbss, srelbss, sglink, sbrlt and srelbrlt to got, relgot .. relbrlt.
(ppc_type_of_stub): Make r_type an enum.
(ppc64_elf_size_stubs): Likewise.
* elf64-ppc.h: Remove PARAMS macro.
2003-06-19 Alan Modra <amodra@bigpond.net.au>
* elf64-ppc.c (ppc64_elf_link_hash_table_create): Reinstate init of
@ -83,8 +94,8 @@
2003-06-17 Nick Clifton <nickc@redhat.com>
* elflink.h (elf_gc_record_vtentry): Allocate an extra element
in the vtable_entries_used array to allow for the accessing
the largest element.
in the vtable_entries_used array to allow for the accessing
the largest element.
2003-06-17 Alan Modra <amodra@bigpond.net.au>

File diff suppressed because it is too large Load Diff

View File

@ -18,25 +18,25 @@ along with this program; if not, write to the Free Software
Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. */
bfd_boolean ppc64_elf_mark_entry_syms
PARAMS ((struct bfd_link_info *));
(struct bfd_link_info *);
bfd_boolean ppc64_elf_edit_opd
PARAMS ((bfd *, struct bfd_link_info *));
(bfd *, struct bfd_link_info *);
bfd_boolean ppc64_elf_tls_setup
PARAMS ((bfd *, struct bfd_link_info *));
(bfd *, struct bfd_link_info *);
bfd_boolean ppc64_elf_tls_optimize
PARAMS ((bfd *, struct bfd_link_info *));
(bfd *, struct bfd_link_info *);
bfd_vma ppc64_elf_toc
PARAMS ((bfd *));
(bfd *);
int ppc64_elf_setup_section_lists
PARAMS ((bfd *, struct bfd_link_info *));
(bfd *, struct bfd_link_info *);
void ppc64_elf_next_toc_section
PARAMS ((struct bfd_link_info *, asection *));
(struct bfd_link_info *, asection *);
void ppc64_elf_reinit_toc
PARAMS ((bfd *, struct bfd_link_info *));
(bfd *, struct bfd_link_info *);
bfd_boolean ppc64_elf_next_input_section
PARAMS ((struct bfd_link_info *, asection *));
(struct bfd_link_info *, asection *);
bfd_boolean ppc64_elf_size_stubs
PARAMS ((bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
asection *(*) (const char *, asection *), void (*) (void)));
(bfd *, bfd *, struct bfd_link_info *, bfd_signed_vma,
asection *(*) (const char *, asection *), void (*) (void));
bfd_boolean ppc64_elf_build_stubs
PARAMS ((bfd_boolean, struct bfd_link_info *, char **));
(bfd_boolean, struct bfd_link_info *, char **);