Reorganize elf32-ppc.c

Alan Modra amodra@bigpond.net.au
Wed Mar 16 06:11:00 GMT 2005


I've been meaning to sort the linker functions in elf32-ppc.c into some
sort of order for a long time.  Now is probably as good a time as any.

	* elf32-ppc.c: Divide file into general and linker specific
	functions.  Sort linker functions into roughly the order in which
	they are called by the ELF linker code.

The patch adds the following comment.

/* The following functions are specific to the ELF linker, while
   functions above are used generally.  They appear in this file more
   or less in the order in which they are called.  eg.
   ppc_elf_check_relocs is called early in the link process,
   ppc_elf_finish_dynamic_sections is one of the last functions
   called.  */

Besides that, and a few ^L's changing, it's just moving things around.
I don't think that warrants spamming the list with a 140k diff..

-- 
Alan Modra
IBM OzLabs - Linux Technology Centre



More information about the Binutils mailing list