History log of /illumos-gate/usr/src/cmd/sgs/libld/common/args.c
Revision Date Author Comments
b6a0e2cd4ce8d91fe9dc750c44e662d7c7e5fb8e 20-Oct-2016 Richard Lowe <richlowe@richlowe.net> 10366 ld(1) should support GNU-style linker sets
10581 ld(1) should know kernel modules are a thing
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Hans Rosenfeld <rosenfeld@grumpf.hope-2000.org>
Reviewed by: Robert Mustacchi <rm@joyent.com>
Approved by: Dan McDonald <danmcd@joyent.com>
202ca9ae460faf1825ede303c46abd4e1f6cee28 29-Jul-2017 Andrew Stormont <astormont@racktopsystems.com> 8616 ld has trouble parsing -z options specified with -Wl
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Yuri Pankov <yuripv@gmx.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
fab9be40d6bb364713294f6f6c925ccc58bacb24 18-Nov-2016 Richard Lowe <richlowe@richlowe.net> 7594 ld -zaslr should accept Solaris-compatible values
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Toomas Soome <tsoome@me.com>
Reviewed by: Gordon Ross <gwr@nexenta.com>
Approved by: Dan McDonald <danmcd@omniti.com>
d2a70789f056fc6c9ce3ab047b52126d80b0e3da 16-Apr-2014 Richard Lowe <richlowe@richlowe.net> 7029 want per-process exploit mitigation features (secflags)
7030 want basic address space layout randomization (ASLR)
7031 noexec_user_stack should be a security-flag
7032 want a means to forbid mappings around NULL
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Josef 'Jeff' Sipek <jeffpc@josefsipek.net>
Reviewed by: Patrick Mooney <pmooney@joyent.com>
Approved by: Dan McDonald <danmcd@omniti.com>
c5accfb2728453a874214835d99897e09a0cf3f2 24-Oct-2013 Richard Lowe <richlowe@richlowe.net> 4270 ld(1) argument error reporting is still pretty bad
Reviewed by: Robert Mustacchi <rm@joyent.com>
Reviewed by: Dan McDonald <danmcd@nexenta.com>
Approved by: Gordon Ross <gwr@nexenta.com>
b533f56bf95137d3de6666bd923e15ec373ea611 28-Sep-2012 Robert Mustacchi <rm@joyent.com> 3228 Want -zassert-deflib for ld
3229 ld(1) does not document -zfatal-warnings
3230 ld.so.1 should check default paths for DT_DEPAUDIT
Reviewed by: Keith Wesolowski <keith.wesolowski@joyent.com>
Reviewed by: Richard Lowe <richlowe@richlowe.net>
Reviewed by: Adam Leventhal <ahl@delphix.com>
Reviewed by: Eric Schrock <eric.schrock@delphix.com>
Approved by: Richard Lowe <richlowe@richlowe.net>
1007fd6fd24227460e77ce89f5ca85641a85a576 11-Aug-2010 Ali Bahrami <Ali.Bahrami@Oracle.COM> 6972860 ld should provide user guidance to improve objects
PSARC/2010/312 Link-editor guidance
f441771b0ce9f9d6122d318ff8290cb1a2848f9d 20-May-2010 Rod Evans <Rod.Evans@Sun.COM> 6943772 Testing for a symbols existence with RTLD_PROBE is compromised by RTLD_BIND_NOW
PSARC/2010/175 Deferred symbol references
6943432 dlsym(RTLD_PROBE) should only bind to symbol definitions
6668759 an external method for determining whether an ELF dependency is optional

--HG--
rename : usr/src/cmd/sgs/rtld/common/_inline.h => usr/src/cmd/sgs/rtld/common/_inline_gen.h
dc0f59e5324b0cb0a8b1062e2d385e5c016661b2 26-Apr-2010 Ali Bahrami <Ali.Bahrami@Oracle.COM> 6932220 ld -z allextract skips objects that lack global symbols
08278a5e91755ccdb5850c19d21d42fb2e16b50e 01-Mar-2010 Rod Evans <Rod.Evans@Sun.COM> 6918143 symbol capabilities
6910387 .tdata and .tbss separation invalidates TLS program header information
69112edd987c28fa551d4f8d9362a84a45365f17 22-Feb-2010 Ali Bahrami <Ali.Bahrami@Sun.COM> 6916788 ld version 2 mapfile syntax
PSARC/2009/688 Human readable and extensible ld mapfile syntax
3c573fcc51430b02603f62713f3f5d1b0b1aed1c 16-Oct-2009 Ali Bahrami <Ali.Bahrami@Sun.COM> 6885456 Need to implement GNU-ld behavior in construction of .init/.fini sections
635216b673cf196ac523ff2a7ab715717e553292 14-Oct-2009 Rod Evans <Rod.Evans@Sun.COM> 6888489 Null environment variables are not overriding crle(1) replaceable environment variables.
cdcc71c09dccd8c66f98c710f068f0722fe6de56 18-Sep-2009 Ali Bahrami <Ali.Bahrami@Sun.COM> 6850768 ld option to autogenerate wrappers/interposers similar to GNU ld --wrap
PSARC/2009/493 ld -z wrap option
604635facc40339ec5edaeba7cfbf31b615cfbfe 01-Sep-2009 Rod Evans <Rod.Evans@Sun.COM> 6516644 per-symbol filtering shouldn't be allowed in executables
28bda19c304ae9f3ffa10394ef34c6e8f9e4c5f5 23-Jul-2009 Rod Evans <Rod.Evans@Sun.COM> 6862967 rd_loadobj_iter() failing for core files
6856173 streams core dumps when compiled in 64bit with a very large static array size
6834197 ld pukes when given an empty plate
56e2cc86321ec889bf83a888d902c60d6fb2ef8d 18-May-2009 Ali Bahrami <Ali.Bahrami@Sun.COM> 6841199 Undo 10 year old workaround and use 64-bit ld on 32-bit objects
6784790 ld should examine archives to determine output object class/machine
PSARC/2009/305 ld -32 option
1dd9d86fd9aec8ba356c4fff43d5a8ebf5bfcaa1 12-May-2009 Ali Bahrami <Ali.Bahrami@Sun.COM> 6837777 ld ordered section code uses too much memory and works too hard
2017c9656f884256b400be40fa25d96d630bf02a 08-May-2009 Rod Evans <Rod.Evans@Sun.COM> 6831308 ld.so.1: symbol rescanning does a little too much work
e23c41c9edb2294649cde3d370ae755701f3f140 21-Apr-2009 Ali Bahrami <Ali.Bahrami@Sun.COM> 6831285 linker LD_DEBUG support needs improvements
57ef7aa924e4bfdf3118d9b5b4285dfc94b632f3 20-Mar-2009 Rod Evans <Rod.Evans@Sun.COM> 6801536 ld: mapfile processing oddities unveiled through mmapobj(2) observations
551cffe379139e8ad1ea48ad0f554750daca5347 31-Oct-2008 Ali Bahrami <Ali.Bahrami@Sun.COM> 6748160 problem with -zrescan
PSARC 2008/651 New ld archive rescan options
92a0208178405fef708b0283ffcaa02fbc3468ff 18-Sep-2008 Rod Evans <Rod.Evans@Sun.COM> 6744003 ld(1) could provide better argument processing diagnostics
PSARC/2008/583 add gld options to ld(1)
0e233487902b546a8949e2147ff8af45b1afc77c 02-Sep-2008 Rod Evans <Rod.Evans@Sun.COM> 6735939 ld(1) discarded symbol relocations errors (Studio and GNU).
6354160 Solaris linker includes more than one copy of code in binary when linking gnu object code
6732920 mdb doesn't quite handle Extended ELF sections
a6d4d7d5d0e34964282f736f7bade0574645f1fd 18-Aug-2008 Rod Evans <Rod.Evans@Sun.COM> 6734598 ld(1) archive processing failure due to mismatched file descriptors
44bac77bf8165ebe38afb85dda247b928d88edf8 12-May-2008 rie <none@none> 6699594 The ld command has a problem handling 'protected' mapfile keyword.
ba2be53024c0b999e74ba9adcd7d80fec5df8c57 18-Mar-2008 ab196087 <none@none> PSARC 2008/179 cross link-editor
6671255 link-editor should support cross linking

--HG--
rename : usr/src/cmd/sgs/libld/common/libld.chk.msg => deleted_files/usr/src/cmd/sgs/libld/common/libld.chk.msg
rename : usr/src/cmd/sgs/libld/common/machsym.intel.c => deleted_files/usr/src/cmd/sgs/libld/common/machsym.intel.c
rename : usr/src/uts/intel/amd64/krtld/relmach.h => deleted_files/usr/src/uts/intel/amd64/krtld/relmach.h
rename : usr/src/uts/intel/ia32/krtld/relmach.h => deleted_files/usr/src/uts/intel/ia32/krtld/relmach.h
rename : usr/src/uts/sparc/krtld/relmach.h => deleted_files/usr/src/uts/sparc/krtld/relmach.h
rename : usr/src/uts/sparc/sys/machelf.h => deleted_files/usr/src/uts/sparc/sys/machelf.h
rename : usr/src/cmd/sgs/include/i386/machdep.h => usr/src/cmd/sgs/include/i386/machdep_x86.h
rename : usr/src/cmd/sgs/include/sparc/machdep.h => usr/src/cmd/sgs/include/sparc/machdep_sparc.h
rename : usr/src/uts/intel/sys/machelf.h => usr/src/uts/common/sys/machelf.h
cce0e03bb2d07f0fe27cabb93acae9c23655859f 23-Jan-2008 ab196087 <none@none> 6492726 Merge SHF_MERGE|SHF_STRINGS input sections
e38a713ad4e0a9c42f8cccd9350412b2c6ccccdb 09-Jan-2008 rie <none@none> PSARC/2008/006: make ld(1) -z combreloc become default behavior
6642769 ld(1) -z combreloc should become default behavior
3c4993fb5a74112f361d71dab20997bdc749a7fb 30-Oct-2007 rie <none@none> 6617855 nodirect tag can be ignored when other syminfo tags are available
6075882998740edfaff4dd844974e188f8bd6793 10-Oct-2007 rie <none@none> PSARC/2007/559 new symbol visibilities - EXPORTED, SINGLETON, and ELIMINATE
6602451 new symbol visibilities required: EXPORTED, SINGLETON and ELIMINATE
f3324781c875e2f9865c291e43f86ee710b0c145 05-Oct-2007 ab196087 <none@none> 6610591 do_reloc() should not require unused arguments
de777a601dfef76d8d54837de77dc672dce47498 26-Jul-2007 ab196087 <none@none> 6583742 ELF string conversion library needs to lose static writable buffers
7247f8883be6bcac5fe4735b6f87f873387dbbef 18-Jul-2007 rie <none@none> PSARC/2007/413 Add -zglobalaudit option to ld
6568745 segfault when using LD_DEBUG with bit_audit library when instrumenting mozilla
f5a18a30a06b60eec275589214da939abbaa99d9 20-Mar-2007 rie <none@none> 6535688 elfdump could be more robust in the face of Purify
9a411307f0d1eedbc81618ec290e0685284d8a2b 23-Jan-2007 rie <none@none> PSARC/2006/714 ld(1) mapfile: symbol interpose definition
6494214 Refinements to symbolic binding, symbol declarations and interposition
6500110 *file* could produce better error diagnostics
3906e0c22bea9bf690c20f62b0575c1b1d0ace2e 24-Oct-2006 rie <none@none> PSARC 2006/595 link-editor support library interface - ld_open()
6479848 Enhancements to the linker support interface needed.
6482058 lari(1) could be faster, and handle per-symbol filters better
6482974 defining virtual address of text segment can result in an invalid data segment
6476734 crle(1m) "-l" as described fails system, crle cores trying to fix /a/var/ld/ld.config in failsafe
2926dd2e801916128855cec712d18656be9bd1c5 02-Oct-2006 rie <none@none> PSARC/2006/558 R_*_SIZE relocation support
6336605 link-editors need to support R_*_SIZE relocations
6475375 ld.so.1: symbol search optimization to reduce rescans
6475497 elfdump(1) is misreporting sh_link
d2ef9fe9425bdaf63cdf808ce90a1ef90c4d9ce8 20-Sep-2006 ab196087 <none@none> 6423746 add an option to relax the resolution of COMDAT relocs
9039eeaf76678a41be39feb97b4f724272ef7e18 19-Sep-2006 ab196087 <none@none> PSARC 2006/526 SHT_SUNW_LDYNSYM - default local symbol addition
4934427 runtime linker should load up static symbol names visible to dladdr()
70d3e49e87f4d8b15ad712b6387e89762aeab0fa 30-Aug-2006 rie <none@none> 6465623 need a way of building unix without an interpreter
7010c12ad3ac2cada55cf126121a8c46957d3632 30-Aug-2006 rie <none@none> 6464235 executing the 64-bit ld(1) should be easy
c1c6f601cc48d067049ea58a07349897a8e225f2 12-Jul-2006 rie <none@none> 6388946 attempting to dlopen a .o file mislabeled as .so fails
6446740 allow mapfile symbol definitions to create backing storage
4986360 linker crash on exec of .so (as opposed to a.out) -- error preferred instead
6229145 ld: initarray/finiarray processing occurs after got size is determined
6324924 the linker should warn if there's a .init section but not _init
0bc07c75e71baa4cc26f90611864f7e60dcea093 26-Mar-2006 rie <none@none> 6398893 Extended section processing needs some work
5aefb6555731130ca4fd295960123d71f2d21fe8 14-Mar-2006 rie <none@none> 6316708 LD_DEBUG should provide a means of identifying/isolating individual
link-map lists
6280209 elfdump cores on memory model 0x3
6197234 elfdump and dump don't handle 64-bit symbols correctly

--HG--
rename : usr/src/cmd/sgs/libelf/spec/Makefile => deleted_files/usr/src/cmd/sgs/libelf/spec/Makefile
rename : usr/src/cmd/sgs/libelf/spec/Makefile.targ => deleted_files/usr/src/cmd/sgs/libelf/spec/Makefile.targ
rename : usr/src/cmd/sgs/libelf/spec/amd64/Makefile => deleted_files/usr/src/cmd/sgs/libelf/spec/amd64/Makefile
rename : usr/src/cmd/sgs/libelf/spec/elf.spec => deleted_files/usr/src/cmd/sgs/libelf/spec/elf.spec
rename : usr/src/cmd/sgs/libelf/spec/elf32.spec => deleted_files/usr/src/cmd/sgs/libelf/spec/elf32.spec
rename : usr/src/cmd/sgs/libelf/spec/elf64.spec => deleted_files/usr/src/cmd/sgs/libelf/spec/elf64.spec
rename : usr/src/cmd/sgs/libelf/spec/gelf.spec => deleted_files/usr/src/cmd/sgs/libelf/spec/gelf.spec
rename : usr/src/cmd/sgs/libelf/spec/i386/Makefile => deleted_files/usr/src/cmd/sgs/libelf/spec/i386/Makefile
rename : usr/src/cmd/sgs/libelf/spec/sparc/Makefile => deleted_files/usr/src/cmd/sgs/libelf/spec/sparc/Makefile
rename : usr/src/cmd/sgs/libelf/spec/sparcv9/Makefile => deleted_files/usr/src/cmd/sgs/libelf/spec/sparcv9/Makefile
rename : usr/src/cmd/sgs/libelf/spec/versions => deleted_files/usr/src/cmd/sgs/libelf/spec/versions
rename : usr/src/cmd/sgs/libelf/spec/weak.spec => deleted_files/usr/src/cmd/sgs/libelf/spec/weak.spec
rename : usr/src/cmd/sgs/librtld_db/common/lintsup.c => deleted_files/usr/src/cmd/sgs/librtld_db/common/lintsup.c
rename : usr/src/cmd/sgs/libld/amd64/machrel.c => usr/src/cmd/sgs/libld/common/machrel.amd.c
rename : usr/src/cmd/sgs/libld/i386/machrel.c => usr/src/cmd/sgs/libld/common/machrel.intel.c
rename : usr/src/cmd/sgs/libld/sparc/machrel.c => usr/src/cmd/sgs/libld/common/machrel.sparc.c
rename : usr/src/cmd/sgs/libld/i386/machsym.c => usr/src/cmd/sgs/libld/common/machsym.intel.c
rename : usr/src/cmd/sgs/libld/sparc/machsym.c => usr/src/cmd/sgs/libld/common/machsym.sparc.c
rename : usr/src/cmd/sgs/libld/amd64/amd64unwind.c => usr/src/cmd/sgs/libld/common/unwind.amd.c
rename : usr/src/cmd/sgs/librtld_db/common/librtld_db.sparc.msg => usr/src/cmd/sgs/librtld_db/common/librtld_db.sparcv9.msg
rename : usr/src/cmd/sgs/rtld/common/sunwmove.c => usr/src/cmd/sgs/rtld/common/move.c
fb1354ed4c9fee45e038d38a155ea6fb11ee17bb 13-Dec-2005 rie <none@none> 6362044 ld(1) inconsistencies with LD_DEBUG=-Dunused and -zignore
6362047 ld.so.1 dumps core when combining HWCAP and LD_PROFILE
7c478bd95313f5f23a4c958a745db2134aa03244 14-Jun-2005 stevel@tonic-gate <none@none> OpenSolaris Launch