mirror of
https://github.com/Rockbox/rockbox.git
synced 2026-05-12 11:43:16 -04:00
On FS#13821, a test build with -fstack-protector-all (which adds 4 bytes of stack to each function, roughly) overflowed the dircache stack on the Hifiwalker H2. In my own testing, the dircache thread hit 94% stack use on the Fiio M3K using the same settings. That seems a bit too close to the limit, especially since the dircache uses recursion and might consume more stack space for deeply nested directories. Adding 768 bytes should provide enough of a safety margin. This increases the stack size from 1.25k to 2k on most targets, including all X1000 targets. Change-Id: I900c19da9fb33f539d02b00830aedeb15c7449e2 |
||
|---|---|---|
| .. | ||
| _ansi.h | ||
| adler32.h | ||
| ap_int.h | ||
| assert.h | ||
| bitarray.h | ||
| buflib.h | ||
| buflib_malloc.h | ||
| buflib_mempool.h | ||
| checksum.h | ||
| chunk_alloc.h | ||
| core_alloc.h | ||
| crc32-rkw.h | ||
| crc32.h | ||
| dbgcheck.h | ||
| diacritic.h | ||
| dir.h | ||
| dircache.h | ||
| dircache_redirect.h | ||
| disk_cache.h | ||
| elf-target.h | ||
| elf.h | ||
| elf_loader.h | ||
| file.h | ||
| file_internal.h | ||
| fileobj_mgr.h | ||
| filesystem-native.h | ||
| font_cache.h | ||
| fs_attr.h | ||
| fs_defines.h | ||
| gcc_extensions.h | ||
| inflate.h | ||
| linked_list.h | ||
| loader_strerror.h | ||
| lru.h | ||
| memset16.h | ||
| rb-loader.h | ||
| rb_namespace.h | ||
| rbendian.h | ||
| rbunicode.h | ||
| strcasecmp.h | ||
| strcasestr.h | ||
| string-extra.h | ||
| strlcat.h | ||
| strlcpy.h | ||
| strmemccpy.h | ||
| strnatcmp.h | ||
| strptokspn_r.h | ||
| strtok_r.h | ||
| timefuncs.h | ||
| version.h | ||
| vuprintf.h | ||
| zip.h | ||