freebsd-nq/contrib
Dimitry Andric 711f10ae9f Pull in r195318 from upstream llvm trunk:
The basic problem is that some mainstream programs cannot deal with the way
  clang optimizes tail calls, as in this example:

  int foo(void);
  int bar(void) {
  return foo();
  }

  where the call is transformed to:

   calll .L0$pb
  .L0$pb:
   popl  %eax
  .Ltmp0:
   addl  $_GLOBAL_OFFSET_TABLE_+(.Ltmp0-.L0$pb), %eax
   movl  foo@GOT(%eax), %eax
   popl  %ebp
   jmpl  *%eax                   # TAILCALL

  However, the GOT references must all be resolved at dlopen() time, and so this
  approach cannot be used with lazy dynamic linking (e.g. using RTLD_LAZY), which
  usually populates the PLT with stubs that perform the actual resolving.

  This patch changes X86TargetLowering::LowerCall() to skip tail call
  optimization, if the called function is a global or external symbol.

This fixes problems with loading X.org driver modules, which could occur
when X.org was compiled on i386 with tailcall optimization on, for which
ports r312583 was committed as a workaround.  After this change, the
workaround can be removed.

MFC after:	3 days
2013-11-21 23:09:07 +00:00
..
amd
apr Update subversion-1.8.0 -> 1.8.1. Update supporting 2013-07-28 06:02:40 +00:00
apr-util Update subversion-1.8.0 -> 1.8.1. Update supporting 2013-07-28 06:02:40 +00:00
atf Drop all ATF tools code. 2013-11-18 01:28:29 +00:00
binutils cxxfilt: small changes from Apple's developer tools 2013-11-11 21:18:02 +00:00
bmake Don't SEGV when Hash_Table is uninitialized 2013-11-14 00:29:48 +00:00
bsnmp Fix the -Wconversion warnings produced when compiling the SNMP agent. 2013-10-17 12:03:17 +00:00
byacc Merge byacc 20130925 2013-10-29 08:21:22 +00:00
bzip2 Remove a few files that are not needed for FreeBSD. 2012-09-11 21:16:22 +00:00
com_err - On FreeBSD, com_err.h is installed into /usr/include, not /usr/include/krb5. 2012-05-21 04:29:11 +00:00
compiler-rt Don't use the pcs attribute on compilers that don't support it. We can 2013-01-19 02:24:14 +00:00
dialog Update dialog to 1.2-20130923. 2013-09-24 14:52:43 +00:00
diff Catch up with the subversion conversion and apply these build-time patches. 2012-08-17 18:20:38 +00:00
dtc Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
ee Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
expat Update base system libexpat to 2.1.0. 2013-02-26 00:58:44 +00:00
file Add support for Lua 5.2. 2013-01-11 17:34:30 +00:00
flex Enable GNU m4 compatibility mode. 2013-05-21 19:23:49 +00:00
gcc gcc: another round of merges from the gcc pre-43 branch. 2013-11-21 16:38:57 +00:00
gcclibs libcpp: preprocessor speedup patches from mainline. 2013-11-16 01:07:02 +00:00
gdb Fold in frame-unwind patch 2013-06-17 18:34:34 +00:00
gdtoa Clean up hardcoded ar(1) flags in the tree to use the global ARFLAGS in 2012-12-06 01:31:25 +00:00
gperf Repair build after svn r258115 2013-11-14 18:41:58 +00:00
groff Quiesce warnings -Wdangling-else 2013-10-28 18:10:35 +00:00
ipfilter Hide 'struct ifaddr' definition from userland. Two tools left that use it, 2013-10-15 10:19:24 +00:00
jemalloc Update jemalloc to version 3.4.1. 2013-10-21 05:10:46 +00:00
ldns Build and install drill(1). 2013-09-22 20:30:55 +00:00
ldns-host Import Magerya Vitaly's ldns-host, and build it instead of the BIND version 2013-09-08 19:40:32 +00:00
less Revert files with no local changes to their vendor state to ease future 2013-05-31 00:31:45 +00:00
libarchive Fix return type of extattr_set_* and fix rmextattr(8) utility. 2013-04-02 05:30:41 +00:00
libbegemot
libc-pwcache Replace our version of the pwcache(3) API with NetBSD's implementation. 2012-10-19 12:44:22 +00:00
libc-vis Update to the latest (un)vis(3) sources from NetBSD. This adds 2013-03-14 23:51:47 +00:00
libc++ ename internal function test() to avoid name clashes with 2013-10-06 10:12:11 +00:00
libcxxrt Since C++ typeinfo objects are currently not guaranteed to be merged at 2013-10-16 17:00:21 +00:00
libexecinfo libexecinfo: Include terminating null in byte count 2013-11-21 14:12:36 +00:00
libgnuregex Fix build for FreeBSD. We do not have alloca.h. 2013-06-05 21:28:33 +00:00
libpcap Integrate github revision 0446821e49224c6a29be28760cc9c4cc14f56d8a as 2013-10-31 20:03:59 +00:00
libreadline Quiesce warning about unused argument in call to rl_message() by wrapping 2013-11-04 16:52:27 +00:00
libstdc++ libstdc++: merge non-abi changes from Apple's developer tools 2013-11-21 16:44:36 +00:00
libyaml Import libyaml as libbsdyml (private brand name) 2013-03-04 11:27:41 +00:00
llvm Pull in r195318 from upstream llvm trunk: 2013-11-21 23:09:07 +00:00
lukemftpd
mdocml Bring in libnv library for managing name/value pairs. The following types 2013-11-12 19:39:14 +00:00
mknod Add NetBSD's mtree to the tree and install it as nmtree as the first step 2012-12-21 21:00:00 +00:00
mtree Sync with NetBSD. The funtional change is to make the output when 2013-11-21 19:29:41 +00:00
ncurses Correct use_screen() and use_window() prototypes in curs_threads(3x). 2012-05-22 06:28:53 +00:00
netcat MFV: netcat from OpenBSD 5.4. 2013-11-15 22:45:14 +00:00
ngatm
ntp Clean some 'svn:executable' properties in the tree. 2013-01-26 22:08:21 +00:00
nvi Merge nvi-2.1.1 -> 2.1.2 2013-11-11 16:52:02 +00:00
ofed - Fix compile errors from the clang conversion 2013-08-09 03:29:46 +00:00
one-true-awk MFV: one-true-awk 20121220. 2013-01-03 07:25:30 +00:00
openbsm Remove weirdly-named autofoo file. This is not needed for the (FreeBSD) 2013-07-22 08:46:15 +00:00
openpam MFV (r255387): undo autoprop damage 2013-09-08 16:56:17 +00:00
openresolv According to resolvconf.conf(5) manpage and sources, there is no 2012-08-21 06:14:08 +00:00
opie Queisce two category of clang warnings: 2013-10-28 18:24:31 +00:00
pam_modules/pam_passwdqc Make the PAM password strength checking module WARNS=2 safe. 2013-08-27 15:50:26 +00:00
pf o Create directory sys/netpfil, where all packet filters should 2012-09-14 11:51:49 +00:00
pnpinfo
sendmail Temporarily revert sendmail 8.14.7 change to getipnodebyname() flags to 2013-08-12 17:22:39 +00:00
serf Update serf 1.2.1 -> 1.3.0 for svn 2013-08-02 19:21:46 +00:00
smbfs Just disable recoding support in libsmb if built WITHOUT_ICONV. 2013-11-12 15:09:28 +00:00
sqlite3 Introduce svnlite so that we can check out our source code again. 2013-06-18 02:53:45 +00:00
subversion Update svn from 1.8.1 to 1.8.4 - minor security fixes and client side 2013-11-11 01:14:58 +00:00
tcp_wrappers Queisce warning about undeclared function usage. 2013-10-30 22:45:35 +00:00
tcpdump Make userland tools honor WITHOUT_PF build option. 2013-10-29 17:38:13 +00:00
tcsh Update to tcsh 6.18.01. 2012-02-22 03:36:15 +00:00
telnet Propagate ancient fix from Junos. 2013-11-07 00:36:39 +00:00
texinfo
tnftp Move determination of socket buffer sizes from startup to the first time a 2012-03-10 11:25:53 +00:00
top Bump MAX_COLS to 512 to take advantage of wider terminals. 2012-12-13 06:45:45 +00:00
traceroute mdocify and update the traceroute(8) manual page. 2012-06-27 07:41:21 +00:00
tzcode
tzdata MFV of 255902, tzdata2013f 2013-11-05 06:32:23 +00:00
unbound Regenerate 2013-09-24 09:56:58 +00:00
unvis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
vis Replace our (un)vis(1) commands with implementations from NetBSD to 2013-03-15 00:05:50 +00:00
wpa Revert to upstream literal $FreeBSD tag 2013-10-30 18:33:40 +00:00
xz MFV r244559: 2012-12-22 21:32:12 +00:00