Debian Codegraph @

debian/patches/hppa_stackbase.diff

raw symbols SCIP
1 Description: fix stack base detection on hppa
2 Author: John David Anglin <[email protected]>
3 Forwarded: not-yet
4 Last-Update: 2018-12-18
5
6 --- a/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp
7 +++ b/src/3rdparty/javascriptcore/JavaScriptCore/runtime/Collector.cpp
8 @@ -672,7 +672,12 @@ static inline void* currentThreadStackBa
9 pthread_attr_destroy(&sattr);
10 stackThread = thread;
11 }
12 +#if defined(__hppa__)
13 + // Stack grows up.
14 + return static_cast<char*>(stackBase);
15 +#else
16 return static_cast<char*>(stackBase) + stackSize;
17 +#endif
18 #else
19 #error Need a way to get the stack base on this platform
20 #endif