diff options
author | Rich Felker <dalias@aerifal.cx> | 2015-09-29 02:44:05 +0000 |
---|---|---|
committer | Rich Felker <dalias@aerifal.cx> | 2015-09-29 02:44:05 +0000 |
commit | f3a53f095cd8ba108f8ac780da27a5ebbf4b224f (patch) | |
tree | 8f31e84a9e7e0e510fffed164235b7a1ca839d0c /arch | |
parent | 2a6e1f0f5a8811d08101df0fd72b9baa27ed430c (diff) | |
download | musl-f3a53f095cd8ba108f8ac780da27a5ebbf4b224f.tar.gz musl-f3a53f095cd8ba108f8ac780da27a5ebbf4b224f.tar.xz musl-f3a53f095cd8ba108f8ac780da27a5ebbf4b224f.zip |
eliminate protected-visibility data in libc.so with vis.h preinclude
some newer binutils versions print scary warnings about protected data because most gcc versions fail to produce the right address references/relocations for such data that might be subject to copy relocations. originally vis.h explicitly assigned default visibility to all public data symbols to avoid this issue, but commit b8dda24fe1caa901a99580f7a52defb95aedb67c removed this treatment for stdin/out/err to work around a gcc 3.x bug, and since they don't actually need it (because taking their addresses is not valid C). instead, a check for the gcc 3.x bug is added to the configure check for vis.h preinclude support; this feature will simply be disabled when using a buggy version of gcc.
Diffstat (limited to 'arch')
0 files changed, 0 insertions, 0 deletions