binutils amodra

Alan Modra amodra@puffin.external.hp.com
Tue, 5 Dec 2000 03:21:02 -0700


CVSROOT:	/home/cvs/parisc
Module name:	binutils
Changes by:	amodra	00/12/05 03:21:02

Modified files:
	ld             : ChangeLog ld.texinfo ldlang.c ldlang.h lexsup.c 
	ld/emultempl   : elf32.em hppaelf.em 

Log message:
Implement --unique=SECTION_PATTERN so that the linker will not merge
input sections matching SECTION_PATTERN.  Hook in an automagic
--unique=.text when doing a relocatable link so that "ld -r" won't
build a huge .text section, too big to reach stubs.

This means we can build glibc (and other large shared libs) that
happen to use a "ld -r" link stage without needing to resort to
-ffunction-sections.