diff options
author | imp <imp@FreeBSD.org> | 2014-11-29 17:29:30 +0000 |
---|---|---|
committer | imp <imp@FreeBSD.org> | 2014-11-29 17:29:30 +0000 |
commit | d737995628df5a4f316eee2f864017a1075f9f87 (patch) | |
tree | 5d677043192f44ec687bb4e64b96da4214efe946 /sys/sys/linker.h | |
parent | 9127a1f190de89d3c7ceaba11d8869557f181912 (diff) | |
download | FreeBSD-src-d737995628df5a4f316eee2f864017a1075f9f87.zip FreeBSD-src-d737995628df5a4f316eee2f864017a1075f9f87.tar.gz |
The current limit of 100k for the linker hints file is getting a bit
crowded as we now are at about 70k. Bump the limit to 1MB instead
which is still quite a reasonable limit and allows for future growth
of this file and possible future expansion to additional data.
MFC After: 2 weeks
Diffstat (limited to 'sys/sys/linker.h')
-rw-r--r-- | sys/sys/linker.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/sys/sys/linker.h b/sys/sys/linker.h index e09ff59..5d24f00 100644 --- a/sys/sys/linker.h +++ b/sys/sys/linker.h @@ -228,6 +228,7 @@ void *linker_hwpmc_list_objects(void); #endif #define LINKER_HINTS_VERSION 1 /* linker.hints file version */ +#define LINKER_HINTS_MAX (1 << 20) /* Allow at most 1MB for linker.hints */ #ifdef _KERNEL |