]>
git.saurik.com Git - apple/ld64.git/blob - unit-tests/test-cases/symbol-moving/anotb.c
3 #define SYMBOL_IS_HERE_IN_10_4(sym) \
4 extern const char sym##_tmp __asm("$ld$add$os10.4$_" #sym ); const char sym##_tmp = 0;
6 #define SYMBOL_IS_HERE_IN_10_5(sym) \
7 extern const char sym##_tmp __asm("$ld$add$os10.5$_" #sym ); const char sym##_tmp = 0;
9 #define SYMBOL_NOT_HERE_IN_10_4(sym) \
10 extern const char sym##_tmp __asm("$ld$hide$os10.4$_" #sym ); const char sym##_tmp = 0;
12 #define SYMBOL_NOT_HERE_IN_10_5(sym) \
13 extern const char sym##_tmp __asm("$ld$hide$os10.5$_" #sym ); const char sym##_tmp = 0;
21 // bbb is new here in 10.5. It was elsewhere in 10.4
22 SYMBOL_NOT_HERE_IN_10_4(bbb
)
24 // aaa was here in 10.4 and move elsewhere
25 SYMBOL_IS_HERE_IN_10_4(aaa
)