зеркало из https://github.com/mozilla/pjs.git
Backout bug 661800 (changeset d95b370f0f85) because of bug 664362
This commit is contained in:
Родитель
5ffb98df92
Коммит
44128c9a1e
|
@ -448,9 +448,6 @@ public:
|
|||
// be better handled than special cases
|
||||
if ((p_type == PT_DYNAMIC) && (section->getType() != SHT_DYNAMIC))
|
||||
return false;
|
||||
// Special case for PT_TLS.
|
||||
if ((p_type == PT_TLS) && !(section->getFlags() & SHF_TLS))
|
||||
return false;
|
||||
return (addr >= p_vaddr) &&
|
||||
(addr + size <= p_vaddr + p_memsz);
|
||||
|
||||
|
|
|
@ -115,10 +115,8 @@ __attribute__((visibility("default"))) int print_status() {
|
|||
}
|
||||
|
||||
/* On ARM, this creates a .tbss section before .init_array, which
|
||||
* elfhack could then pick instead of .init_array.
|
||||
* Also, when .tbss is big enough, elfhack may wrongfully consider
|
||||
* following sections as part of the PT_TLS segment. */
|
||||
__thread int foo[1024];
|
||||
* elfhack could then pick instead of .init_array */
|
||||
__thread int foo;
|
||||
|
||||
__attribute__((constructor)) void end_test() {
|
||||
static int count = 0;
|
||||
|
|
Загрузка…
Ссылка в новой задаче