binutils-2.10 amodra

Alan Modra amodra@puffin.external.hp.com
Mon, 18 Sep 2000 04:14:57 -0600


CVSROOT:	/home/cvs/parisc
Module name:	binutils-2.10
Changes by:	amodra	00/09/18 04:14:57

Modified files:
	bfd            : ChangeLog elf32-hppa.c 

Log message:
Fix under-allocation of memory.  See output_bfd->section_count comment.
Group stub sections together where possible, even for large output
sections.  This is what I had in mind for stubs right from the
beginning, but thought it too difficult. :)  Reduces stub duplication
considerably.

eg. code section 800000 bytes long

|code using   |
|stubs A      |
---------------
|  stubs A    |
---------------
|<250000 bytes|
|code using   |
|stubs A      |
--------------
|<250000 bytes|
|code using   |
|stubs B      |
---------------
|  stubs B    |
---------------
|<250000 bytes|
|code using   |
|stubs B      |
---------------