17c478bd9Sstevel@tonic-gate# 21e67f0f0SAli Bahrami# Copyright (c) 1996, 2010, Oracle and/or its affiliates. All rights reserved. 37c478bd9Sstevel@tonic-gate# 47c478bd9Sstevel@tonic-gate# CDDL HEADER START 57c478bd9Sstevel@tonic-gate# 67c478bd9Sstevel@tonic-gate# The contents of this file are subject to the terms of the 79d6538abSab196087# Common Development and Distribution License (the "License"). 89d6538abSab196087# You may not use this file except in compliance with the License. 97c478bd9Sstevel@tonic-gate# 107c478bd9Sstevel@tonic-gate# You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE 117c478bd9Sstevel@tonic-gate# or http://www.opensolaris.org/os/licensing. 127c478bd9Sstevel@tonic-gate# See the License for the specific language governing permissions 137c478bd9Sstevel@tonic-gate# and limitations under the License. 147c478bd9Sstevel@tonic-gate# 157c478bd9Sstevel@tonic-gate# When distributing Covered Code, include this CDDL HEADER in each 167c478bd9Sstevel@tonic-gate# file and include the License file at usr/src/OPENSOLARIS.LICENSE. 177c478bd9Sstevel@tonic-gate# If applicable, add the following below this CDDL HEADER, with the 187c478bd9Sstevel@tonic-gate# fields enclosed by brackets "[]" replaced with your own identifying 197c478bd9Sstevel@tonic-gate# information: Portions Copyright [yyyy] [name of copyright owner] 207c478bd9Sstevel@tonic-gate# 217c478bd9Sstevel@tonic-gate# CDDL HEADER END 227c478bd9Sstevel@tonic-gate# 239ffca373SAli Bahrami# Note: The contents of this file are used to determine the versioning 249ffca373SAli Bahrami# information for the SGS toolset. The number of CRs listed in 259ffca373SAli Bahrami# this file must grow monotonically, or the SGS version will 269ffca373SAli Bahrami# move backwards, causing a great deal of confusion. As such, 279ffca373SAli Bahrami# CRs must never be removed from this file. See 289ffca373SAli Bahrami# libconv/common/bld_vernote.ksh, and bug#4519569 for more 297c478bd9Sstevel@tonic-gate# details on SGS versioning. 307c478bd9Sstevel@tonic-gate# 317c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 327c478bd9Sstevel@tonic-gateSUNWonld - link-editors development package. 337c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 347c478bd9Sstevel@tonic-gate 357c478bd9Sstevel@tonic-gate The SUNWonld package is an internal development package containing the 367c478bd9Sstevel@tonic-gate link-editors and some related tools. All components live in the OSNET 377c478bd9Sstevel@tonic-gate source base, but not all components are delivered as part of the normal 387c478bd9Sstevel@tonic-gate OSNET consolidation. The intent of this package is to provide access 397c478bd9Sstevel@tonic-gate to new features/bugfixes before they become generally available. 407c478bd9Sstevel@tonic-gate 417c478bd9Sstevel@tonic-gate General link-editor information can be found: 427c478bd9Sstevel@tonic-gate 4331fdd7caSab196087 http://linkers.central/ 4431fdd7caSab196087 http://linkers.sfbay/ (also known as linkers.eng) 457c478bd9Sstevel@tonic-gate 467c478bd9Sstevel@tonic-gate Comments and Questions: 477c478bd9Sstevel@tonic-gate 48ba4e3c84Sab196087 Contact Rod Evans, Ali Bahrami, and/or Seizo Sakurai. 497c478bd9Sstevel@tonic-gate 507c478bd9Sstevel@tonic-gate Warnings: 517c478bd9Sstevel@tonic-gate 527c478bd9Sstevel@tonic-gate The postremove script for this package employs /usr/sbin/static/mv, 537c478bd9Sstevel@tonic-gate and thus, besides the common core dependencies, this package also 547c478bd9Sstevel@tonic-gate has a dependency on the SUNWsutl package. 557c478bd9Sstevel@tonic-gate 567c478bd9Sstevel@tonic-gate Patches: 577c478bd9Sstevel@tonic-gate 587c478bd9Sstevel@tonic-gate If the patch has been made official, you'll find it in: 597c478bd9Sstevel@tonic-gate 6020c1c355SRod Evans http://sunsolve.east/cgi/show.pl?target=patches/os-patches 617c478bd9Sstevel@tonic-gate 627c478bd9Sstevel@tonic-gate If it hasn't been released, the patch will be in: 637c478bd9Sstevel@tonic-gate 647c478bd9Sstevel@tonic-gate /net/sunsoftpatch/patches/temporary 657c478bd9Sstevel@tonic-gate 667c478bd9Sstevel@tonic-gate Note, any patches logged here refer to the temporary ("T") name, as we 677c478bd9Sstevel@tonic-gate never know when they're made official, and although we try to keep all 687c478bd9Sstevel@tonic-gate patch information up-to-date the real status of any patch can be 697c478bd9Sstevel@tonic-gate determined from: 707c478bd9Sstevel@tonic-gate 717c478bd9Sstevel@tonic-gate http://sunsoftpatch.eng 727c478bd9Sstevel@tonic-gate 737c478bd9Sstevel@tonic-gate If it has been obsoleted, the patch will be in: 747c478bd9Sstevel@tonic-gate 757c478bd9Sstevel@tonic-gate /net/on${RELEASE}-patch/on${RELEASE}/patches/${MACH}/obsolete 767c478bd9Sstevel@tonic-gate 777c478bd9Sstevel@tonic-gate 787c478bd9Sstevel@tonic-gate History: 797c478bd9Sstevel@tonic-gate 800f5dca20Sab196087 Note, starting after Solaris 10, letter codes in parenthesis may 810f5dca20Sab196087 be found following the bug synopsis. Their meanings are as follows: 820f5dca20Sab196087 830f5dca20Sab196087 (D) A documentation change accompanies the implementation change. 840f5dca20Sab196087 (P) A packaging change accompanies the implementation change. 850f5dca20Sab196087 860f5dca20Sab196087 In all cases, see the implementation bug report for details. 877c478bd9Sstevel@tonic-gate 887c478bd9Sstevel@tonic-gate The following bug fixes exist in the OSNET consolidation workspace 897c478bd9Sstevel@tonic-gate from which this package is created: 907c478bd9Sstevel@tonic-gate 917c478bd9Sstevel@tonic-gate--------- 927c478bd9Sstevel@tonic-gateSolaris 8 937c478bd9Sstevel@tonic-gate--------- 947c478bd9Sstevel@tonic-gateBugid Risk Synopsis 957c478bd9Sstevel@tonic-gate================================================================================ 967c478bd9Sstevel@tonic-gate4225937 i386 linker emits sparc specific warning messages 977c478bd9Sstevel@tonic-gate4215164 shf_order flag handling broken by fix for 4194028. 987c478bd9Sstevel@tonic-gate4215587 using ld and the -r option on solaris 7 with compiler option -xarch=v9 997c478bd9Sstevel@tonic-gate causes link errors. 1007c478bd9Sstevel@tonic-gate4234657 103627-08 breaks purify 4.2 (plt padding should not be enabled for 1017c478bd9Sstevel@tonic-gate 32-bit) 1027c478bd9Sstevel@tonic-gate4235241 dbx no longer gets dlclose notification. 1037c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1047c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 1057c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-05 (never released) 1067c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-05 (never released) 1077c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-02 (never released) 1087c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-02 1097c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1107c478bd9Sstevel@tonic-gate4248290 inetd dumps core upon bootup - failure in dlclose() logic. 1117c478bd9Sstevel@tonic-gate4238071 dlopen() leaks while descriptors under low memory conditions 1127c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1137c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 1147c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-06 1157c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-06 1167c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-03 (never released) 1177c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-03 1187c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1197c478bd9Sstevel@tonic-gate4267980 INITFIRST flag of the shard object could be ignored. 1207c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 121bbf522bdSrieAll the above changes plus: 1227c478bd9Sstevel@tonic-gate 4238973 fix for 4121152 affects linking of Ada objects 1237c478bd9Sstevel@tonic-gate 4158744 patch 103627-02 causes core when RPATH has blank entry and 1247c478bd9Sstevel@tonic-gate dlopen/dlclose is used 1257c478bd9Sstevel@tonic-gateare incorporated in the following patches: 1267c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_sparc patch 103627-12 (never released) 1277c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_x86 patch 103628-11 1287c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1297c478bd9Sstevel@tonic-gate4256518 miscalculated calloc() during dlclose/tsorting can result in segv 1307c478bd9Sstevel@tonic-gate4254171 DT_SPARC_REGISTER has invalid value associated with it. 1317c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1327c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 1337c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-07 1347c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-07 1357c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-04 (never released) 1367c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-04 1377c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1387c478bd9Sstevel@tonic-gate4293159 ld needs to combine sections with and without SHF_ORDERED flag(comdat) 1397c478bd9Sstevel@tonic-gate4292238 linking a library which has a static char ptr invokes mprotect() call 1407c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1417c478bd9Sstevel@tonic-gateAll the above changes except for: 1427c478bd9Sstevel@tonic-gate 4256518 miscalculated calloc() during dlclose/tsorting can result in segv 1437c478bd9Sstevel@tonic-gate 4254171 DT_SPARC_REGISTER has invalid value associated with it. 144bbf522bdSrieplus: 1457c478bd9Sstevel@tonic-gate 4238973 fix for 4121152 affects linking of Ada objects 1467c478bd9Sstevel@tonic-gate 4158744 patch 103627-02 causes core when RPATH has blank entry and 1477c478bd9Sstevel@tonic-gate dlopen/dlclose is used 1487c478bd9Sstevel@tonic-gateare incorporated in the following patches: 1497c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_sparc patch 103627-13 1507c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_x86 patch 103628-12 1517c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1527c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 1537c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-08 1547c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-08 1557c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-05 1567c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-05 1577c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1587c478bd9Sstevel@tonic-gate4295613 COMMON symbol resolution can be incorrect 1597c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 160bbf522bdSrieAll the above changes plus: 1617c478bd9Sstevel@tonic-gate 4238973 fix for 4121152 affects linking of Ada objects 1627c478bd9Sstevel@tonic-gate 4158744 patch 103627-02 causes core when RPATH has blank entry and 1637c478bd9Sstevel@tonic-gate dlopen/dlclose is used 1647c478bd9Sstevel@tonic-gateare incorporated in the following patches: 1657c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_sparc patch 103627-14 1667c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_x86 patch 103628-13 1677c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 168bbf522bdSrieAll the above changes plus: 1697c478bd9Sstevel@tonic-gate 4351197 nfs performance problem by 103627-13 170bbf522bdSrieare incorporated in the following patches: 1717c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_sparc patch 103627-15 1727c478bd9Sstevel@tonic-gate Solaris/SunOS 5.5.1_x86 patch 103628-14 1737c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1747c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 1757c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-09 1767c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-09 1777c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-06 1787c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-06 1797c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1807c478bd9Sstevel@tonic-gate4158971 increase the default segment alignment for i386 to 64k 1817c478bd9Sstevel@tonic-gate4064994 Add an $ISALIST token to those understood by the dynamic linker 1827c478bd9Sstevel@tonic-gatexxxxxxx ia64 common code putback 1837c478bd9Sstevel@tonic-gate4239308 LD_DEBUG busted for sparc machines 1847c478bd9Sstevel@tonic-gate4239008 Support MAP_ANON 1857c478bd9Sstevel@tonic-gate4238494 link-auditing extensions required 1867c478bd9Sstevel@tonic-gate4232239 R_SPARC_LOX10 truncates field 1877c478bd9Sstevel@tonic-gate4231722 R_SPARC_UA* relocations are busted 1887c478bd9Sstevel@tonic-gate4235514 R_SPARC_OLO10 relocation fails 1897c478bd9Sstevel@tonic-gate4244025 sgsmsg update 1907c478bd9Sstevel@tonic-gate4239281 need to support SECREL relocations for ia64 1917c478bd9Sstevel@tonic-gate4253751 ia64 linker must support PT_IA_64_UNWIND tables 1927c478bd9Sstevel@tonic-gate4259254 dlmopen mistakenly closes fd 0 (stdin) under certain error conditions 1937c478bd9Sstevel@tonic-gate4260872 libelf hangs when libthread present 1947c478bd9Sstevel@tonic-gate4224569 linker core dumping when profiling specified 1957c478bd9Sstevel@tonic-gate4270937 need mechanism to suppress ld.so.1's use of a default search path. 1967c478bd9Sstevel@tonic-gate1050476 ld.so to permit configuration of search path 1977c478bd9Sstevel@tonic-gate4273654 filtee processing using $ISALIST could be optimized 1987c478bd9Sstevel@tonic-gate4271860 get MERCED cruft out of elf.h 1997c478bd9Sstevel@tonic-gate4248991 Dynamic loader (via PLT) corrupts register G4 2007c478bd9Sstevel@tonic-gate4275754 cannot mmap file: Resource temporarily unavailable 2017c478bd9Sstevel@tonic-gate4277689 The linker can not handle relocation against MOVE tabl 2027c478bd9Sstevel@tonic-gate4270766 atexit processing required on dlclose(). 2037c478bd9Sstevel@tonic-gate4279229 Add a "release" token to those understood by the dynamic linker 2047c478bd9Sstevel@tonic-gate4215433 ld can bus error when insufficient disc space exists for output file 2057c478bd9Sstevel@tonic-gate4285571 Pssst, want some free disk space? ld's miscalculating. 2067c478bd9Sstevel@tonic-gate4286236 ar gives confusing "bad format" error with a null .stab section 2077c478bd9Sstevel@tonic-gate4286838 ld.so.1 can't handle a no-bits segment 2087c478bd9Sstevel@tonic-gate4287364 ld.so.1 runtime configuration cleanup 2097c478bd9Sstevel@tonic-gate4289573 disable linking of ia64 binaries for Solaris8 2107c478bd9Sstevel@tonic-gate4293966 crle(1)'s default directories should be supplied 211604635faSRod Evans-------------------------------------------------------------------------------- 2127c478bd9Sstevel@tonic-gate 2137c478bd9Sstevel@tonic-gate------------------------------------ 2147c478bd9Sstevel@tonic-gateSolaris 8 600 (1st Q-update - s28u1) 2157c478bd9Sstevel@tonic-gate------------------------------------ 2167c478bd9Sstevel@tonic-gateBugid Risk Synopsis 2177c478bd9Sstevel@tonic-gate================================================================================ 2187c478bd9Sstevel@tonic-gate4309212 dlsym can't find symbol 2197c478bd9Sstevel@tonic-gate4311226 rejection of preloading in secure apps is inconsistent 2207c478bd9Sstevel@tonic-gate4312449 dlclose: invalid deletion of dependency can occur using RTLD_GLOBAL 2217c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2227c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 2237c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-01 2247c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-01 2257c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-10 2267c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-10 2277c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-07 2287c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-07 2297c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2307c478bd9Sstevel@tonic-gate 2317c478bd9Sstevel@tonic-gate------------------------------------ 2327c478bd9Sstevel@tonic-gateSolaris 8 900 (2nd Q-update - s28u2) 2337c478bd9Sstevel@tonic-gate------------------------------------ 2347c478bd9Sstevel@tonic-gateBugid Risk Synopsis 2357c478bd9Sstevel@tonic-gate================================================================================ 2367c478bd9Sstevel@tonic-gate4324775 non-PIC code & -zcombreloc don't mix very well... 2377c478bd9Sstevel@tonic-gate4327653 run-time linker should preload tables it will process (madvise) 2387c478bd9Sstevel@tonic-gate4324324 shared object code can be referenced before .init has fired 2397c478bd9Sstevel@tonic-gate4321634 .init firing of multiple INITFIRST objects can fail 2407c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2417c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 2427c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-03 2437c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-03 2447c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-11 2457c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-11 2467c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-08 2477c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-08 2487c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2497c478bd9Sstevel@tonic-gate4338812 crle(1) omits entries in the directory cache 2507c478bd9Sstevel@tonic-gate4341496 RFE: provide a static version of /usr/bin/crle 2517c478bd9Sstevel@tonic-gate4340878 rtld should treat $ORIGIN like LD_LIBRARY_PATH in security issues 2527c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2537c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 2547c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-04 2557c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-04 2567c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-12 2577c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-12 2587c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2597c478bd9Sstevel@tonic-gate4349563 auxiliary filter error handling regression introduced in 4165487 2607c478bd9Sstevel@tonic-gate4355795 ldd -r now gives "displacement relocated" warnings 2617c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2627c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 2637c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-13 2647c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-13 2657c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-09 2667c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-09 2677c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 2687c478bd9Sstevel@tonic-gate4210412 versioning a static executable causes ld to core dump 2697c478bd9Sstevel@tonic-gate4219652 Linker gives misleading error about not finding main (xarch=v9) 2707c478bd9Sstevel@tonic-gate4103449 ld command needs a command line flag to force 64-bits 2717c478bd9Sstevel@tonic-gate4187211 problem with RDISP32 linking in copy-relocated objects 2727c478bd9Sstevel@tonic-gate4287274 dladdr, dlinfo do not provide the full path name of a shared object 2737c478bd9Sstevel@tonic-gate4297563 dlclose still does not remove all objects. 2747c478bd9Sstevel@tonic-gate4250694 rtld_db needs a new auxvec entry 2757c478bd9Sstevel@tonic-gate4235315 new features for rtld_db (DT_CHECKSUM, dynamic linked .o files 2767c478bd9Sstevel@tonic-gate4303609 64bit libelf.so.1 does not properly implement elf_hash() 2777c478bd9Sstevel@tonic-gate4310901 su.static fails when OSNet build with lazy-loading 2787c478bd9Sstevel@tonic-gate4310324 elf_errno() causes Bus Error(coredump) in 64-bit multithreaded programs 2797c478bd9Sstevel@tonic-gate4306415 ld core dump 2807c478bd9Sstevel@tonic-gate4316531 BCP: possible failure with dlclose/_preexec_exit_handlers 2817c478bd9Sstevel@tonic-gate4313765 LD_BREADTH should be shot 2827c478bd9Sstevel@tonic-gate4318162 crle uses automatic strings in putenv. 2837c478bd9Sstevel@tonic-gate4255943 Description of -t option incomplete. 2847c478bd9Sstevel@tonic-gate4322528 sgs message test infrastucture needs improvement 2857c478bd9Sstevel@tonic-gate4239213 Want an API to obtain linker's search path 2867c478bd9Sstevel@tonic-gate4324134 use of extern mapfile directives can contribute unused symbols 2877c478bd9Sstevel@tonic-gate4322581 ELF data structures could be layed out more efficiently... 2887c478bd9Sstevel@tonic-gate4040628 Unnecessary section header symbols should be removed from .dynsym 2897c478bd9Sstevel@tonic-gate4300018 rtld: bindlock should be freed before calling call_fini() 2907c478bd9Sstevel@tonic-gate4336102 dlclose with non-deletable objects can mishandle dependencies 2917c478bd9Sstevel@tonic-gate4329785 mixing of SHT_SUNW_COMDAT & SHF_ORDERED causes ld to seg fault 2927c478bd9Sstevel@tonic-gate4334617 COPY relocations should be produces for references to .bss symbols 2937c478bd9Sstevel@tonic-gate4248250 relcoation of local ABS symbols incorrect 2947c478bd9Sstevel@tonic-gate4335801 For complimentary alignments eliminate ld: warning: symbol `ll' 2957c478bd9Sstevel@tonic-gate has differing a 2967c478bd9Sstevel@tonic-gate4336980 ld.so.1 relative path processing revisited 2977c478bd9Sstevel@tonic-gate4243097 dlerror(3DL) is not affected by setlocale(3C). 2987c478bd9Sstevel@tonic-gate4344528 dump should remove -D and -l usage message 2997c478bd9Sstevel@tonic-gatexxxxxxx enable LD_ALTEXEC to access alternate link-editor 3007c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3017c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3027c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-06 3037c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-06 3047c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3057c478bd9Sstevel@tonic-gate 3067c478bd9Sstevel@tonic-gate------------------------------------ 3077c478bd9Sstevel@tonic-gateSolaris 8 101 (3rd Q-update - s28u3) 3087c478bd9Sstevel@tonic-gate------------------------------------ 3097c478bd9Sstevel@tonic-gateBugid Risk Synopsis 3107c478bd9Sstevel@tonic-gate================================================================================ 3117c478bd9Sstevel@tonic-gate4346144 link-auditing: plt_tracing fails if LA_SYMB_NOPLTENTER given after 3127c478bd9Sstevel@tonic-gate being bound 3137c478bd9Sstevel@tonic-gate4346001 The ld should support mapfile syntax to generate PT_SUNWSTACK segment 3147c478bd9Sstevel@tonic-gate4349137 rtld_db: A third fallback method for locating the linkmap 3157c478bd9Sstevel@tonic-gate4343417 dladdr interface information inadequate 3167c478bd9Sstevel@tonic-gate4343801 RFE: crle(1): provide option for updating configuration files 3177c478bd9Sstevel@tonic-gate4346615 ld.so.1 attempting to open a directory gives: No such device 3187c478bd9Sstevel@tonic-gate4352233 crle should not honor umask 3197c478bd9Sstevel@tonic-gate4352330 LD_PRELOAD cannot use absolute path for privileged program 3207c478bd9Sstevel@tonic-gate4357805 RFE: man page for ld(1) does not document all -z or -B options in 3217c478bd9Sstevel@tonic-gate Solaris 8 9/00 3227c478bd9Sstevel@tonic-gate4358751 ld.so.1: LD_XXX environ variables and LD_FLAGS should be synchronized. 3237c478bd9Sstevel@tonic-gate4358862 link editors should reference "64" symlinks instead of sparcv9 (ia64). 3247c478bd9Sstevel@tonic-gate4356879 PLTs could use faster code sequences in some cases 3257c478bd9Sstevel@tonic-gate4367118 new fast baplt's fail when traversed twice in threaded application 3267c478bd9Sstevel@tonic-gate4366905 Need a way to determine path to a shared library 3277c478bd9Sstevel@tonic-gate4351197 nfs performance problem by 103627-13 3287c478bd9Sstevel@tonic-gate4367405 LD_LIBRARY_PATH_64 not being used 3297c478bd9Sstevel@tonic-gate4354500 SHF_ORDERED ordered scections does not properly sort sections 3307c478bd9Sstevel@tonic-gate4369068 ld(1)'s weak symbol processing is inefficient (slow and doesn't scale). 3317c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3327c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3337c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-07 3347c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-07 3357c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-14 3367c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-14 3377c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3387c478bd9Sstevel@tonic-gate 3397c478bd9Sstevel@tonic-gate------------------------------------ 3407c478bd9Sstevel@tonic-gateSolaris 8 701 (5th Q-update - s28u5) 3417c478bd9Sstevel@tonic-gate------------------------------------ 3427c478bd9Sstevel@tonic-gateBugid Risk Synopsis 3437c478bd9Sstevel@tonic-gate================================================================================ 3447c478bd9Sstevel@tonic-gate4368846 ld(1) fails to version some interfaces given in a mapfile 3457c478bd9Sstevel@tonic-gate4077245 dump core dump on null pointer. 3467c478bd9Sstevel@tonic-gate4372554 elfdump should demangle symbols (like nm, dump) 3477c478bd9Sstevel@tonic-gate4371114 dlclose may unmap a promiscuous object while it's still in use. 3487c478bd9Sstevel@tonic-gate4204447 elfdump should understand SHN_AFTER/SHN_BEGIN macro 3497c478bd9Sstevel@tonic-gate4377941 initialization of interposers may not occur 3507c478bd9Sstevel@tonic-gate4381116 ldd/ld.so.1 could aid in detecting unused dependencies 3517c478bd9Sstevel@tonic-gate4381783 dlopen/dlclose of a libCrun+libthread can dump core 3527c478bd9Sstevel@tonic-gate4385402 linker & run-time linker must support gABI ELF updates 3537c478bd9Sstevel@tonic-gate4394698 ld.so.1 does not process DF_SYMBOLIC - not gABI conforming 3547c478bd9Sstevel@tonic-gate4394212 the link editor quietly ignores missing support libraries 3557c478bd9Sstevel@tonic-gate4390308 ld.so.1 should provide more flexibility LD_PRELOAD'ing 32-bit/64-bit 3567c478bd9Sstevel@tonic-gate objects 3577c478bd9Sstevel@tonic-gate4401232 crle(1) could provide better flexibility for alternatives 3587c478bd9Sstevel@tonic-gate4401815 fix misc nits in debugging output... 3597c478bd9Sstevel@tonic-gate4402861 cleanup /usr/demo/link_audit & /usr/tmp/librtld_db demo source code... 3607c478bd9Sstevel@tonic-gate4393044 elfdump should allow raw dumping of sections 3617c478bd9Sstevel@tonic-gate4413168 SHF_ORDERED bit causes linker to generate a separate section 3627c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3637c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3647c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-08 3657c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-08 3667c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3677c478bd9Sstevel@tonic-gate4452202 Typos in <sys/link.h> 3687c478bd9Sstevel@tonic-gate4452220 dump doesn't support RUNPATH 3697c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3707c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3717c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-09 3727c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-09 3737c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3747c478bd9Sstevel@tonic-gate 3757c478bd9Sstevel@tonic-gate------------------------------------- 3767c478bd9Sstevel@tonic-gateSolaris 8 1001 (6th Q-update - s28u6) 3777c478bd9Sstevel@tonic-gate------------------------------------- 3787c478bd9Sstevel@tonic-gateBugid Risk Synopsis 3797c478bd9Sstevel@tonic-gate================================================================================ 3807c478bd9Sstevel@tonic-gate4421842 fixups in SHT_GROUP processing required... 3817c478bd9Sstevel@tonic-gate4450433 problem with liblddbg output on -Dsection,detail when 3827c478bd9Sstevel@tonic-gate processing SHF_LINK_ORDER 3837c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3847c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3857c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-10 3867c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-10 3877c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-15 3887c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-15 3897c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3907c478bd9Sstevel@tonic-gate4463473 pldd showing wrong output 3917c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3927c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 3937c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-11 3947c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-11 3957c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 3967c478bd9Sstevel@tonic-gate 3977c478bd9Sstevel@tonic-gate------------------------------------ 3987c478bd9Sstevel@tonic-gateSolaris 8 202 (7th Q-update - s28u7) 3997c478bd9Sstevel@tonic-gate------------------------------------ 4007c478bd9Sstevel@tonic-gateBugid Risk Synopsis 4017c478bd9Sstevel@tonic-gate================================================================================ 4027c478bd9Sstevel@tonic-gate4488954 ld.so.1 reuses same buffer to send ummapping range to 4037c478bd9Sstevel@tonic-gate _preexec_exit_handlers() 4047c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4057c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 4067c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-12 4077c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-12 4087c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4097c478bd9Sstevel@tonic-gate 4107c478bd9Sstevel@tonic-gate--------- 4117c478bd9Sstevel@tonic-gateSolaris 9 4127c478bd9Sstevel@tonic-gate--------- 4137c478bd9Sstevel@tonic-gateBugid Risk Synopsis 4147c478bd9Sstevel@tonic-gate================================================================================ 4157c478bd9Sstevel@tonic-gate4505289 incorrect handling of _START_ and _END_ 4167c478bd9Sstevel@tonic-gate4506164 mcs does not recognize #linkbefore or #linkafter qualifiers 4177c478bd9Sstevel@tonic-gate4447560 strip is creating unexecutable files... 4187c478bd9Sstevel@tonic-gate4513842 library names not in ld.so string pool cause corefile bugs 4197c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4207c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 4217c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-13 4227c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-13 4237c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-16 4247c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-16 4257c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4267c478bd9Sstevel@tonic-gate4291384 ld -M with a mapfile does not properly align Fortran REAL*8 data 4277c478bd9Sstevel@tonic-gate4413322 SunOS 5.9 librtld_db doesn't show dlopened ".o" files anymore? 4287c478bd9Sstevel@tonic-gate4429371 librtld_db busted on ia32 with SC6.x compilers... 4297c478bd9Sstevel@tonic-gate4418274 elfdump dumps core on invalid input 4307c478bd9Sstevel@tonic-gate4432224 libelf xlate routines are out of date 4317c478bd9Sstevel@tonic-gate4433643 Memory leak using dlopen()/dlclose() in Solaris 8 4327c478bd9Sstevel@tonic-gate4446564 ldd/lddstub - core dump conditions 4337c478bd9Sstevel@tonic-gate4446115 translating SUNW_move sections is broken 4347c478bd9Sstevel@tonic-gate4450225 The rdb command can fall into an infinite loop 4357c478bd9Sstevel@tonic-gate4448531 Linker Causes Segmentation Fault 4367c478bd9Sstevel@tonic-gate4453241 Regression in 4291384 can result in empty symbol table. 4377c478bd9Sstevel@tonic-gate4453398 invalid runpath token can cause ld to spin. 4387c478bd9Sstevel@tonic-gate4460230 ld (for OS 5.8 and 5.9) loses error message 4397c478bd9Sstevel@tonic-gate4462245 ld.so.1 core dumps when executed directly... 4407c478bd9Sstevel@tonic-gate4455802 need more flexibility in establishing a support library for ld 4417c478bd9Sstevel@tonic-gate4467068 dyn_plt_entsize not properly initialized in ld.so.1 4427c478bd9Sstevel@tonic-gate4468779 elf_plt_trace_write() broken on i386 (link-auditing) 4437c478bd9Sstevel@tonic-gate4465871 -zld32 and -zld64 does not work the way it should 4447c478bd9Sstevel@tonic-gate4461890 bad shared object created with -zredlocsym 4457c478bd9Sstevel@tonic-gate4469400 ld.so.1: is_so_loaded isn't as efficient as we thought... 4467c478bd9Sstevel@tonic-gate4469566 lazy loading fallback can reference un-relocated objects 4477c478bd9Sstevel@tonic-gate4470493 libelf incorectly translates NOTE sections accross architectures... 4487c478bd9Sstevel@tonic-gate4469684 rtld leaks dl_handles and permits on dlopen/dlclose 4497c478bd9Sstevel@tonic-gate4475174 ld.so.1 prematurly reports the failure to load a object... 4507c478bd9Sstevel@tonic-gate4475514 ld.so.1 can core dump in memory allocation fails (no swap) 4517c478bd9Sstevel@tonic-gate4481851 Setting ld.so.1 environment variables globally would be useful 4527c478bd9Sstevel@tonic-gate4482035 setting LD_PROFILE & LD_AUDIT causes ping command to issue warnings 4537c478bd9Sstevel@tonic-gate on 5.8 4547c478bd9Sstevel@tonic-gate4377735 segment reservations cause sbrk() to fail 4557c478bd9Sstevel@tonic-gate4491434 ld.so.1 can leak file-descriptors when loading same named objects 4567c478bd9Sstevel@tonic-gate4289232 some of warning/error/debugging messages from libld.so can be revised 4577c478bd9Sstevel@tonic-gate4462748 Linker Portion of TLS Support 4587c478bd9Sstevel@tonic-gate4496718 run-time linkers mutex_locks not working with ld_libc interface 459d156cc9dSRod Evans4497270 The -zredlocsym option should not eliminate partially initialized local 460d156cc9dSRod Evans symbols 4617c478bd9Sstevel@tonic-gate4496963 dumping an object with crle(1) that uses $ORIGIN can loose its 4627c478bd9Sstevel@tonic-gate dependencies 4637c478bd9Sstevel@tonic-gate4499413 Sun linker orders of magnitude slower than gnu linker 4647c478bd9Sstevel@tonic-gate4461760 lazy loading libXm and libXt can fail. 4657c478bd9Sstevel@tonic-gate4469031 The partial initialized (local) symbols for intel platform is not 4667c478bd9Sstevel@tonic-gate working. 4677c478bd9Sstevel@tonic-gate4492883 Add link-editor option to multi-pass archives to resolve unsatisfied 4687c478bd9Sstevel@tonic-gate symbols 4697c478bd9Sstevel@tonic-gate4503731 linker-related commands misspell "argument" 4707c478bd9Sstevel@tonic-gate4503768 whocalls(1) should output messages to stderr, not stdout 4717c478bd9Sstevel@tonic-gate4503748 whocalls(1) usage message and manpage could be improved 4727c478bd9Sstevel@tonic-gate4503625 nm should be taught about TLS symbols - that they aren't allowed that is 473d156cc9dSRod Evans4300120 segment address validation is too simplistic to handle segment 474d156cc9dSRod Evans reservations 4757c478bd9Sstevel@tonic-gate4404547 krtld/reloc.h could have better error message, has typos 4767c478bd9Sstevel@tonic-gate4270931 R_SPARC_HIX22 relocation is not handled properly 4777c478bd9Sstevel@tonic-gate4485320 ld needs to support more the 32768 PLTs 4787c478bd9Sstevel@tonic-gate4516434 sotruss can not watch libc_psr.so.1 4797c478bd9Sstevel@tonic-gate4213100 sotruss could use more flexible pattern matching 4807c478bd9Sstevel@tonic-gate4503457 ld seg fault with comdat 4817c478bd9Sstevel@tonic-gate4510264 sections with SHF_TLS can come in different orders... 4827c478bd9Sstevel@tonic-gate4518079 link-editor support library unable to modify section header flags 4837c478bd9Sstevel@tonic-gate4515913 ld.so.1 can incorrectly decrement external reference counts on dlclose() 4847c478bd9Sstevel@tonic-gate4519569 ld -V does not return a interesting value... 4857c478bd9Sstevel@tonic-gate4524512 ld.so.1 should allow alternate termination signals 4867c478bd9Sstevel@tonic-gate4524767 elfdump dies on bogus sh_name fields... 4877c478bd9Sstevel@tonic-gate4524735 ld getopt processing of '-' changed 4887c478bd9Sstevel@tonic-gate4521931 subroutine in a shared object as LOCL instead of GLOB 4897c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4907c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 4917c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-14 4927c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-14 4937c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-17 4947c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-17 4957c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 4967c478bd9Sstevel@tonic-gate4532729 tentative definition of TLS variable causes linker to dump core 4977c478bd9Sstevel@tonic-gate4526745 fixup ld error message about duplicate dependencies/needed names 4987c478bd9Sstevel@tonic-gate4522999 Solaris linker one order of magnitude slower than GNU linker 4997c478bd9Sstevel@tonic-gate4518966 dldump undoes existing relocations with no thought of alignment or size. 5007c478bd9Sstevel@tonic-gate4587441 Certain libraries have race conditions when setting error codes 5017c478bd9Sstevel@tonic-gate4523798 linker option to align bss to large pagesize alignments. 5027c478bd9Sstevel@tonic-gate4524008 ld can improperly set st_size of symbols named "_init" or "_fini" 5037c478bd9Sstevel@tonic-gate4619282 ld cannot link a program with the option -sb 5047c478bd9Sstevel@tonic-gate4620846 Perl Configure probing broken by ld changes 5057c478bd9Sstevel@tonic-gate4621122 multiple ld '-zinitarray=' on a commandline fails 5067c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5077c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-15 5087c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-15 5097c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch 106950-18 5107c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch 106951-18 5117c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch 107733-10 5127c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch 107734-10 5137c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 514bbf522bdSrieAll the above changes plus: 5157c478bd9Sstevel@tonic-gate 4616944 ar seg faults when order of object file is reversed. 516bbf522bdSrieare incorporated in the following patches: 5177c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch 109147-16 5187c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch 109148-16 5197c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 520bbf522bdSrieAll the above changes plus: 5217c478bd9Sstevel@tonic-gate 4872634 Large LD_PRELOAD values can cause SEGV of process 522bbf522bdSrieare incorporated in the following patches: 5237c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_sparc patch T107733-11 5247c478bd9Sstevel@tonic-gate Solaris/SunOS 5.6_x86 patch T107734-11 5257c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5267c478bd9Sstevel@tonic-gate 5277c478bd9Sstevel@tonic-gate------------------------------------ 5287c478bd9Sstevel@tonic-gateSolaris 9 1202 (2nd Q-update - s9u2) 5297c478bd9Sstevel@tonic-gate------------------------------------ 5307c478bd9Sstevel@tonic-gateBugid Risk Synopsis 5317c478bd9Sstevel@tonic-gate================================================================================ 5327c478bd9Sstevel@tonic-gate4546416 add help messages to ld.so mdbmodule 5337c478bd9Sstevel@tonic-gate4526752 we should build and ship ld.so's mdb module 5347c478bd9Sstevel@tonic-gate4624658 update 386 TLS relocation values 5357c478bd9Sstevel@tonic-gate4622472 LA_SYMB_DLSYM not set for la_symbind() invocations 5367c478bd9Sstevel@tonic-gate4638070 ldd/ld.so.1 could aid in detecting unreferenced dependencies 5377c478bd9Sstevel@tonic-gate PSARC/2002/096 Detecting unreferenced dependencies with ldd(1) 5387c478bd9Sstevel@tonic-gate4633860 Optimization for unused static global variables 5397c478bd9Sstevel@tonic-gate PSARC/2002/113 ld -zignore - section elimination 5407c478bd9Sstevel@tonic-gate4642829 ld.so.1 mprotect()'s text segment for weak relocations (it shouldn't) 5417c478bd9Sstevel@tonic-gate4621479 'make' in $SRC/cmd/sgs/tools tries to install things in the proto area 5427c478bd9Sstevel@tonic-gate4529912 purge ia64 source from sgs 5437c478bd9Sstevel@tonic-gate4651709 dlopen(RTLD_NOLOAD) can disable lazy loading 5447c478bd9Sstevel@tonic-gate4655066 crle: -u with nonexistent config file doesn't work 5457c478bd9Sstevel@tonic-gate4654406 string tables created by the link-editor could be smaller... 5467c478bd9Sstevel@tonic-gate PSARC/2002/160 ld -znocompstrtab - disable string-table compression 5477c478bd9Sstevel@tonic-gate4651493 RTLD_NOW can result in binding to an object prior to its init being run. 5487c478bd9Sstevel@tonic-gate4662575 linker displacement relocation checking introduces significant 5497c478bd9Sstevel@tonic-gate linker overhead 5507c478bd9Sstevel@tonic-gate4533195 ld interposes on malloc()/free() preventing support library from freeing 5517c478bd9Sstevel@tonic-gate memory 5527c478bd9Sstevel@tonic-gate4630224 crle get's confused about memory layout of objects... 5537c478bd9Sstevel@tonic-gate4664855 crle on application failed with ld.so.1 encountering mmap() returning 5547c478bd9Sstevel@tonic-gate ENOMEM err 5557c478bd9Sstevel@tonic-gate4669582 latest dynamic linker causes libthread _init to get skipped 5567c478bd9Sstevel@tonic-gate4671493 ld.so.1 inconsistantly assigns PATHNAME() on primary objects 5577c478bd9Sstevel@tonic-gate4668517 compile with map.bssalign doesn't copy _iob to bss 5587c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5597c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 5607c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-01 5617c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-17 5627c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-17 5637c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5647c478bd9Sstevel@tonic-gate4701749 On Solaris 8 + 109147-16 ld crashes when building a dynamic library. 5657c478bd9Sstevel@tonic-gate4707808 The ldd command is broken in the latest 2.8 linker patch. 5667c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5677c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 5687c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-02 5697c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-18 5707c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-18 5717c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5727c478bd9Sstevel@tonic-gate4696204 enable extended section indexes in relocatable objects 5737c478bd9Sstevel@tonic-gate PSARC/2001/332 ELF gABI updates - round II 5747c478bd9Sstevel@tonic-gate PSARC/2002/369 libelf interfaces to support ELF Extended Sections 5757c478bd9Sstevel@tonic-gate4706503 linkers need to cope with EF_SPARCV9_PSO/EF_SPARCV9_RMO 5767c478bd9Sstevel@tonic-gate4716929 updating of local register symbols in dynamic symtab busted... 5777c478bd9Sstevel@tonic-gate4710814 add "official" support for the "symbolic" keyword in linker map-file 5787c478bd9Sstevel@tonic-gate PSARC/2002/439 linker mapfile visibility declarations 5797c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5807c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 5817c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-03 5827c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-19 5837c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-19 5847c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-19 5857c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-19 5867c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 5877c478bd9Sstevel@tonic-gate 5887c478bd9Sstevel@tonic-gate----------------------------------- 5897c478bd9Sstevel@tonic-gateSolaris 9 403 (3nd Q-update - s9u3) 5907c478bd9Sstevel@tonic-gate----------------------------------- 5917c478bd9Sstevel@tonic-gateBugid Risk Synopsis 5927c478bd9Sstevel@tonic-gate================================================================================ 5937c478bd9Sstevel@tonic-gate4731174 strip(1) does not fixup SHT_GROUP data 5947c478bd9Sstevel@tonic-gate4733697 -zignore with gcc may exclude C++ exception sections 5957c478bd9Sstevel@tonic-gate4733317 R_SPARC_*_HIX22 calculations are wrong with 32bit LD building 5967c478bd9Sstevel@tonic-gate ELF64 binaries 5977c478bd9Sstevel@tonic-gate4735165 fatal linker error when compiling C++ programs with -xlinkopt 5987c478bd9Sstevel@tonic-gate4736951 The mcs broken when the target file is an archive file 5997c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6007c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 6017c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-20 6027c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-20 6037c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-20 6047c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-20 6057c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6067c478bd9Sstevel@tonic-gate4739660 Threads deadlock in schedlock and dynamic linker lock. 6077c478bd9Sstevel@tonic-gate4653148 ld.so.1/libc should unregister its dlclose() exit handler via a fini. 6087c478bd9Sstevel@tonic-gate4743413 ld.so.1 doesn't terminate argv with NULL pointer when invoked directly 6097c478bd9Sstevel@tonic-gate4746231 linker core-dumps when SECTION relocations are made against discarded 6107c478bd9Sstevel@tonic-gate sections 6117c478bd9Sstevel@tonic-gate4730433 ld.so.1 wastes time repeatedly opening dependencies 6127c478bd9Sstevel@tonic-gate4744337 missing RD_CONSISTENT event with dlmopen(LD_ID_NEWLM, ...) 6137c478bd9Sstevel@tonic-gate4670835 rd_load_objiter can ignore callback's return value 6147c478bd9Sstevel@tonic-gate4745932 strip utility doesn't strip out Dwarf2 debug section 6157c478bd9Sstevel@tonic-gate4754751 "strip" command doesn't remove comdat stab sections. 6167c478bd9Sstevel@tonic-gate4755674 Patch 109147-18 results in coredump. 6177c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6187c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 6197c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-04 6207c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-21 6217c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-21 6227c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6237c478bd9Sstevel@tonic-gate4772927 strip core dumps on an archive library 6247c478bd9Sstevel@tonic-gate4774727 direct-bindings can fail against copy-reloc symbols 6257c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6267c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 6277c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-05 6287c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-01 6297c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-21 6307c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-21 6317c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-22 6327c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-22 6337c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6347c478bd9Sstevel@tonic-gate 6357c478bd9Sstevel@tonic-gate----------------------------------- 6367c478bd9Sstevel@tonic-gateSolaris 9 803 (4th Q-update - s9u4) 6377c478bd9Sstevel@tonic-gate----------------------------------- 6387c478bd9Sstevel@tonic-gateBugid Risk Synopsis 6397c478bd9Sstevel@tonic-gate================================================================================ 6407c478bd9Sstevel@tonic-gate4730110 ld.so.1 list implementation could scale better 6417c478bd9Sstevel@tonic-gate4728822 restrict the objects dlsym() searches. 6427c478bd9Sstevel@tonic-gate PSARC/2002/478 New dlopen(3dl) flag - RTLD_FIRST 6437c478bd9Sstevel@tonic-gate4714146 crle: 64-bit secure pathname is incorrect. 6447c478bd9Sstevel@tonic-gate4504895 dlclose() does not remove all objects 6457c478bd9Sstevel@tonic-gate4698800 Wrong comments in /usr/lib/ld/sparcv9/map.* 6467c478bd9Sstevel@tonic-gate4745129 dldump is inconsistent with .dynamic processing errors. 6477c478bd9Sstevel@tonic-gate4753066 LD_SIGNAL isn't very useful in a threaded environment 6487c478bd9Sstevel@tonic-gate PSARC/2002/569 New dlinfo(3dl) flag - RTLD_DI_SIGNAL 6497c478bd9Sstevel@tonic-gate4765536 crle: symbolic links can confuse alternative object configuration info 6507c478bd9Sstevel@tonic-gate4766815 ld -r of object the TLS data fails 6517c478bd9Sstevel@tonic-gate4770484 elfdump can not handle stripped archive file 6527c478bd9Sstevel@tonic-gate4770494 The ld command gives improper error message handling broken archive 6537c478bd9Sstevel@tonic-gate4775738 overwriting output relocation table when 'ld -zignore' is used 6547c478bd9Sstevel@tonic-gate4778247 elfdump -e of core files fails 6557c478bd9Sstevel@tonic-gate4779976 elfdump dies on bad relocation entries 6567c478bd9Sstevel@tonic-gate4787579 invalid SHT_GROUP entries can cause linker to seg fault 6577c478bd9Sstevel@tonic-gate4783869 dlclose: filter closure exhibits hang/failure - introduced with 4504895 6587c478bd9Sstevel@tonic-gate4778418 ld.so.1: there be nits out there 6597c478bd9Sstevel@tonic-gate4792461 Thread-Local Storage - x86 instruction sequence updates 6607c478bd9Sstevel@tonic-gate PSARC/2002/746 Thread-Local Storage - x86 instruction sequence updates 6617c478bd9Sstevel@tonic-gate4461340 sgs: ugly build output while suppressing ia64 (64-bit) build on Intel 6627c478bd9Sstevel@tonic-gate4790194 dlopen(..., RTLD_GROUP) has an odd interaction with interposition 6637c478bd9Sstevel@tonic-gate4804328 auditing of threaded applications results in deadlock 6647c478bd9Sstevel@tonic-gate4806476 building relocatable objects with SHF_EXCLUDE loses relocation 6657c478bd9Sstevel@tonic-gate information 6667c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6677c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 6687c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-06 6697c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-02 6707c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-22 6717c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-22 6727c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6737c478bd9Sstevel@tonic-gate4731183 compiler creates .tlsbss section instead of .tbss as documented 6747c478bd9Sstevel@tonic-gate4816378 TLS: a tls test case dumps core with C and C++ compilers 6757c478bd9Sstevel@tonic-gate4817314 TLS_GD relocations against local symbols do not reference symbol... 6767c478bd9Sstevel@tonic-gate4811951 non-default symbol visibility overriden by definition in shared object 6777c478bd9Sstevel@tonic-gate4802194 relocation error of mozilla built by K2 compiler 6787c478bd9Sstevel@tonic-gate4715815 ld should allow linking with no output file (or /dev/null) 6797c478bd9Sstevel@tonic-gate4793721 Need a way to null all code in ISV objects enabling ld performance 6807c478bd9Sstevel@tonic-gate tuning 6817c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 682bbf522bdSrieAll the above changes plus: 6837c478bd9Sstevel@tonic-gate 4796237 RFE: link-editor became extremely slow with patch 109147-20 and 6847c478bd9Sstevel@tonic-gate static libraries 685bbf522bdSrieare incorporated in the following patches: 6867c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-07 6877c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-03 6887c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-23 6897c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-23 6907c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 6917c478bd9Sstevel@tonic-gate 6927c478bd9Sstevel@tonic-gate------------------------------------ 6937c478bd9Sstevel@tonic-gateSolaris 9 1203 (5th Q-update - s9u5) 6947c478bd9Sstevel@tonic-gate------------------------------------ 6957c478bd9Sstevel@tonic-gateBugid Risk Synopsis 6967c478bd9Sstevel@tonic-gate================================================================================ 6977c478bd9Sstevel@tonic-gate4830584 mmap for the padding region doesn't get freed after dlclose 6987c478bd9Sstevel@tonic-gate4831650 ld.so.1 can walk off the end of it's call_init() array... 6997c478bd9Sstevel@tonic-gate4831544 ldd using .so modules compiled with FD7 compiler caused a core dump 7007c478bd9Sstevel@tonic-gate4834784 Accessing members in a TLS structure causes a core dump in Oracle 7017c478bd9Sstevel@tonic-gate4824026 segv when -z combreloc is used with -xlinkopt 7027c478bd9Sstevel@tonic-gate4825296 typo in elfdump 7037c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7047c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 7057c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-08 7067c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-04 7077c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-24 7087c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-24 7097c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7107c478bd9Sstevel@tonic-gate4470917 Solaris Process Model Unification (link-editor components only) 7112722387fSrie PSARC/2002/117 Solaris Process Model Unification 7127c478bd9Sstevel@tonic-gate4744411 Bloomberg wants a faster linker. 7137c478bd9Sstevel@tonic-gate4811969 64-bit links can be much slower than 32-bit. 7147c478bd9Sstevel@tonic-gate4825065 ld(1) should ignore consecutive empty sections. 7157c478bd9Sstevel@tonic-gate4838226 unrelocated shared objects may be erroneously collected for init firing 7167c478bd9Sstevel@tonic-gate4830889 TLS: testcase coredumps with -xarch=v9 and -g 7177c478bd9Sstevel@tonic-gate4845764 filter removal can leave dangling filtee pointer 7187c478bd9Sstevel@tonic-gate4811093 apptrace -F libc date core dumps 7197c478bd9Sstevel@tonic-gate4826315 Link editors need to be pre- and post- Unified Process Model aware 7207c478bd9Sstevel@tonic-gate4868300 interposing on direct bindings can fail 7217c478bd9Sstevel@tonic-gate4872634 Large LD_PRELOAD values can cause SEGV of process 7227c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7237c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 7247c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-09 7257c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-05 7267c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-25 7277c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-25 7287c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7297c478bd9Sstevel@tonic-gate 7307c478bd9Sstevel@tonic-gate------------------------------------ 7317c478bd9Sstevel@tonic-gateSolaris 9 404 (6th Q-update - s9u6) 7327c478bd9Sstevel@tonic-gate------------------------------------ 7337c478bd9Sstevel@tonic-gateBugid Risk Synopsis 7347c478bd9Sstevel@tonic-gate================================================================================ 7357c478bd9Sstevel@tonic-gate4870260 The elfdump command should produce more warning message on invalid move 7367c478bd9Sstevel@tonic-gate entries. 7377c478bd9Sstevel@tonic-gate4865418 empty PT_TLS program headers cause problems in TLS enabled applications 7387c478bd9Sstevel@tonic-gate4825151 compiler core dumped with a -mt -xF=%all test 7397c478bd9Sstevel@tonic-gate4845829 The runtime linker fails to dlopen() long path name. 7407c478bd9Sstevel@tonic-gate4900684 shared libraries with more then 32768 plt's fail for sparc ELF64 7417c478bd9Sstevel@tonic-gate4906062 Makefiles under usr/src/cmd/sgs needs to be updated 7427c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7437c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 7447c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-10 7457c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-06 7467c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-26 7477c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-26 7487c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-24 7497c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-24 7507c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7517c478bd9Sstevel@tonic-gate4900320 rtld library mapping could be faster 7527c478bd9Sstevel@tonic-gate4911775 implement GOTDATA proposal in ld 7537c478bd9Sstevel@tonic-gate PSARC/2003/477 SPARC GOTDATA instruction sequences 7547c478bd9Sstevel@tonic-gate4904565 Functionality to ignore relocations against external symbols 7557c478bd9Sstevel@tonic-gate4764817 add section types SHT_DEBUG and SHT_DEBUGSTR 7567c478bd9Sstevel@tonic-gate PSARC/2003/510 New ELF DEBUG and ANNOTATE sections 7577c478bd9Sstevel@tonic-gate4850703 enable per-symbol direct bindings 7587c478bd9Sstevel@tonic-gate4716275 Help required in the link analysis of runtime interfaces 7597c478bd9Sstevel@tonic-gate PSARC/2003/519 Link-editors: Direct Binding Updates 7607c478bd9Sstevel@tonic-gate4904573 elfdump may hang when processing archive files 7617c478bd9Sstevel@tonic-gate4918310 direct binding from an executable can't be interposed on 7627c478bd9Sstevel@tonic-gate4918938 ld.so.1 has become SPARC32PLUS - breaks 4.x binary compatibility 7637c478bd9Sstevel@tonic-gate4911796 S1S8 C++: ld dump core when compiled and linked with xlinkopt=1. 7647c478bd9Sstevel@tonic-gate4889914 ld crashes with SEGV using -M mapfile under certain conditions 7657c478bd9Sstevel@tonic-gate4911936 exception are not catch from shared library with -zignore 7667c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7677c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 7687c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-11 7697c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-07 7707c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-27 7717c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-27 7727c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_sparc patch T106950-25 7737c478bd9Sstevel@tonic-gate Solaris/SunOS 5.7_x86 patch T106951-25 7747c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7757c478bd9Sstevel@tonic-gate4946992 ld crashes due to huge number of sections (>65,000) 7767c478bd9Sstevel@tonic-gate4951840 mcs -c goes into a loop on executable program 7777c478bd9Sstevel@tonic-gate4939869 Need additional relocation types for abs34 code model 7787c478bd9Sstevel@tonic-gate PSARC/2003/684 abs34 ELF relocations 7797c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7807c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 7817c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-12 7827c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-08 7837c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-28 7847c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-28 7857c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 7867c478bd9Sstevel@tonic-gate 7877c478bd9Sstevel@tonic-gate------------------------------------ 7887c478bd9Sstevel@tonic-gateSolaris 9 904 (7th Q-update - s9u7) 7897c478bd9Sstevel@tonic-gate------------------------------------ 7907c478bd9Sstevel@tonic-gateBugid Risk Synopsis 7917c478bd9Sstevel@tonic-gate================================================================================ 7927c478bd9Sstevel@tonic-gate4912214 Having multiple of libc.so.1 in a link map causes malloc() to fail 7937c478bd9Sstevel@tonic-gate4526878 ld.so.1 should pass MAP_ALIGN flag to give kernel more flexibility 7947c478bd9Sstevel@tonic-gate4930997 sgs bld_vernote.ksh script needs to be hardend... 7957c478bd9Sstevel@tonic-gate4796286 ld.so.1: scenario for trouble? 7967c478bd9Sstevel@tonic-gate4930985 clean up cruft under usr/src/cmd/sgs/tools 7977c478bd9Sstevel@tonic-gate4933300 remove references to Ultra-1 in librtld_db demo 7987c478bd9Sstevel@tonic-gate4936305 string table compression is much too slow... 7997c478bd9Sstevel@tonic-gate4939626 SUNWonld internal package must be updated... 8007c478bd9Sstevel@tonic-gate4939565 per-symbol filtering required 8017c478bd9Sstevel@tonic-gate4948119 ld(1) -z loadfltr fails with per-symbol filtering 8027c478bd9Sstevel@tonic-gate4948427 ld.so.1 gives fatal error when multiple RTLDINFO objects are loaded 8037c478bd9Sstevel@tonic-gate4940894 ld core dumps using "-xldscope=symbolic 8047c478bd9Sstevel@tonic-gate4955373 per-symbol filtering refinements 8057c478bd9Sstevel@tonic-gate4878827 crle(1M) - display post-UPM search paths, and compensate for pre-UPM. 8067c478bd9Sstevel@tonic-gate4955802 /usr/ccs/bin/ld dumps core in process_reld() 8077c478bd9Sstevel@tonic-gate4964415 elfdump issues wrong relocation error message 8087c478bd9Sstevel@tonic-gate4966465 LD_NOAUXFLTR fails when object is both a standard and auxiliary filter 8097c478bd9Sstevel@tonic-gate4973865 the link-editor does not scale properly when linking objects with 8107c478bd9Sstevel@tonic-gate lots of syms 8117c478bd9Sstevel@tonic-gate4975598 SHT_SUNW_ANNOTATE section relocation not resolved 8127c478bd9Sstevel@tonic-gate4974828 nss_files nss_compat r_mt tests randomly segfaulting 8137c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8147c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 8157c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-13 8167c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-09 8177c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8187c478bd9Sstevel@tonic-gate4860508 link-editors should create/promote/verify hardware capabilities 8197c478bd9Sstevel@tonic-gate5002160 crle: reservation for dumped objects gets confused by mmaped object 8207c478bd9Sstevel@tonic-gate4967869 linking stripped library causes segv in linker 8217c478bd9Sstevel@tonic-gate5006657 link-editor doesn't always handle nodirect binding syminfo information 8227c478bd9Sstevel@tonic-gate4915901 no way to see ELF information 8237c478bd9Sstevel@tonic-gate5021773 ld.so.1 has trouble with objects having more than 2 segments. 8247c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8257c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 8267c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-14 8277c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-10 8287c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-29 8297c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-29 8307c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 83108278a5eSRod EvansAll the above changes plus: 83208278a5eSRod Evans 6850124 dlopen reports "No such file or directory" in spite of ENOMEM 83308278a5eSRod Evans when mmap fails in anon_map() 83408278a5eSRod Evansare incorporated in the following patches: 83508278a5eSRod Evans Solaris/SunOS 5.9_sparc patch TXXXXXX-XX 83608278a5eSRod Evans Solaris/SunOS 5.9_x86 patch TXXXXXX-XX 83708278a5eSRod Evans-------------------------------------------------------------------------------- 8387c478bd9Sstevel@tonic-gate 8397c478bd9Sstevel@tonic-gate---------- 8407c478bd9Sstevel@tonic-gateSolaris 10 8417c478bd9Sstevel@tonic-gate---------- 8427c478bd9Sstevel@tonic-gateBugid Risk Synopsis 8437c478bd9Sstevel@tonic-gate================================================================================ 8447c478bd9Sstevel@tonic-gate5044797 ld.so.1: secure directory testing is being skipped during filtee 8457c478bd9Sstevel@tonic-gate processing 8467c478bd9Sstevel@tonic-gate4963676 Remove remaining static libraries 8477c478bd9Sstevel@tonic-gate5021541 unnecessary PT_SUNWBSS segment may be created 8487c478bd9Sstevel@tonic-gate5031495 elfdump complains about bad symbol entries in core files 8497c478bd9Sstevel@tonic-gate5012172 Need error when creating shared object with .o compiled 8507c478bd9Sstevel@tonic-gate -xarch=v9 -xcode=abs44 8517c478bd9Sstevel@tonic-gate4994738 rd_plt_resolution() resolves ebx-relative PLT entries incorrectly 8527c478bd9Sstevel@tonic-gate5023493 ld -m output with patch 109147-25 missing .o information 8537c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8547c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 8557c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-15 8567c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-11 8577c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-30 8587c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-30 8597c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8607c478bd9Sstevel@tonic-gate5071614 109147-29 & -30 break the build of on28-patch on Solaris 8 2/04 8617c478bd9Sstevel@tonic-gate5029830 crle: provide for optional alternative dependencies. 8627c478bd9Sstevel@tonic-gate5034652 ld.so.1 should save, and print, more error messages 8637c478bd9Sstevel@tonic-gate5036561 ld.so.1 outputs non-fatal fatal message about auxiliary filter libraries 8647c478bd9Sstevel@tonic-gate5042713 4866170 broke ld.so's ::setenv 8657c478bd9Sstevel@tonic-gate5047082 ld can core dump on bad gcc objects 8667c478bd9Sstevel@tonic-gate5047612 ld.so.1: secure pathname verification is flawed with filter use 8677c478bd9Sstevel@tonic-gate5047235 elfdump can core dump printing PT_INTERP section 8687c478bd9Sstevel@tonic-gate4798376 nits in demo code 8697c478bd9Sstevel@tonic-gate5041446 gelf_update_*() functions inconsistently return NULL or 0 8707c478bd9Sstevel@tonic-gate5032364 M_ID_TLSBSS and M_ID_UNKNOWN have the same value 8717c478bd9Sstevel@tonic-gate4707030 Empty LD_PRELOAD_64 doesn't override LD_PRELOAD 8727c478bd9Sstevel@tonic-gate4968618 symbolic linkage causes core dump 8737c478bd9Sstevel@tonic-gate5062313 dladdr() can cause deadlock in MT apps. 8747c478bd9Sstevel@tonic-gate5056867 $ISALIST/$HWCAP expansion should be more flexible. 8757c478bd9Sstevel@tonic-gate4918303 0@0.so.1 should not use compiler-supplied crt*.o files 8767c478bd9Sstevel@tonic-gate5058415 whocalls cannot take more than 10 arguments 8777c478bd9Sstevel@tonic-gate5067518 The fix for 4918303 breaks the build if a new work space is used. 8787c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8797c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 8807c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-16 8817c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-12 8827c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-31 8837c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-31 8847c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 8857c478bd9Sstevel@tonic-gate5013759 *file* should report hardware/software capabilities (link-editor 8867c478bd9Sstevel@tonic-gate components only) 8877c478bd9Sstevel@tonic-gate5063580 libldstab: file /tmp/posto..: .stab[.index|.sbfocus] found with no 8887c478bd9Sstevel@tonic-gate matching stri 8897c478bd9Sstevel@tonic-gate5076838 elfdump(1) is built with a CTF section (the wrong one) 8907c478bd9Sstevel@tonic-gate5080344 Hardware capabilities are not enforced for a.out 8917c478bd9Sstevel@tonic-gate5079061 RTLD_DEFAULT can be expensive 892f441771bSRod Evans PSARC/2004/747 New dlsym(3c) Handle - RTLD_PROBE 8937c478bd9Sstevel@tonic-gate5064973 allow normal relocs against TLS symbols for some sections 8947c478bd9Sstevel@tonic-gate5085792 LD_XXXX_64 should override LD_XXXX 8957c478bd9Sstevel@tonic-gate5096272 every executable or library has a .SUNW_dof section 8967c478bd9Sstevel@tonic-gate5094135 Bloomberg wants a faster ldd. 8977c478bd9Sstevel@tonic-gate5086352 libld.so.3 should be built with a .SUNW_ctf ELF section, ready for CR 8987c478bd9Sstevel@tonic-gate5098205 elfdump gives wrong section name for the global offset table 8997c478bd9Sstevel@tonic-gate5092414 Linker patch 109147-29 makes Broadvison One-To-One server v4.1 9007c478bd9Sstevel@tonic-gate installation fail 9017c478bd9Sstevel@tonic-gate5080256 dump(1) doesn't list ELF hardware capabilities 9027c478bd9Sstevel@tonic-gate5097347 recursive read lock in gelf_getsym() 9037c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9047c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 9057c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-17 9067c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-13 9077c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-32 9087c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-32 9097c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9107c478bd9Sstevel@tonic-gate5106206 ld.so.1 fail to run a Solaris9 program that has libc linked with 9117c478bd9Sstevel@tonic-gate -z lazyload 9127c478bd9Sstevel@tonic-gate5102601 ON should deliver a 64-bit operating system for Opteron systems 9137c478bd9Sstevel@tonic-gate (link-editor components only) 9147c478bd9Sstevel@tonic-gate6173852 enable link_auditing technology for amd64 9157c478bd9Sstevel@tonic-gate6174599 linker does not create .eh_frame_hdr sections for eh_frame sections 9167c478bd9Sstevel@tonic-gate with SHF_LINK_ORDER 9177c478bd9Sstevel@tonic-gate6175609 amd64 run-time linker has a corrupted note section 9187c478bd9Sstevel@tonic-gate6175843 amd64 rdb_demo files not installed 9197c478bd9Sstevel@tonic-gate6182293 ld.so.1 can repeatedly relocate object .plts (RTLD_NOW). 9207c478bd9Sstevel@tonic-gate6183645 ld core dumps when automounter fails 9217c478bd9Sstevel@tonic-gate6178667 ldd list unexpected (file not found) in x86 environment. 9227c478bd9Sstevel@tonic-gate6181928 Need new reloc types R_AMD64_GOTOFF64 and R_AMD64_GOTPC32 9237c478bd9Sstevel@tonic-gate6182884 AMD64: ld coredumps when building a shared library 9247c478bd9Sstevel@tonic-gate6173559 The ld may set incorrect value for sh_addralign under some conditions. 9257c478bd9Sstevel@tonic-gate5105601 ld.so.1 gets a little too enthusiastic with interposition 9267c478bd9Sstevel@tonic-gate6189384 ld.so.1 should accommodate a files dev/inode change (libc loopback mnt) 9277c478bd9Sstevel@tonic-gate6177838 AMD64: linker cannot resolve PLT for 32-bit a.out(s) on amd64-S2 kernel 9287c478bd9Sstevel@tonic-gate6190863 sparc disassembly code should be removed from rdb_demo 9297c478bd9Sstevel@tonic-gate6191488 unwind eh_frame_hdr needs corrected encoding value 9307c478bd9Sstevel@tonic-gate6192490 moe(1) returns /lib/libc.so.1 for optimal expansion of libc HWCAP 9317c478bd9Sstevel@tonic-gate libraries 9327c478bd9Sstevel@tonic-gate6192164 AMD64: introduce dlamd64getunwind interface 9337c478bd9Sstevel@tonic-gate PSARC/2004/747 libc::dlamd64getunwind() 9347c478bd9Sstevel@tonic-gate6195030 libdl has bad version name 9357c478bd9Sstevel@tonic-gate6195521 64-bit moe(1) missed the train 9367c478bd9Sstevel@tonic-gate6198358 AMD64: bad eh_frame_hdr data when C and C++ mixed in a.out 9377c478bd9Sstevel@tonic-gate6204123 ld.so.1: symbol lookup fails even after lazy loading fallback 9387c478bd9Sstevel@tonic-gate6207495 UNIX98/UNIX03 vsx namespace violation DYNL.hdr/misc/dlfcn/T.dlfcn 9397c478bd9Sstevel@tonic-gate 14 Failed 9407c478bd9Sstevel@tonic-gate6217285 ctfmerge crashed during full onnv build 9417c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9427c478bd9Sstevel@tonic-gate 943552ff457Srie------------------------------------- 944552ff457SrieSolaris 10 106 (1st Q-update - s10u1) 945552ff457Srie------------------------------------- 9467c478bd9Sstevel@tonic-gateBugid Risk Synopsis 9477c478bd9Sstevel@tonic-gate================================================================================ 9487c478bd9Sstevel@tonic-gate6209350 Do not include signature section from dynamic dependency library into 9497c478bd9Sstevel@tonic-gate relocatable object 9507c478bd9Sstevel@tonic-gate6212797 The binary compiled on SunOS4.x doesn't run on Solaris8 with Patch 9517c478bd9Sstevel@tonic-gate 109147-31 9527c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9537c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 9547c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-18 9557c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-14 9567c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-33 9577c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-33 9587c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9597c478bd9Sstevel@tonic-gate6219538 112963-17: linker patch causes binary to dump core 9607c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9617c478bd9Sstevel@tonic-gateAll the above changes are incorporated in the following patches: 96244a875b7Srie Solaris/SunOS 5.10_sparc patch T117461-01 9637c478bd9Sstevel@tonic-gate Solaris/SunOS 5.10_x86 patch T118345-01 9647c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-19 9657c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-15 9667c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-34 9677c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-34 9687c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9697c478bd9Sstevel@tonic-gate6257177 incremental builds of usr/src/cmd/sgs can fail... 9707c478bd9Sstevel@tonic-gate6219651 AMD64: Linker does not issue error for out of range R_AMD64_PC32 9717c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 972bbf522bdSrieAll the above changes are incorporated in the following patches: 97344a875b7Srie Solaris/SunOS 5.10_sparc patch T117461-02 9747c478bd9Sstevel@tonic-gate Solaris/SunOS 5.10_x86 patch T118345-02 9757c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-20 9767c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-16 9777c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-35 9787c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-35 9797c478bd9Sstevel@tonic-gateNOTE: The fix for 6219651 is only applicable for 5.10_x86 platform. 9807c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 9817c478bd9Sstevel@tonic-gate5080443 lazy loading failure doesn't clean up after itself (D) 9827c478bd9Sstevel@tonic-gate6226206 ld.so.1 failure when processing single segment hwcap filtee 9837c478bd9Sstevel@tonic-gate6228472 ld.so.1: link-map control list stacking can loose objects 9847c478bd9Sstevel@tonic-gate6235000 random packages not getting installed in snv_09 and snv_10 - 9857c478bd9Sstevel@tonic-gate rtld/common/malloc.c Assertion 9867c478bd9Sstevel@tonic-gate6219317 Large page support is needed for mapping executables, libraries and 9877c478bd9Sstevel@tonic-gate files (link-editor components only) 9887c478bd9Sstevel@tonic-gate6244897 ld.so.1 can't run apps from commandline 9897c478bd9Sstevel@tonic-gate6251798 moe(1) returns an internal assertion failure message in some 9907c478bd9Sstevel@tonic-gate circumstances 9917c478bd9Sstevel@tonic-gate6251722 ld fails silently with exit 1 status when -z ignore passed 9927c478bd9Sstevel@tonic-gate6254364 ld won't build libgenunix.so with absolute relocations 9937c478bd9Sstevel@tonic-gate6215444 ld.so.1 caches "not there" lazy libraries, foils svc.startd(1M)'s logic 9947c478bd9Sstevel@tonic-gate6222525 dlsym(3C) trusts caller(), which may return wrong results with tail call 9957c478bd9Sstevel@tonic-gate optimization 9967c478bd9Sstevel@tonic-gate6241995 warnings in sgs should be fixed (link-editor components only) 9977c478bd9Sstevel@tonic-gate6258834 direct binding availability should be verified at runtime 9987c478bd9Sstevel@tonic-gate6260361 lari shouldn't count a.out non-zero undefined entries as interesting 9997c478bd9Sstevel@tonic-gate6260780 ldd doesn't recognize LD_NOAUXFLTR 10007c478bd9Sstevel@tonic-gate6266261 Add ld(1) -Bnodirect support (D) 10017c478bd9Sstevel@tonic-gate6261990 invalid e_flags error could be a little more friendly 10027c478bd9Sstevel@tonic-gate6261803 lari(1) should find more events uninteresting (D) 10037c478bd9Sstevel@tonic-gate6267352 libld_malloc provides inadequate alignment 10047c478bd9Sstevel@tonic-gate6268693 SHN_SUNW_IGNORE symbols should be allowed to be mulitiply defined 10057c478bd9Sstevel@tonic-gate6262789 Infosys wants a faster linker 10067c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 1007bbf522bdSrieAll the above changes are incorporated in the following patches: 100844a875b7Srie Solaris/SunOS 5.10_sparc patch T117461-03 10097c478bd9Sstevel@tonic-gate Solaris/SunOS 5.10_x86 patch T118345-03 10107c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_sparc patch T112963-21 10117c478bd9Sstevel@tonic-gate Solaris/SunOS 5.9_x86 patch T113986-17 10127c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_sparc patch T109147-36 10137c478bd9Sstevel@tonic-gate Solaris/SunOS 5.8_x86 patch T109148-36 10147c478bd9Sstevel@tonic-gate-------------------------------------------------------------------------------- 10157c478bd9Sstevel@tonic-gate6283601 The usr/src/cmd/sgs/packages/common/copyright contains old information 10167c478bd9Sstevel@tonic-gate legally problematic 101741072f3cSrie6276905 dlinfo gives inconsistent results (relative vs absolute linkname) (D) 101841072f3cSrie PSARC/2005/357 dlinfo(3c) RTLD_DI_ARGSINFO 1019cc7efc4fSrie6284941 excessive link times with many groups/sections 1020390b98b5Srie6280467 dlclose() unmaps shared library before library's _fini() has finished 102156d7adc6Srie6291547 ld.so mishandles LD_AUDIT causing security problems. 102280b8e1d8Srie-------------------------------------------------------------------------------- 1023bbf522bdSrieAll the above changes are incorporated in the following patches: 102444a875b7Srie Solaris/SunOS 5.10_sparc patch T117461-04 102580b8e1d8Srie Solaris/SunOS 5.10_x86 patch T118345-04 102680b8e1d8Srie Solaris/SunOS 5.9_sparc patch T112963-22 102780b8e1d8Srie Solaris/SunOS 5.9_x86 patch T113986-18 102880b8e1d8Srie Solaris/SunOS 5.8_sparc patch T109147-37 102980b8e1d8Srie Solaris/SunOS 5.8_x86 patch T109148-37 103080b8e1d8Srie-------------------------------------------------------------------------------- 103180b8e1d8Srie6295971 UNIX98/UNIX03 *vsx* DYNL.hdr/misc/dlfcn/T.dlfcn 14 fails, auxv.h syntax 103280b8e1d8Srie error 103344a875b7Srie6299525 .init order failure when processing cycles 1034b3fbe5e6Sseizo6273855 gcc and sgs/crle don't get along 1035b3fbe5e6Sseizo6273864 gcc and sgs/libld don't get along 1036b3fbe5e6Sseizo6273875 gcc and sgs/rtld don't get along 1037b3fbe5e6Sseizo6272563 gcc and amd64/krtld/doreloc.c don't get along 1038b3fbe5e6Sseizo6290157 gcc and sgs/librtld_db/rdb_demo don't get along 103924a6229eSrie6301218 Matlab dumps core on startup when running on 112963-22 (D) 1040dffec89cSrie-------------------------------------------------------------------------------- 1041bbf522bdSrieAll the above changes are incorporated in the following patches: 1042f5a18a30Srie Solaris/SunOS 5.10_sparc patch T117461-06 1043f5a18a30Srie Solaris/SunOS 5.10_x86 patch T118345-08 1044dffec89cSrie Solaris/SunOS 5.9_sparc patch T112963-23 1045dffec89cSrie Solaris/SunOS 5.9_x86 patch T113986-19 1046dffec89cSrie Solaris/SunOS 5.8_sparc patch T109147-38 1047dffec89cSrie Solaris/SunOS 5.8_x86 patch T109148-38 1048dffec89cSrie-------------------------------------------------------------------------------- 104924a6229eSrie6314115 Checkpoint refuses to start, crashes on start, after application of 105024a6229eSrie linker patch 112963-22 1051dd94ecefSrie-------------------------------------------------------------------------------- 1052bbf522bdSrieAll the above changes are incorporated in the following patches: 1053dd94ecefSrie Solaris/SunOS 5.9_sparc patch T112963-24 1054dd94ecefSrie Solaris/SunOS 5.9_x86 patch T113986-20 1055dd94ecefSrie Solaris/SunOS 5.8_sparc patch T109147-39 1056dd94ecefSrie Solaris/SunOS 5.8_x86 patch T109148-39 1057dd94ecefSrie-------------------------------------------------------------------------------- 1058660acd81Srie6318306 a dlsym() from a filter should be redirected to an associated filtee 1059dd94ecefSrie6318401 mis-aligned TLS variable 1060dd94ecefSrie6324019 ld.so.1: malloc alignment is insufficient for new compilers 10616679fdc0Srie6324589 psh coredumps on x86 machines on snv_23 106254d82594Sseizo6236594 AMD64: Linker needs to handle the new .lbss section (D) 10632722387fSrie PSARC 2005/514 AMD64 - large section support 106454d82594Sseizo6314743 Linker: incorrect resolution for R_AMD64_GOTPC32 106554d82594Sseizo6311865 Linker: x86 medium model; invalid ELF program header 1066e6cafd91Sseizo-------------------------------------------------------------------------------- 1067bbf522bdSrieAll the above changes are incorporated in the following patches: 1068c174926fSrie Solaris/SunOS 5.10_sparc patch T117461-07 1069f5a18a30Srie Solaris/SunOS 5.10_x86 patch T118345-12 1070e6cafd91Sseizo-------------------------------------------------------------------------------- 1071e6cafd91Sseizo6309061 link_audit should use __asm__ with gcc 1072e067707bSseizo6310736 gcc and sgs/libld don't get along on SPARC 107311a2bb38Srie6329796 Memory leak with iconv_open/iconv_close with patch 109147-33 107411a2bb38Srie6332983 s9 linker patches 112963-24/113986-20 causing cluster machines not 107511a2bb38Srie to boot 1076fa034d7fSseizo-------------------------------------------------------------------------------- 1077bbf522bdSrieAll the above changes are incorporated in the following patches: 1078fa034d7fSseizo Solaris/SunOS 5.10_sparc patch T117461-08 1079fa034d7fSseizo Solaris/SunOS 5.10_x86 patch T121208-02 1080fa034d7fSseizo Solaris/SunOS 5.9_sparc patch T112963-25 1081fa034d7fSseizo Solaris/SunOS 5.9_x86 patch T113986-21 1082fa034d7fSseizo Solaris/SunOS 5.8_sparc patch T109147-40 1083fa034d7fSseizo Solaris/SunOS 5.8_x86 patch T109148-40 1084fa034d7fSseizo-------------------------------------------------------------------------------- 1085f5a18a30Srie6445311 The sparc S8/S9/S10 linker patches which include the fix for the 1086f5a18a30Srie CR6222525 are hit by the CR6439613. 1087f5a18a30Srie-------------------------------------------------------------------------------- 1088f5a18a30SrieAll the above changes are incorporated in the following patches: 1089f5a18a30Srie Solaris/SunOS 5.9_sparc patch T112963-26 1090f5a18a30Srie Solaris/SunOS 5.8_sparc patch T109147-41 1091f5a18a30Srie-------------------------------------------------------------------------------- 1092552ff457Srie 109302ca3e02Srie------------------------------------- 10947247f888SrieSolaris 10 807 (4th Q-update - s10u4) 109502ca3e02Srie------------------------------------- 109602ca3e02SrieBugid Risk Synopsis 109702ca3e02Srie================================================================================ 109802ca3e02Srie6487273 ld.so.1 may open arbitrary locale files when relative path is built 109902ca3e02Srie from locale environment vars 110002ca3e02Srie6487284 ld.so.1: buffer overflow in doprf() function 110102ca3e02Srie-------------------------------------------------------------------------------- 1102f5a18a30SrieAll the above changes are incorporated in the following patches: 110302ca3e02Srie Solaris/SunOS 5.10_sparc patch T124922-01 110402ca3e02Srie Solaris/SunOS 5.10_x86 patch T124923-01 110502ca3e02Srie Solaris/SunOS 5.9_sparc patch T112963-27 110602ca3e02Srie Solaris/SunOS 5.9_x86 patch T113986-22 110702ca3e02Srie Solaris/SunOS 5.8_sparc patch T109147-42 110802ca3e02Srie Solaris/SunOS 5.8_x86 patch T109148-41 110902ca3e02Srie-------------------------------------------------------------------------------- 111002ca3e02Srie6477132 ld.so.1: memory leak when running set*id application 111102ca3e02Srie-------------------------------------------------------------------------------- 1112f5a18a30SrieAll the above changes are incorporated in the following patches: 111302ca3e02Srie Solaris/SunOS 5.10_sparc patch T124922-02 111402ca3e02Srie Solaris/SunOS 5.10_x86 patch T124923-02 111502ca3e02Srie Solaris/SunOS 5.9_sparc patch T112963-30 111602ca3e02Srie Solaris/SunOS 5.9_x86 patch T113986-24 111702ca3e02Srie-------------------------------------------------------------------------------- 1118501f7805Sseizo6340814 ld.so.1 core dump with HWCAP relocatable object + updated statistics 1119fa034d7fSseizo6307274 crle bug with LD_LIBRARY_PATH 112030da1432Sahl6317969 elfheader limited to 65535 segments (link-editor components only) 1121bbf522bdSrie6350027 ld.so.1 aborts with assertion failed on amd64 1122fb1354edSrie6362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore 1123fb1354edSrie6362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE 1124501f7805Sseizo6304206 runtime linker may respect LANG and LC_MESSAGE more than LC_ALL 1125552ff457Srie6363495 Catchup required with Intel relocations 1126a73372d3Sab1960876326497 ld.so not properly processing LD_LIBRARY_PATH ending in : 1127835cdddcSab1960876307146 mcs dumps core when appending null string to comment section 1128e0ddff35Sab1960876371877 LD_PROFILE_64 with gprof does not produce correct results on amd64 1129141040e8Srie6372082 ld -r erroneously creates .got section on i386 1130141040e8Srie6201866 amd64: linker symbol elimination is broken 1131587032cfSab1960876372620 printstack() segfaults when called from static function (D) 11325cce9d40Srie6380470 32-bit ld(1) incorrectly builds 64-bit relocatable objects 11339d6538abSab1960876391407 Insufficient alignment of 32-bit object in archive makes ld segfault 1134587032cfSab196087 (libelf component only) (D) 11355aefb655Srie6316708 LD_DEBUG should provide a means of identifying/isolating individual 11360f5dca20Sab196087 link-map lists (P) 11375aefb655Srie6280209 elfdump cores on memory model 0x3 11385aefb655Srie6197234 elfdump and dump don't handle 64-bit symbols correctly 11390bc07c75Srie6398893 Extended section processing needs some work 11404899432aSab1960876397256 ldd dumps core in elf_fix_name 1141fdf855a7Sseizo6327926 ld does not set etext symbol correctly for AMD64 medium model (D) 1142a364a791Sab1960876390410 64-bit LD_PROFILE can fail: relocation error when binding profile plt 1143240e56feSab1960876382945 AMD64-GCC: dbx: internal error: dwarf reference attribute out of bounds 114410a4fa49Srie6262333 init section of .so dlopened from audit interface not being called 1145e78654d4Srie6409613 elf_outsync() should fsync() 11462cc1776aSrie6426048 C++ exceptions broken in Nevada for amd64 1147479f0513Srie6429418 ld.so.1: need work-around for Nvidia drivers use of static TLS 1148587032cfSab1960876429504 crle(1) shows wrong defaults for non-existent 64-bit config file 114933b4ce79Sab1960876431835 data corruption on x64 in 64-bit mode while LD_PROFILE is in effect 1150d326b23bSrie6423051 static TLS support within the link-editors needs a major face lift (D) 1151c1c6f601Srie6388946 attempting to dlopen a .o file mislabeled as .so fails 1152c1c6f601Srie6446740 allow mapfile symbol definitions to create backing storage (D) 1153c1c6f601Srie4986360 linker crash on exec of .so (as opposed to a.out) -- error preferred 1154c1c6f601Srie instead 1155c1c6f601Srie6229145 ld: initarray/finiarray processing occurs after got size is determined 1156c1c6f601Srie6324924 the linker should warn if there's a .init section but not _init 11570f5dca20Sab1960876424132 elfdump inserts extra whitespace in bitmap value display 115812b8e62eSrie6449485 ld(1) creates misaligned TLS in binary compiled with -xpg 115912b8e62eSrie6424550 Write to unallocated (wua) errors when libraries are built with 116012b8e62eSrie -z lazyload 11617010c12aSrie6464235 executing the 64-bit ld(1) should be easy (D) 116270d3e49eSrie6465623 need a way of building unix without an interpreter 1163492e5a89Srie6467925 ld: section deletion (-z ignore) requires improvement 11640f5dca20Sab1960876357230 specfiles should be nuked (link-editor components only) 1165f5a18a30Srie-------------------------------------------------------------------------------- 1166f5a18a30SrieAll the above changes are incorporated in the following patches: 1167f5a18a30Srie Solaris/SunOS 5.10_sparc patch T124922-03 1168f5a18a30Srie Solaris/SunOS 5.10_x86 patch T124923-03 1169f5a18a30Srie 1170f5a18a30SrieThese patches also include the framework changes for the following bug fixes. 1171f5a18a30SrieHowever, the associated feature has not been enabled in Solaris 10 or earlier 1172f5a18a30Sriereleases: 1173f5a18a30Srie 1174f5a18a30Srie6174390 crle configuration files are inconsistent across platforms (D, P) 11752722387fSrie6432984 ld(1) output file removal - change default behavior (D) 11762722387fSrie PSARC/2006/353 ld(1) output file removal - change default behavior 1177f5a18a30Srie-------------------------------------------------------------------------------- 1178f5a18a30Srie 117960758829Srie------------------------------------- 1180e38a713aSrieSolaris 10 508 (5th Q-update - s10u5) 118160758829Srie------------------------------------- 118260758829SrieBugid Risk Synopsis 118360758829Srie================================================================================ 118460758829Srie6561987 data vac_conflict faults on lipthread libthread libs in s10. 118560758829Srie-------------------------------------------------------------------------------- 118660758829SrieAll the above changes are incorporated in the following patches: 118760758829Srie Solaris/SunOS 5.10_sparc patch T127111-01 118860758829Srie Solaris/SunOS 5.10_x86 patch T127112-01 118960758829Srie-------------------------------------------------------------------------------- 119060758829Srie6501793 GOTOP relocation transition (optimization) fails with offsets > 2^32 119160758829Srie6532924 AMD64: Solaris 5.11 55b: SEGV after whocatches 119260758829Srie6551627 OGL: SIGSEGV when trying to use OpenGL pipeline with splash screen, 119360758829Srie Solaris/Nvidia only 119460758829Srie-------------------------------------------------------------------------------- 119560758829SrieAll the above changes are incorporated in the following patches: 11961c272b97Srie Solaris/SunOS 5.10_sparc patch T127111-04 11971c272b97Srie Solaris/SunOS 5.10_x86 patch T127112-04 119860758829Srie-------------------------------------------------------------------------------- 119960758829Srie6479848 Enhancements to the linker support interface needed. (D) 120060758829Srie PSARC/2006/595 link-editor support library interface - ld_open() 120160758829Srie6521608 assertion failure in runtime linker related to auditing 120260758829Srie6494228 pclose() error when an audit library calls popen() and the main target 120360758829Srie is being run under ldd (D) 120460758829Srie6568745 segfault when using LD_DEBUG with bit_audit library when instrumenting 120560758829Srie mozilla (D) 120660758829Srie PSARC/2007/413 Add -zglobalaudit option to ld 120722337b4bSrie6602294 ps_pbrandname breaks apps linked directly against librtld_db 120860758829Srie-------------------------------------------------------------------------------- 120960758829SrieAll the above changes are incorporated in the following patches: 121022337b4bSrie Solaris/SunOS 5.10_sparc patch T127111-07 121122337b4bSrie Solaris/SunOS 5.10_x86 patch T127112-07 121260758829Srie-------------------------------------------------------------------------------- 121360758829Srie 1214466e2a62Srie------------------------------------- 1215466e2a62SrieSolaris 10 908 (6th Q-update - s10u6) 1216466e2a62Srie------------------------------------- 1217466e2a62SrieBugid Risk Synopsis 1218466e2a62Srie================================================================================ 1219466e2a62Srie6672544 elf_rtbndr must support non-ABI aligned stacks on amd64 1220466e2a62Srie6668050 First trip through PLT does not preserve args in xmm registers 1221466e2a62Srie-------------------------------------------------------------------------------- 1222247b82a1SRod EvansAll the above changes are incorporated in the following patch: 1223247b82a1SRod Evans Solaris/SunOS 5.10_x86 patch T137138-01 1224247b82a1SRod Evans-------------------------------------------------------------------------------- 1225466e2a62Srie 1226bebb829dSRod Evans------------------------------------- 1227bebb829dSRod EvansSolaris 10 409 (7th Q-update - s10u7) 1228bebb829dSRod Evans------------------------------------- 1229bebb829dSRod EvansBugid Risk Synopsis 1230bebb829dSRod Evans================================================================================ 1231bebb829dSRod Evans6629404 ld with -z ignore doesn't scale 1232bebb829dSRod Evans6606203 link editor ought to allow creation of >2gb sized objects (P) 123356deab07SRod Evans-------------------------------------------------------------------------------- 123456deab07SRod EvansAll the above changes are incorporated in the following patches: 123556deab07SRod Evans Solaris/SunOS 5.10_sparc patch T139574-01 123656deab07SRod Evans Solaris/SunOS 5.10_x86 patch T139575-01 123756deab07SRod Evans-------------------------------------------------------------------------------- 1238247b82a1SRod Evans6746674 setuid applications do not find libraries any more because trusted 1239247b82a1SRod Evans directories behavior changed (D) 1240247b82a1SRod Evans-------------------------------------------------------------------------------- 1241247b82a1SRod EvansAll the above changes are incorporated in the following patches: 124256deab07SRod Evans Solaris/SunOS 5.10_sparc patch T139574-02 124356deab07SRod Evans Solaris/SunOS 5.10_x86 patch T139575-02 124456deab07SRod Evans-------------------------------------------------------------------------------- 124556deab07SRod Evans6703683 Can't build VirtualBox on Build 88 or 89 124656deab07SRod Evans6737579 process_req_lib() in libld consumes file descriptors 124756deab07SRod Evans6685125 ld/elfdump do not handle ZERO terminator .eh_frame amd64 unwind entry 124856deab07SRod Evans-------------------------------------------------------------------------------- 124956deab07SRod EvansAll the above changes are incorporated in the following patches: 125056deab07SRod Evans Solaris/SunOS 5.10_sparc patch T139574-03 125156deab07SRod Evans Solaris/SunOS 5.10_x86 patch T139575-03 1252bebb829dSRod Evans-------------------------------------------------------------------------------- 1253bebb829dSRod Evans 125457ef7aa9SRod Evans------------------------------------- 125557ef7aa9SRod EvansSolaris 10 1009 (8th Q-update - s10u8) 125657ef7aa9SRod Evans------------------------------------- 125757ef7aa9SRod EvansBugid Risk Synopsis 125857ef7aa9SRod Evans================================================================================ 125957ef7aa9SRod Evans6782597 32-bit ld.so.1 needs to accept objects with large inode number 126057ef7aa9SRod Evans6805502 The addition of "inline" keywords to sgs code broke the lint 126157ef7aa9SRod Evans verification in S10 1262d156cc9dSRod Evans6807864 ld.so.1 is susceptible to a fatal dlsym()/setlocale() race 126328bda19cSRod Evans-------------------------------------------------------------------------------- 126428bda19cSRod EvansAll the above changes are incorporated in the following patches: 126528bda19cSRod Evans Solaris/SunOS 5.10_sparc patch T141692-01 126628bda19cSRod Evans Solaris/SunOS 5.10_x86 patch T141693-01 126728bda19cSRod EvansNOTE: The fix for 6805502 is only applicable to s10. 126828bda19cSRod Evans-------------------------------------------------------------------------------- 12692017c965SRod Evans6826410 ld needs to sort sections using 32-bit sort keys 1270d156cc9dSRod Evans-------------------------------------------------------------------------------- 1271d156cc9dSRod EvansAll the above changes are incorporated in the following patches: 127228bda19cSRod Evans Solaris/SunOS 5.10_sparc patch T141771-01 127328bda19cSRod Evans Solaris/SunOS 5.10_x86 patch T141772-01 127428bda19cSRod EvansNOTE: The fix for 6826410 is also available for s9 in the following patches: 127528bda19cSRod Evans Solaris/SunOS 5.9_sparc patch T112963-33 127628bda19cSRod Evans Solaris/SunOS 5.9_x86 patch T113986-27 127728bda19cSRod Evans-------------------------------------------------------------------------------- 127828bda19cSRod Evans6568447 bcp is broken by 6551627 127928bda19cSRod Evans6599700 librtld_db needs better plugin support 128028bda19cSRod Evans6713830 mdb dumped core reading a gcore 128128bda19cSRod Evans6756048 rd_loadobj_iter() should always invoke brand plugin callback 128228bda19cSRod Evans6786744 32-bit dbx failed with unknown rtld_db.so error on snv_104 128328bda19cSRod Evans-------------------------------------------------------------------------------- 128428bda19cSRod EvansAll the above changes are incorporated in the following patches: 128508278a5eSRod Evans Solaris/SunOS 5.10_sparc patch T141444-06 128608278a5eSRod Evans Solaris/SunOS 5.10_x86 patch T141445-06 128708278a5eSRod Evans-------------------------------------------------------------------------------- 1288f441771bSRod Evans 12892020b2b6SRod Evans-------------------------------------- 12902020b2b6SRod EvansSolaris 10 1005 (9th Q-update - s10u9) 12912020b2b6SRod Evans-------------------------------------- 1292f441771bSRod EvansBugid Risk Synopsis 1293f441771bSRod Evans================================================================================ 129408278a5eSRod Evans6850124 dlopen reports "No such file or directory" in spite of ENOMEM 129508278a5eSRod Evans when mmap fails in anon_map() 1296f441771bSRod Evans6826513 ldd gets confused by a crle(1) LD_PRELOAD setting 1297f441771bSRod Evans6684577 ld should propagate SHF_LINK_ORDER flag to ET_REL objects 129802938ba2SRod Evans6524709 executables using /usr/lib/libc.so.1 as the ELF interpreter dump core 129902938ba2SRod Evans (link-editor components only) 1300f441771bSRod Evans-------------------------------------------------------------------------------- 1301f441771bSRod EvansAll the above changes are incorporated in the following patches: 130208278a5eSRod Evans Solaris/SunOS 5.10_sparc patch T143895-01 130308278a5eSRod Evans Solaris/SunOS 5.10_x86 patch T143896-01 130457ef7aa9SRod Evans-------------------------------------------------------------------------------- 130557ef7aa9SRod Evans 13062020b2b6SRod Evans---------------------------------------- 13072020b2b6SRod EvansSolaris 10 XXXX (10th Q-update - s10u10) 13082020b2b6SRod Evans---------------------------------------- 13092020b2b6SRod EvansBugid Risk Synopsis 13102020b2b6SRod Evans================================================================================ 13112020b2b6SRod Evans6478684 isainfo/cpuid reports pause instruction not supported on amd64 13122020b2b6SRod Evans PSARC/2010/089 Removal of AV_386_PAUSE and AV_386_MON 13132020b2b6SRod Evans-------------------------------------------------------------------------------- 13142020b2b6SRod EvansAll the above changes are incorporated in the following patches: 13152020b2b6SRod Evans Solaris/SunOS 5.10_sparc patch TXXXXXX-XX 13162020b2b6SRod Evans Solaris/SunOS 5.10_x86 patch TXXXXXX-XX 13172020b2b6SRod Evans-------------------------------------------------------------------------------- 13182020b2b6SRod Evans 1319604635faSRod Evans-------------------------------------------- 1320604635faSRod EvansSolaris Nevada (OpenSolaris 2008.05, snv_86) 1321604635faSRod Evans-------------------------------------------- 1322f5a18a30SrieBugid Risk Synopsis 1323f5a18a30Srie================================================================================ 13240f5dca20Sab1960876409350 BrandZ project integration into Solaris (link-editor components only) 13250f5dca20Sab1960876459189 UNIX03: *VSC* c99 compiler overwrites non-writable file 13260f5dca20Sab1960876423746 add an option to relax the resolution of COMDAT relocs (D) 13270f5dca20Sab1960874934427 runtime linker should load up static symbol names visible to 13280f5dca20Sab196087 dladdr() (D) 13299a411307Srie PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition 13301638af81Sab1960876448719 sys/elf.h could be updated with additional machine and ABI types 13312926dd2eSrie6336605 link-editors need to support R_*_SIZE relocations 13322926dd2eSrie PSARC/2006/558 R_*_SIZE relocation support 13332926dd2eSrie6475375 symbol search optimization to reduce rescans 13342926dd2eSrie6475497 elfdump(1) is misreporting sh_link 13353906e0c2Srie6482058 lari(1) could be faster, and handle per-symbol filters better 13363906e0c2Srie6482974 defining virtual address of text segment can result in an invalid data 13373906e0c2Srie segment 13383906e0c2Srie6476734 crle(1m) "-l" as described fails system, crle cores trying to fix 13393906e0c2Srie /a/var/ld/ld.config in failsafe 134075e45495Sab1960876487499 link_audit "make clobber" creates and populates proto area 134175e45495Sab1960876488141 ld(1) should detect attempt to reference 0-length .bss section 13428dea2860Srie6496718 restricted visibility symbol references should trigger archive 13438dea2860Srie extraction 134411cdb939Srie6515970 HWCAP processing doesn't clean up fmap structure - browser fails to 134511cdb939Srie run java applet 13461d1fba8aSrie6494214 Refinements to symbolic binding, symbol declarations and 13471d1fba8aSrie interposition (D) 13489a411307Srie PSARC/2006/714 ld(1) mapfile: symbol interpose definition 1349d579eb63Sab1960876475344 DTrace needs ELF function and data symbols sorted by address (D) 1350d579eb63Sab196087 PSARC/2007/026 ELF symbol sort sections 1351c75e1b9dSrie6518480 ld -melf_i386 doesn't complain (D) 13527a5d89c4Sab1960876519951 bfu is just another word for exit today (RPATH -> RUNPATH conversion 13537a5d89c4Sab196087 bites us) (D) 1354c75e1b9dSrie6521504 ld: hardware capabilities processing from relocatables objects needs 1355c75e1b9dSrie hardening. 13567a5d89c4Sab1960876518322 Some ELF utilities need updating for .SUNW_ldynsym section (D) 13577a5d89c4Sab196087 PSARC/2007/074 -L option for nm(1) to display SHT_SUNW_LDYNSYM symbols 135802ca3e02Srie6523787 dlopen() handle gets mistakenly orphaned - results in access to freed 135902ca3e02Srie memory 13606221fe92Sab1960876531189 SEGV in dladdr() 13610aa3cd4dSrie6527318 dlopen(name, RTLD_NOLOAD) returns handle for unloaded library 13625b59e4caSab1960876518359 extern mapfiles references to _init/_fini can create INIT/FINI 13635b59e4caSab196087 addresses of 0 1364883c6d49Srie6533587 ld.so.1: init/fini processing needs to compensate for interposer 1365883c6d49Srie expectations 13663244bcaaSab1960876516118 Reserved space needed in ELF dynamic section and string table (D) 13673244bcaaSab196087 PSARC/2007/127 Reserved space for editing ELF dynamic sections 1368f5a18a30Srie6535688 elfdump could be more robust in the face of Purify (D) 13693b41b08bSab1960876516665 The link-editors should be more resilient against gcc's symbol 13703b41b08bSab196087 versioning 13718521e5e6Srie6541004 hwcap filter processing can leak memory 137231fdd7caSab1960875108874 elfdump SEGVs on bad object file 1373ed98f06cSrie6547441 Uninitialized variable causes ld.so.1 to crash on object cleanup 1374c22c4bcbSab1960876341667 elfdump should check alignments of ELF header elements 1375c22c4bcbSab1960876387860 elfdump cores, when processing linux built ELF file 13762eec250aSab1960876198202 mcs -d dumps core 1377c809c407Sab1960876246083 elfdump should allow section index specification 1378c809c407Sab196087 (numeric -N equivalent) (D) 1379c809c407Sab196087 PSARC/2007/247 Add -I option to elfdump 13804fa4b40cSab1960876556563 elfdump section overlap checking is too slow for large files 1381d1827f25Srie5006034 need ?E mapfile feature extension (D) 138233eb6ee1Sab1960876565476 rtld symbol version check prevents GNU ld binary from running 138369a0bf0cSab1960876567670 ld(1) symbol size/section size verification uncovers Haskell 138469a0bf0cSab196087 compiler inconsistency 138539773e46Sab1960876530249 elfdump should handle ELF files with no section header table (D) 138639773e46Sab196087 PSARC/2007/395 Add -P option to elfdump 1387efb9e8b8Srie6573641 ld.so.1 does not maintain parent relationship to a dlopen() caller. 1388d840867fSab1960876577462 Additional improvements needed to handling of gcc's symbol versioning 1389de777a60Sab1960876583742 ELF string conversion library needs to lose static writable buffers 1390b02637afSrie6589819 ld generated reference to __tls_get_addr() fails when resolving to a 1391b02637afSrie shared object reference 1392df4628cbSrie6595139 various applications should export yy* global variables for libl 13932722387fSrie PSARC/2007/474 new ldd(1) -w option 1394f7ba47a3Sab1960876597841 gelf_getdyn() reads one too many dynamic entries 13958af2c5b9Srie6603313 dlclose() can fail to unload objects after fix for 6573641 139660758829Srie6234471 need a way to edit ELF objects (D) 1397d29b2c44Sab196087 PSARC/2007/509 elfedit 13986a074c93Sab1960875035454 mixing -Kpic and -KPIC may cause SIGSEGV with -xarch=v9 13990d15df17Sab1960876473571 strip and mcs get confused and corrupt files when passed 14000d15df17Sab196087 non-ELF arguments 14010d15df17Sab1960876253589 mcs has problems handling multiple SHT_NOTE sections 1402f3324781Sab1960876610591 do_reloc() should not require unused arguments 140360758829Srie6602451 new symbol visibilities required: EXPORTED, SINGLETON and ELIMINATE (D) 140460758829Srie PSARC/2007/559 new symbol visibilities - EXPORTED, SINGLETON, and 140560758829Srie ELIMINATE 1406f959f76aSab1960876570616 elfdump should display incorrectly aligned note section 1407ad212f6fSab1960876614968 elfedit needs string table module (D) 140846d4d531Srie6620533 HWCAP filtering can leave uninitialized data behind - results in 140946d4d531Srie "rejected: Invalid argument" 14103c4993fbSrie6617855 nodirect tag can be ignored when other syminfo tags are available 14113c4993fbSrie (link-editor components only) 1412981a172dSab1960876621066 Reduce need for new elfdump options with every section type (D) 1413981a172dSab196087 PSARC/2007/620 elfdump -T, and simplified matching 14141c272b97Srie6627765 soffice failure after integration of 6603313 - dangling GROUP pointer. 141580f987b0Sab1960876319025 SUNWbtool packaging issues in Nevada and S10u1. 141699f63845Sab1960876626135 elfedit capabilities str->value mapping should come from 141799f63845Sab196087 usr/src/common/elfcap 1418e38a713aSrie6642769 ld(1) -z combreloc should become default behavior (D) 14192722387fSrie PSARC/2008/006 make ld(1) -z combreloc become default behavior 142022337b4bSrie6634436 XFFLAG should be updated. (link-editor components only) 1421e64d0ff9SAli Bahrami6492726 Merge SHF_MERGE|SHF_STRINGS input sections (D) 1422f6acbf7cSrie4947191 OSNet should use direct bindings (link-editor components only) 142375e7992aSrie6654381 lazy loading fall-back needs optimizing 1424d4517e84Srie6658385 ld core dumps when building Xorg on nv_82 14257b2cbac6Srie6516808 ld.so.1's token expansion provides no escape for platforms that don't 14267b2cbac6Srie report HWCAP 1427aa736cbeSrie6668534 Direct bindings can compromise function address comparisons from 1428aa736cbeSrie executables 1429aa736cbeSrie6667661 Direct bindings can compromise executables with insufficient copy 1430aa736cbeSrie relocation information 14312722387fSrie6357282 ldd should recognize PARENT and EXTERN symbols (D) 14322722387fSrie PSARC/2008/148 new ldd(1) -p option 14338a20d9f8Srie6672394 ldd(1) unused dependency processing is tricked by relocations errors 1434604635faSRod Evans-------------------------------------------------------------------------------- 1435604635faSRod Evans 1436604635faSRod Evans--------------------------------------------- 1437604635faSRod EvansSolaris Nevada (OpenSolaris 2008.11, snv_101) 1438604635faSRod Evans--------------------------------------------- 1439604635faSRod EvansBugid Risk Synopsis 1440604635faSRod Evans================================================================================ 14412722387fSrie6671255 link-editor should support cross linking (D) 14422722387fSrie PSARC/2008/179 cross link-editor 144355ef6355Sab1960876674666 elfedit dyn:posflag1 needs option to locate element via NEEDED item 14442722387fSrie6675591 elfwrap - wrap data in an ELF file (D,P) 14452722387fSrie PSARC/2008/198 elfwrap - wrap data in an ELF file 14463edf445cSab1960876678244 elfdump dynamic section sanity checking needs refinement 14473edf445cSab1960876679212 sgs use of SCCS id for versioning is obstacle to mercurial migration 14483ced7af1Sab1960876681761 lies, darn lies, and linker README files 14499aa23310Srie6509323 Need to disable the Multiple Files loading - same name, different 14509aa23310Srie directories (or its stat() use) 145176396fccSrie6686889 ld.so.1 regression - bad pointer created with 6509323 integration 145245462bf8Sab1960876695681 ldd(1) crashes when run from a chrooted environment 14535b764efaSab1960876516212 usr/src/cmd/sgs/libelf warlock targets should be fixed or abandoned 145444bac77bSrie6678310 using LD_AUDIT, ld.so.1 calls shared library's .init before library is 145544bac77bSrie fully relocated (link-editor components only) 145644bac77bSrie6699594 The ld command has a problem handling 'protected' mapfile keyword. 1457c6c9aed4Sab1960876699131 elfdump should display core file notes (D) 1458eccf73c8Srie6702260 single threading .init/.fini sections breaks staroffice 145974a8d72aSrie6703919 boot hangs intermittently on x86 with onnv daily.0430 and on 146071ae4d73Sab1960876701798 ld can enter infinite loop processing bad mapfile 1461466e2a62Srie6706401 direct binding copy relocation fallback is insufficient for ild 1462466e2a62Srie generated objects 1463b27e00f1Srie6705846 multithreaded C++ application seems to get deadlocked in the dynamic 1464b27e00f1Srie linker code 146536cb57a5Srie6686343 ldd(1) - unused search path diagnosis should be enabled 1466adbfe822Srie6712292 ld.so.1 should fall back to an interposer for failed direct bindings 14671dd08564Sab1960876716350 usr/src/cmd/sgs should be linted by nightly builds 1468b9bd317cSab1960876720509 usr/src/cmd/sgs/sgsdemangler should be removed 146924b9abbaSab1960876617475 gas creates erroneous FILE symbols [was: ld.so.1 is reported as 147024b9abbaSab196087 false positive by wsdiff] 147165b18088Sab1960876724311 dldump() mishandles R_AMD64_JUMP_SLOT relocations 14725fd55d96Sab1960876724774 elfdump -n doesn't print siginfo structure 14733cf6f95fSab1960876728555 Fix for amd64 aw (6617475) breaks pure gcc builds 147408278a5eSRod Evans6734598 ld(1) archive processing failure due to mismatched file descriptors (D) 14750e233487SRod Evans6735939 ld(1) discarded symbol relocations errors (Studio and GNU). 14760e233487SRod Evans6354160 Solaris linker includes more than one copy of code in binary when 14770e233487SRod Evans linking gnu object code 1478169e20d9SAli Bahrami6744003 ld(1) could provide better argument processing diagnostics (D) 147992a02081SRod Evans PSARC 2008/583 add gld options to ld(1) 1480169e20d9SAli Bahrami6749055 ld should generate GNU style VERSYM indexes for VERNEED records (D) 1481090a8d9eSAli Bahrami PSARC/2008/603 ELF objects to adopt GNU-style Versym indexes 1482169e20d9SAli Bahrami6752728 link-editor can enter UNDEF symbols in symbol sort sections 1483ba7962c0SRod Evans6756472 AOUT search path pruning (D) 1484604635faSRod Evans-------------------------------------------------------------------------------- 1485604635faSRod Evans 1486604635faSRod Evans--------------------------------------------- 1487604635faSRod EvansSolaris Nevada (OpenSolaris 2009.06, snv_111) 1488604635faSRod Evans--------------------------------------------- 1489604635faSRod EvansBugid Risk Synopsis 1490604635faSRod Evans================================================================================ 1491604635faSRod Evans 1492bebb829dSRod Evans6754965 introduce the SF1_SUNW_ADDR32 bit in software capabilities (D) 1493bebb829dSRod Evans (link-editor components only) 1494bebb829dSRod Evans PSARC/2008/622 32-bit Address Restriction Software Capabilities Flag 1495247b82a1SRod Evans6756953 customer requests that DT_CONFIG strings be honored for secure apps (D) 14961128e05eSAli Bahrami6765299 ld --version-script option not compatible with GNU ld (D) 1497551cffe3SAli Bahrami6748160 problem with -zrescan (D) 1498551cffe3SAli Bahrami PSARC/2008/651 New ld archive rescan options 1499ca4eed8bSAli Bahrami6763342 sloppy relocations need to get sloppier 150035450702SAli Bahrami6736890 PT_SUNWBSS should be disabled (D) 150135450702SAli Bahrami PSARC/2008/715 PT_SUNWBSS removal 15024464de07SAli Bahrami6772661 ldd/lddstub/ld.so.1 dump core in current nightly while processing 15034464de07SAli Bahrami libsoftcrypto_hwcap.so.1 1504d1477c77SAli Bahrami6765931 mcs generates unlink(NULL) system calls 1505d2d5cf7cSAli Bahrami6775062 remove /usr/lib/libldstab.so (D) 15065c02782fSAli Bahrami6782977 ld segfaults after support lib version error sends bad args to vprintf() 1507b26cc8daSAli Bahrami6773695 ld -z nopartial can break non-pic objects 150837ffaf83SRod Evans6778453 RTLD_GROUP prevents use of application defined malloc 1509bb3b4f6cSRod Evans6789925 64-bit applications with SF1_SUNW_ADDR32 require non-default starting 1510bb3b4f6cSRod Evans address 1511bf2f215aSAli Bahrami6792906 ld -z nopartial fix breaks TLS 151256deab07SRod Evans6686372 ld.so.1 should use mmapobj(2) 151356deab07SRod Evans6726108 dlopen() performance could be improved. 15146b3ba5bdSAli Bahrami6792836 ld is slow when processing GNU linkonce sections 1515b4059b01SRod Evans6797468 ld.so.1: orphaned handles aren't processed correctly 1516a4bc8592SRod Evans6798676 ld.so.1: enters infinite loop with realloc/defragmentation logic 1517959ee943SRod Evans6237063 request extension to dl* family to provide segment bounds 1518959ee943SRod Evans information (D) 1519959ee943SRod Evans PSARC/2009/054 dlinfo(3c) - segment mapping retrieval 15201da7e599SAli Bahrami6800388 shstrtab can be sized incorrectly when -z ignore is used 1521481bba9eSRod Evans6805009 ld.so.1: link map control list tear down leaves dangling pointer - 1522481bba9eSRod Evans pfinstall does it again. 152340e53e87SAli Bahrami6807050 GNU linkonce sections can create duplicate and incompatible 152440e53e87SAli Bahrami eh_frame FDE entries 1525604635faSRod Evans-------------------------------------------------------------------------------- 1526604635faSRod Evans 1527604635faSRod Evans-------------- 1528604635faSRod EvansSolaris Nevada 1529604635faSRod Evans-------------- 1530604635faSRod EvansBugid Risk Synopsis 1531604635faSRod Evans================================================================================ 15327e16fca0SAli Bahrami6813909 generalize eh_frame support to non-amd64 platforms 153357ef7aa9SRod Evans6801536 ld: mapfile processing oddities unveiled through mmapobj(2) observations 1534842eec28SRod Evans6802452 libelf shouldn't use MS_SYNC 1535af79d7d9SAli Bahrami6818012 nm tries to modify readonly segment and dumps core 1536d156cc9dSRod Evans6821646 xVM dom0 doesn't boot on daily.0324 and beyond 1537d156cc9dSRod Evans6822828 librtld_db can return RD_ERR before RD_NOMAPS, which compromises dbx 1538d156cc9dSRod Evans expectations. 1539e64d0ff9SAli Bahrami6821619 Solaris linkers need systematic approach to ELF OSABI (D) 15404f680cc6SAli Bahrami PSARC/2009/196 ELF objects to set OSABI / elfdump -O option 15413e831575SAli Bahrami6827468 6801536 breaks 'ld -s' if there are weak/strong symbol pairs 1542dde769a2SRod Evans6715578 AOUT (BCP) symbol lookup can be compromised with lazy loading. 1543dde769a2SRod Evans6752883 ld.so.1 error message should be buffered (not sent to stderr). 1544dde769a2SRod Evans6577982 ld.so.1 calls getpid() before it should when any LD_* are set 1545e64d0ff9SAli Bahrami6831285 linker LD_DEBUG support needs improvements (D) 15462a8d6ebaSRod Evans6806791 filter builds could be optimized (link-editor components only) 15472a8d6ebaSRod Evans6823371 calloc() uses suboptimal memset() causing 15% regression in SpecCPU2006 15482a8d6ebaSRod Evans gcc code (link-editor components only) 15492017c965SRod Evans6831308 ld.so.1: symbol rescanning does a little too much work 15501dd9d86fSAli Bahrami6837777 ld ordered section code uses too much memory and works too hard 155156e2cc86SAli Bahrami6841199 Undo 10 year old workaround and use 64-bit ld on 32-bit objects 1552e64d0ff9SAli Bahrami6784790 ld should examine archives to determine output object class/machine (D) 155356e2cc86SAli Bahrami PSARC/2009/305 ld -32 option 15544a8d0ea7SAli Bahrami6849998 remove undocumented mapfile $SPECVERS and $NEED options 155562b628a6SAli Bahrami6851224 elf_getshnum() and elf_getshstrndx() incompatible with 2002 ELF gABI 1556e64d0ff9SAli Bahrami agreement (D) 155762b628a6SAli Bahrami PSARC/2009/363 replace elf_getphnum, elf_getshnum, and elf_getshstrndx 1558e0e63816SRod Evans6853809 ld.so.1: rescan fallback optimization is invalid 1559e0e63816SRod Evans6854158 ld.so.1: interposition can be skipped because of incorrect 1560e0e63816SRod Evans caller/destination validation 156128bda19cSRod Evans6862967 rd_loadobj_iter() failing for core files 156228bda19cSRod Evans6856173 streams core dumps when compiled in 64bit with a very large static 156328bda19cSRod Evans array size 156428bda19cSRod Evans6834197 ld pukes when given an empty plate 1565604635faSRod Evans6516644 per-symbol filtering shouldn't be allowed in executables 15663f768744SAli Bahrami6878605 ld should accept '%' syntax when matching input SHT_PROGBITS sections 1567e64d0ff9SAli Bahrami6850768 ld option to autogenerate wrappers/interposers similar to GNU ld 1568e64d0ff9SAli Bahrami --wrap (D) 1569cdcc71c0SAli Bahrami PSARC/2009/493 ld -z wrap option 1570635216b6SRod Evans6888489 Null environment variables are not overriding crle(1) replaceable 1571635216b6SRod Evans environment variables. 15729ac6ca4dSRod Evans6885456 Need to implement GNU-ld behavior in construction of .init/.fini 15739ac6ca4dSRod Evans sections 1574e64d0ff9SAli Bahrami6900241 ld should track SHT_GROUP sections by symbol name, not section name 1575e64d0ff9SAli Bahrami6901773 Special handling of STT_SECTION group signature symbol for GNU objects 1576e64d0ff9SAli Bahrami6901895 Failing asserts in ld update_osym() trying to build gcc 4.5 develpment 1577e64d0ff9SAli Bahrami head 15789ac6ca4dSRod Evans6909523 core dump when run "LD_DEBUG=help ls" in non-English locale 15797230bd30SGerald Jelinek6903688 mdb(1) can't resolve certain symbols in solaris10-branded processes 15807230bd30SGerald Jelinek from the global zone 158131dd2c84SAli Bahrami6923449 elfdump misinterprets _init/_fini symbols in dynamic section test 158220272c2eSAli Bahrami6914728 Add dl_iterate_phdr() function to ld.so.1 (D) 158320272c2eSAli Bahrami PSARC/2010/015 dl_iterate_phdr 158469112eddSAli Bahrami6916788 ld version 2 mapfile syntax (D) 158569112eddSAli Bahrami PSARC/2009/688 Human readable and extensible ld mapfile syntax 158643ed631fSAli Bahrami6929607 ld generates incorrect VERDEF entries for ET_REL output objects 158708278a5eSRod Evans6924224 linker should ignore SUNW_dof when calculating the elf checksum 158808278a5eSRod Evans6918143 symbol capabilities (D) 1589d453a5bbSRod Evans PSARC/2010/022 Linker-editors: Symbol Capabilities 159008278a5eSRod Evans6910387 .tdata and .tbss separation invalidates TLS program header information 15913228339cSAli Bahrami6934123 elfdump -d coredumps on PA-RISC elf 1592d444b03eSAli Bahrami6931044 ld should not allow SHT_PROGBITS .eh_frame sections on amd64 (D) 1593d444b03eSAli Bahrami6931056 pvs -r output can include empty versions in output 159498c080d5SRod Evans6938628 ld.so.1 should produce diagnostics for all dl*() entry points 15951e67f0f0SAli Bahrami6938111 nm `No symbol table data' message goes to stdout 1596bf994817SAli Bahrami6941727 ld relocation cache memory use is excessive 1597dc0f59e5SAli Bahrami6932220 ld -z allextract skips objects that lack global symbols 1598f441771bSRod Evans6943772 Testing for a symbols existence with RTLD_PROBE is compromised by 1599f441771bSRod Evans RTLD_BIND_NOW 1600f441771bSRod Evans PSARC/2010/XXX Deferred symbol references 1601f441771bSRod Evans6943432 dlsym(RTLD_PROBE) should only bind to symbol definitions 1602f441771bSRod Evans6668759 an external method for determining whether an ELF dependency is optional 16032a93c375SAli Bahrami6954032 Support library with ld_open and -z allextract in snv_139 do not mix 160402938ba2SRod Evans6949596 wrong section alignment generated in joint compilation with shared 160502938ba2SRod Evans library 16061c1abfbcSRod Evans6961755 ld.so.1's -e arguments should take precedence over environment 16071c1abfbcSRod Evans variables. (D) 16081c1abfbcSRod Evans6748925 moe returns wrong hwcap library in some circumstances 1609cd3e9333SAli Bahrami6916796 OSnet mapfiles should use version 2 link-editor syntax 1610b23a7923SAli Bahrami6964517 OSnet mapfiles should use version 2 link-editor syntax (2nd pass) 1611b23a7923SAli Bahrami6948720 SHT_INIT_ARRAY etc. section names don't follow ELF gABI (D) 1612b23a7923SAli Bahrami6962343 sgsmsg should use mkstemp() for temporary file creation 1613d47ecb8cSRod Evans6965723 libsoftcrypto symbol capabilities rely on compiler generated 1614d47ecb8cSRod Evans capabilities - gcc failure (link-editor components only) 1615ba7866cdSAli Bahrami6952219 ld support for archives larger than 2 GB (D, P) 1616ba7866cdSAli Bahrami PSARC/2010/224 Support for archives larger than 2 GB 16172020b2b6SRod Evans6956152 dlclose() from an auditor can be fatal. Preinit/activity events should 16182020b2b6SRod Evans be more flexible. (D) 161934b5025bSRod Evans6971440 moe can core dump while processing libc. 162020c1c355SRod Evans6972234 sgs demo's could use some cleanup 162194c044f4SRod Evans6935867 .dynamic could be readonly in sharable objects 1622c1d50c4dSAli Bahrami6975290 ld mishandles GOT relocation against local ABS symbol 16231007fd6fSAli Bahrami6972860 ld should provide user guidance to improve objects (D) 16241007fd6fSAli Bahrami PSARC/2010/312 Link-editor guidance 1625c8937b0dSRichard Lowe-------------------------------------------------------------------------------- 1626c8937b0dSRichard Lowe 1627c8937b0dSRichard Lowe-------------- 1628c8937b0dSRichard LoweIllumos 1629c8937b0dSRichard Lowe-------------- 1630c8937b0dSRichard LoweBugid Risk Synopsis 1631c8937b0dSRichard Lowe================================================================================ 1632c8937b0dSRichard Lowe 1633c8937b0dSRichard Lowe308 ld may misalign sections only preceded by empty sections 1634cc4ec439SRichard Lowe1301 ld crashes with '-z ignore' due to a null data descriptor 1635cc4ec439SRichard Lowe1626 libld may accidentally return success while failing 1636cc4ec439SRichard Lowe2413 %ymm* need to be preserved on way through PLT 1637cc4ec439SRichard Lowe3210 ld should tolerate SHT_PROGBITS for .eh_frame sections on amd64 1638cc4ec439SRichard Lowe3228 Want -zassert-deflib for ld 1639cc4ec439SRichard Lowe3230 ld.so.1 should check default paths for DT_DEPAUDIT 1640cc4ec439SRichard Lowe3260 linker is insufficiently careful with strtok 16419d4bc394SRichard Lowe3261 linker should ignore unknown hardware capabilities 1642965630c1SRichard Lowe3265 link-editor builds bogus .eh_frame_hdr on ia32 164384f7afedSRichard Lowe3453 GNU comdat redirection does exactly the wrong thing 1644c866e237SRichard Lowe3439 discarded sections shouldn't end up on output lists 1645396f90f9SRichard Lowe3436 relocatable objects also need sloppy relocation 164687c72343SRichard Lowe3451 archive libraries with no symbols shouldn't require a string table 1647ef16f6b5SRichard Lowe3616 SHF_GROUP sections should not be discarded via other COMDAT mechanisms 1648ef16f6b5SRichard Lowe3709 need sloppy relocation for GNU .debug_macro 16496136c589SRichard Lowe3722 link-editor is over restrictive of R_AMD64_32 addends 1650c56b380cSBryan Cantrill3926 multiple extern map file definitions corrupt symbol table entry 16518878595fSRichard Lowe3999 libld extended section handling is broken 1652e4096c82SRichard Lowe4003 dldump() can't deal with extended sections 165344a646f1SRichard Lowe4227 ld --library-path is translated to -l-path, not -L 1654c5accfb2SRichard Lowe4270 ld(1) argument error reporting is still pretty bad 1655deec6be0SRichard Lowe4383 libelf can't write extended sections when ELF_F_LAYOUT 1656d9c5840bSRichard Lowe4959 completely discarded merged string sections will corrupt output objects 165748125817SKeith M Wesolowski4996 rtld _init race leads to incorrect symbol values 165837915d86SRichard Lowe5688 ELF tools need to be more careful with dwarf data 1659359db861SRichard Lowe6098 ld(1) should not require symbols which identify group sections be global 1660ce686298SRichard Lowe6252 ld should merge function/data-sections in the same manner as GNU ld 1661*9f9b7953SRichard Lowe7323 ld(1) -zignore can erroneously discard init and fini arrays as unreferenced 1662