mirror of
https://github.com/bminor/binutils-gdb.git
synced 2025-12-27 17:40:49 +00:00
Define TLS in bfd.c if not already defined
If configure decides that thread-local storage isn't available, it does not define "TLS". However, this is used unconditionally in a definition. So, define it if it isn't already defined.
This commit is contained in:
@@ -719,6 +719,12 @@ EXTERNAL
|
||||
#define EXIT_FAILURE 1
|
||||
#endif
|
||||
|
||||
/* Configure will leave this undefined, but it's unconditionally used
|
||||
in a definition later. */
|
||||
#ifndef TLS
|
||||
#define TLS
|
||||
#endif
|
||||
|
||||
|
||||
/* provide storage for subsystem, stack and heap data which may have been
|
||||
passed in on the command line. Ld puts this data into a bfd_link_info
|
||||
|
||||
Reference in New Issue
Block a user