Closed dennisaanstoot closed 8 years ago
I have committed the modifications to mmap.
The __thread thread-local functionality is part of the ELF file format, so I'm also leaving that define as it is now.
The getrss.c file is not part of the core library anymore, but it is part of the optional "example" files.
Sylvan wasn't able to build on OpenBSD due to a not checking for OpenBSD in getrss.c, and checking for the ELF definition for tls support, while OpenBSD doesn't support that.
Also, mmap was used incorrectly. fd should be -1 when not passing a file.