Chromium Code Reviews| Index: libraries/glibc-compat/src/res_libc.c |
| =================================================================== |
| --- libraries/glibc-compat/src/res_libc.c (revision 917) |
| +++ libraries/glibc-compat/src/res_libc.c (working copy) |
| @@ -146,7 +146,9 @@ |
| This differs from plain `struct __res_state _res;' in that it doesn't |
| create a common definition, but a plain symbol that resides in .bss, |
| which can have an alias. */ |
| -struct __res_state _res __attribute__((section (".bss"))); |
| +/* Removed __attribute__((section(".bss"))) because PNaCl doesn't support |
|
Mark Seaborn
2013/10/16 00:02:42
You might omit this commit (optional) -- commentin
|
| + this trick and trick with removing common definition is not critical. */ |
|
Mark Seaborn
2013/10/16 00:02:42
Does this work when compiled with GCC given the fo
Dmitry Polukhin
2014/04/21 19:48:29
Line compat_symbol (libc, _res, _res, GLIBC_2_0) i
|
| +struct __res_state _res; |
| #define USE___THREAD 1 |