--- - branch: MAIN date: Wed May 29 19:02:30 UTC 2013 files: - new: '1.107' old: '1.106' path: src/sys/sys/cdefs.h pathrev: src/sys/sys/cdefs.h@1.107 type: modified id: 20130529T190230Z.42ecfc87fb733a18ad9bbd01bb38f4efc859701b log: | While visibility "protected" is nominaly supported by gcc 4.0 and 4.1 it does not actually work - the compiler does not emmit ".protected" asm statements for used references to protected symbols, which then causes the linker to fail and/or produce unloadable libraries. This recently happened to port vax by the locale changes. Backporting a fix (ASM_OUTPUT_EXTERNAL in gcc target config) is not feasible. So: define __dso_protected only starting with gcc 4.2. module: src subject: 'CVS commit: src/sys/sys' unixtime: '1369854150' user: martin