This is the mail archive of the binutils@sources.redhat.com mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Stub group default for hppa elf


> 	* elf32-hppa.c (group_sections): Don't share a stub section if
> 	stubs are for a large section.

This and Alan's last patch resolve the overflow of the stub group
section when collecting forward and backwards branches when linking
many small C++ sections.  Thus, I am reverting my previous change.

Tested with a build of Qt.

Dave
-- 
J. David Anglin                                  dave.anglin@nrc-cnrc.gc.ca
National Research Council of Canada              (613) 990-0752 (FAX: 952-6605)

2003-02-10  John Daivid Anglin  <dave.anglin@nrc-cnrc.gc.ca>

	* hppaelf.em (group_size): Change default back to 1.

Index: emultempl/hppaelf.em
===================================================================
RCS file: /cvs/src/src/ld/emultempl/hppaelf.em,v
retrieving revision 1.25
diff -u -3 -p -r1.25 hppaelf.em
--- emultempl/hppaelf.em	7 Feb 2003 15:55:49 -0000	1.25
+++ emultempl/hppaelf.em	11 Feb 2003 02:09:08 -0000
@@ -50,7 +50,7 @@ static int need_laying_out = 0;
 /* Maximum size of a group of input sections that can be handled by
    one stub section.  A value of +/-1 indicates the bfd back-end
    should use a suitable default size.  */
-static bfd_signed_vma group_size = -1;
+static bfd_signed_vma group_size = 1;
 
 /* Stops the linker merging .text sections on a relocatable link,
    and adds millicode library to the list of input files.  */


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]