buildroot/package/gcc/11.4.0
Bernd Kuhls 75f7051590 package/gcc: or1k: Only define TARGET_HAVE_TLS when HAVE_AS_TLS
Backport upstream patch to fix build error seens with alsa-lib:
error.c:(.text+0x12c): undefined reference to `__tls_get_addr'

Fixes:
http://autobuild.buildroot.net/results/525ca7fe78015168c186ffda5fa52c0edb2071c9/

The fix is included in gcc 13.x.

Signed-off-by: Bernd Kuhls <bernd@kuhls.net>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
(cherry picked from commit 4ce0dacb60)
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2023-08-30 13:43:59 +02:00
..
0001-or1k-Add-mcmodel-option-to-handle-large-GOTs.patch
0002-or1k-Use-cmodel-large-when-building-crtstuff.patch
0003-gcc-define-_REENTRANT-for-OpenRISC-when-pthread-is-p.patch
0004-disable-split-stack-for-non-thread-builds.patch
0005-fixinc-don-t-fix-machine-names-in-__has_include-.-PR.patch
0006-or1k-Only-define-TARGET_HAVE_TLS-when-HAVE_AS_TLS.patch