1
0
Fork 0
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:
Stefan Lankes 2016-08-15 12:44:25 +02:00
parent adfbb2fe86
commit c38fe14dad

View file

@ -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);