aboutsummaryrefslogtreecommitdiff
path: root/libgcc
diff options
context:
space:
mode:
authorIain Sandoe <iain@sandoe.co.uk>2021-11-21 10:49:29 +0000
committerIain Sandoe <iain@sandoe.co.uk>2021-11-26 19:40:27 +0000
commitcaa04517e6f78a562f36897a6e7171f0121101b4 (patch)
treef0357a7f6d40f308da822bb74344b36fb5797b65 /libgcc
parent4a2007594cff78fba6a29a0ec07fad31a7af19ff (diff)
downloadgcc-caa04517e6f78a562f36897a6e7171f0121101b4.zip
gcc-caa04517e6f78a562f36897a6e7171f0121101b4.tar.gz
gcc-caa04517e6f78a562f36897a6e7171f0121101b4.tar.bz2
libitm: Fix bootstrap for targets without HAVE_ELF_STYLE_WEAKREF.
Recent improvements to null address warnings notice that for targets that do not support HAVE_ELF_STYLE_WEAKREF the dummy stub implementation of __cxa_get_globals() means that the address can never be null. Fixed by removing the test for such targets. Signed-off-by: Iain Sandoe <iain@sandoe.co.uk> libitm/ChangeLog: * eh_cpp.cc (GTM::gtm_thread::init_cpp_exceptions): If the target does not support HAVE_ELF_STYLE_WEAKREF then do not try to test the __cxa_get_globals against NULL.
Diffstat (limited to 'libgcc')
0 files changed, 0 insertions, 0 deletions