mirror of git://gcc.gnu.org/git/gcc.git
Fix a darwin10 build problem.
local.cc:113:6: error: only weak aliases are supported in this configuration * local.cc (_ITM_LB): Use a normal call, not a function alias. From-SVN: r181182
This commit is contained in:
parent
b8bc0ff76b
commit
4408b0865b
|
@ -1,3 +1,7 @@
|
||||||
|
2011-11-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
|
* local.cc (_ITM_LB): Use a normal call, not a function alias.
|
||||||
|
|
||||||
2011-11-08 Richard Henderson <rth@redhat.com>
|
2011-11-08 Richard Henderson <rth@redhat.com>
|
||||||
|
|
||||||
* configure.tgt: Test correct directory for supported cpus.
|
* configure.tgt: Test correct directory for supported cpus.
|
||||||
|
|
|
@ -110,8 +110,14 @@ GTM_LB (const void *ptr, size_t len)
|
||||||
|
|
||||||
using namespace GTM;
|
using namespace GTM;
|
||||||
|
|
||||||
void _ITM_LB (const void *ptr, size_t len) ITM_REGPARM
|
/* ??? Use configure to determine if aliases are supported. Or convince
|
||||||
__attribute__((alias("GTM_LB")));
|
the compiler to not just tail call this, but actually generate the
|
||||||
|
same_body_alias itself. */
|
||||||
|
void ITM_REGPARM
|
||||||
|
_ITM_LB (const void *ptr, size_t len)
|
||||||
|
{
|
||||||
|
GTM_LB (ptr, len);
|
||||||
|
}
|
||||||
|
|
||||||
#define ITM_LOG_DEF(T) \
|
#define ITM_LOG_DEF(T) \
|
||||||
void ITM_REGPARM _ITM_L##T (const _ITM_TYPE_##T *ptr) \
|
void ITM_REGPARM _ITM_L##T (const _ITM_TYPE_##T *ptr) \
|
||||||
|
|
Loading…
Reference in New Issue