mirror of
https://github.com/hermitcore/libhermit.git
synced 2025-03-09 00:00:03 +01:00
ignore TLS definition in the ELF file
This commit is contained in:
parent
adfbb2fe86
commit
c38fe14dad
1 changed files with 4 additions and 2 deletions
|
@ -72,7 +72,7 @@ void main(void)
|
|||
|
||||
if (limit < end_addr)
|
||||
limit = end_addr;
|
||||
|
||||
|
||||
kprintf("Free region 0x%zx - 0x%zx\n", start_addr, end_addr);
|
||||
}
|
||||
mmap = (multiboot_memory_map_t*) ((size_t) mmap + sizeof(uint32_t) + mmap->size);
|
||||
|
@ -158,7 +158,9 @@ void main(void)
|
|||
goto failed;
|
||||
}
|
||||
break;
|
||||
case ELF_PT_GNU_STACK: // Indicates stack executability => nothing todo
|
||||
case ELF_PT_GNU_STACK: // Indicates stack executability => nothing to do
|
||||
break;
|
||||
case ELF_PT_TLS: // Definition of the thread local storage => nothing to do
|
||||
break;
|
||||
default:
|
||||
kprintf("Unknown type %d\n", prog_header->type);
|
||||
|
|
Loading…
Add table
Reference in a new issue