sewardj | 8eb8bab | 2015-07-21 14:44:28 +0000 | [diff] [blame] | 1 | # Mapfile used for linking Valgrind preload libraries |
| 2 | # (vgpreload_core-*.so and vgpreload_<tool>-*.so). |
| 3 | # |
| 4 | # Linking Valgrind with '-std=gnu99' causes the link editor |
| 5 | # to include also symbols which alter Solaris libc behaviour. |
| 6 | # This is undesirable: it would mean that non XPG-aware program |
| 7 | # (conforming implicitly to XPG3) would behave differently when |
| 8 | # run under Valgrind, due to preload libraries containing symbols |
| 9 | # relevant to XPG6 (X/Open Portability Guide, Issue 6). |
| 10 | # |
| 11 | |
| 12 | $mapfile_version 2 |
| 13 | |
| 14 | SYMBOL_SCOPE { |
| 15 | ELIMINATE: |
| 16 | _lib_version; |
| 17 | __xpg4; |
| 18 | __xpg6; |
| 19 | }; |