This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
This checked to DTRT on i686-darwin9 (weak ref doesn't behave like ELF's) and x86-64-darwin10/XCode 3.2.5 (weak ref behaves as per ELF).
It is my understanding from some off-list discussion reported with the ld64 engineer - - that Darwin >= 10 should, in principle, support ELF-style weak refs (as well as the two-level and flat_namespace versions).
| #define STDC_HEADERS 1 | #define TIME_WITH_SYS_TIME 1 | #define STRING_WITH_STRINGS 1 | #define HAVE_UNISTD_H 1 | #define HAVE_SEMAPHORE_H 1 | #define HAVE_SYS_TIME_H 1 | #define HAVE_MMAP_FILE 1 | #define HAVE_MMAP_ANON 1 | #define HAVE_STRTOULL 1 | #define HAVE_POSIX_MEMALIGN 1 | #define HAVE_BROKEN_POSIX_SEMAPHORES 1 | #define HAVE_TLS 1 | #define HAVE_ATTRIBUTE_VISIBILITY 1 | #define MANGLE_SIZE_T m | #define HAVE_SYNC_BUILTINS 1 | #define HAVE_64BIT_SYNC_BUILTINS 1 | /* end confdefs.h. */ | | extern void fNotToBeFound(void) __attribute__((weak)); | int main () | { | if (fNotToBeFound) | return 1; | else | return 0; | } | configure:17261: result: no
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |