diff options
author | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 00:23:40 +0000 |
---|---|---|
committer | rpaulo <rpaulo@FreeBSD.org> | 2010-08-24 00:23:40 +0000 |
commit | 57bdb49e0c58bd5e0f158543f28aaef8711600c0 (patch) | |
tree | 02c2062feb8017cbc3f382d15dd6300a14349d07 /usr.sbin/pc-sysinstall | |
parent | c3a399c4ba4528500fec8cd412c88c10c7f637f5 (diff) | |
download | FreeBSD-src-57bdb49e0c58bd5e0f158543f28aaef8711600c0.zip FreeBSD-src-57bdb49e0c58bd5e0f158543f28aaef8711600c0.tar.gz |
Mark the following static variables as __used__ instead of __unused__:
o force_to_data
o __CTOR_LIST__
o __do_global_dtors_aux_fini_array_entry
o __frame_dummy_init_array_entry
This is necessary because Clang is smart enough to optimize out these
variables was they were marked as __unused__ (and they are also static).
The end result was programs segfaulting because these symbols weren't
present.
This follows the upstream revision 159228 and the author of that
revision (Jan Hubicka <jh at suse.de>) allowed us to backport this to our
GPLv2 GCC.
Discussed with: core
Diffstat (limited to 'usr.sbin/pc-sysinstall')
0 files changed, 0 insertions, 0 deletions