fix detection of var_attributes_section_seg on OSX

This commit is contained in:
gardners 2016-01-21 12:12:52 +01:00
parent f1a4584e41
commit dbf49d8a81

View File

@ -92,8 +92,8 @@ AC_DEFUN([AX_GCC_VAR_ATTRIBUTE], [
],
[section_seg], [
int foo __attribute__((section("__DATA,name"))) = 0;
extern __start_name[] __asm("section$start$__DATA$__name");
extern __stop_name[] __asm("section$stop$__DATA$__name");
extern int __start_name[] __asm("section$start$__DATA$__name");
extern int __stop_name[] __asm("section$stop$__DATA$__name");
],
[tls_model], [
__thread int bar1 __attribute__(($1("global-dynamic")));