summaryrefslogtreecommitdiffstats
path: root/cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c
Commit message (Collapse)AuthorAgeFilesLines
* Remove ia64.marcel2014-07-071-22/+2
| | | | | | | | | | | | | | | | | This includes: o All directories named *ia64* o All files named *ia64* o All ia64-specific code guarded by __ia64__ o All ia64-specific makefile logic o Mention of ia64 in comments and documentation This excludes: o Everything under contrib/ o Everything under crypto/ o sys/xen/interface o sys/sys/elf_common.h Discussed at: BSDcan
* When clearing relocations to __dtrace* symbols, handle both SHT_REL andmarkj2013-12-291-4/+11
| | | | | | | | SHT_RELA sections properly instead of assuming that the relocation section is of type SHT_REL. Submitted by: Prashanth Kumar <pra_udupi@yahoo.co.in> (original version) MFC after: 1 month
* Use mkstemp(3) to create the temporary file used in the FreeBSD-specificmarkj2013-12-031-8/+10
| | | | portions of dtrace_program_link().
* Don't try to use the 32-bit drti.o unless the data model is explicitly setmarkj2013-11-091-3/+1
| | | | | | | | | | | | | | to ILP32. Otherwise dtrace -G will attempt to use it on amd64 if it can't determine which data model to use, which happens when -64 is omitted and no object files are provided, e.g. with # dtrace -G -n BEGIN This would result in a linker error, but now works properly. Also remove an unnecessary #ifdef. MFC after: 2 weeks
* Add fasttrap for PowerPC. This is the last piece of the dtrace/ppc puzzle.jhibbits2013-10-151-4/+85
| | | | | | | It's incomplete, it doesn't contain full instruction emulation, but it should be sufficient for most cases. MFC after: 1 month
* In cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c, use thedim2011-12-151-1/+1
| | | | | | correct printf format for a key_t (aka long). MFC after: 1 week
* Don't clobber an existing target object file when doing the DTracerpaulo2010-09-091-0/+12
| | | | | | | | | linking process. This is needed because we change the source object files and the second this dtrace -G is run, no probes will be found. This hack allows us to build postgres with DTrace probes enabled. I'll try to find a way to fix this without needing this hack. Sponsored by: The FreeBSD Foundation
* Add libdtrace support for tracing userland programs.rpaulo2010-08-211-11/+182
| | | | | | | | | | | | | | | | | | Summary of changes: * Implement a compatibility shim between Solaris libproc and our libproc and remove several ifdefs because of this. * Port the drti to FreeBSD. * Implement the missing DOODAD sections * Link with libproc and librtld_db * Support for ustack, jstack and uregs (by sson@) * Misc bugfixing When writing the SUWN_dof section, we had to resort to building the ELF file layout by "hand". This is the job of libelf, but our libelf doesn't support this yet. When libelf is fixed, we can remove the code under #ifdef BROKEN_LIBELF. Sponsored by: The FreeBSD Foundation
* Correct the sense of the "use32" terenary operator so that it usesjhb2009-01-161-5/+1
| | | | | | | | 'lib32' for 32-bit binaries on amd64 and 'lib' for 64-bit binaries. Remove an #ifdef __i386__ that defined use32 to the wrong value on i386 to workaround the bug in the terenary operator. MFC after: 1 month
* Merge latest DTrace changes from Perforce.rodrigc2008-11-051-9/+28
| | | | Approved by: jb
* * Handle building on FreeBSD for i386 and amd64.jb2008-04-261-27/+194
| | | | | * Add stubs for the other FreeBSD arches. * Make the file compile cleanly.
* Vendor import of the full userland contrib part of DTrace support fromjb2008-04-261-194/+27
| | | | | | | | | | | OpenSolaris. This commit resets files to match the versions in the OpenSolaris tree as of 2008/04/10. The changes in this import from the previous import are the ones that will subsequently re-applied to take files off the vendor branch. This is unfortunately necessary because the Solaris developers won't allow FreeBSD support #ifdefs in their source code because that creates 'dead code' (stuff that they never compile).
* Vendor import of libraries for DTrace from OpenSolaris.jb2008-04-251-0/+1774
OpenPOWER on IntegriCloud