Re: Add dynamic export support for tcc
Hi Reuben, > On Jul 31, 2014, at 4:55 PM, Reuben Thomas wrote: > > The attached patch adds support for tcc's -rdynamic, the equivalent of GNU > ld's -Wl,--export-dynamic. Sorry for the long delay. I found this uncontroversial patch (and your other one) in my libtool archives, and applied it to master HEAD just now. Unfortunately libtool-2.4.3 went out a day or two already, but I'm expecting to accumulate a few more patches against it over the next week or two, after which I'll roll libtool-2.4.4 including both your tcc patches. Cheers, -- Gary V. Vaughan (gary AT gnu DOT org)
Add dynamic export support for tcc
The attached patch adds support for tcc's -rdynamic, the equivalent of GNU ld's -Wl,--export-dynamic. -- http://rrt.sc3d.org From 33d504492e36cb875d15c12515a2ab6b160931f6 Mon Sep 17 00:00:00 2001 From: Reuben Thomas Date: Thu, 31 Jul 2014 16:53:58 +0100 Subject: [PATCH] Add dynamic export support for tcc --- m4/libtool.m4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/m4/libtool.m4 b/m4/libtool.m4 index 91b460e..6c6b2f2 100644 --- a/m4/libtool.m4 +++ b/m4/libtool.m4 @@ -5015,6 +5015,9 @@ _LT_EOF fi case $cc_basename in +tcc*) + _LT_TAGVAR(export_dynamic_flag_spec, $1)='-rdynamic' + ;; xlf* | bgf* | bgxlf* | mpixlf*) # IBM XL Fortran 10.1 on PPC cannot create shared libs itself _LT_TAGVAR(whole_archive_flag_spec, $1)='--whole-archive$convenience --no-whole-archive' -- 1.9.1