]> CyberLeo.Net >> Repos - FreeBSD/stable/9.git/commit
MFC r257877:
authormarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 Aug 2014 16:45:02 +0000 (16:45 +0000)
committermarkj <markj@ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f>
Thu, 14 Aug 2014 16:45:02 +0000 (16:45 +0000)
commit61f777d565af2b776d70f24be813ce6b62139ee6
tree9da9f3698786e8177cd09d00311a454714d6f158
parent3cd0fcdf62a88b6bd7dd2740ca4704cff2cc0c9f
MFC r257877:
Don't try to use the 32-bit drti.o unless the data model is explicitly set
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.

git-svn-id: svn://svn.freebsd.org/base/stable/9@269987 ccf9f872-aa2e-dd11-9fc8-001c23d0bc1f
cddl/contrib/opensolaris/lib/libdtrace/common/dt_link.c