OpenSolaris

Printable Version Enter a New Search
Bug ID 6642769
Synopsis ld(1) -z combreloc should become default behavior
State 10-Fix Delivered (Fix available in build)
Category:Subcategory compiler:linker
Keywords
Responsible Engineer Rod Evans
Reported Against
Duplicate Of
Introduced In
Commit to Fix snv_82
Fixed In snv_82
Release Fixed solaris_nevada(snv_82)
Related Bugs 6642801 , 6683064
Submit Date 17-December-2007
Last Update Date 31-January-2008
Description
The -z combreloc flag combines individual relocation sections (like .rela.data and
.rela.bss) into one relocation table .SUNW_reloc.  This concatenation of the
standared relocation tables allows ld(1) to sort all data relocations so that
the symbol lookup cost, from ld.so.1(1), is minimized.  The option has existed
since Solaris 7 (4044285), and its use enforced for OSnet compents via check_rtime.

Linux took the same option, but went one step further and made the functionality
the default behavior for gld.  Of course there's the additional -z nocombreloc
provided just in case.
Work Around
N/A
Comments
N/A