Skip to content

Commit

Permalink
the clang binary never shrinks, especially since it is statically
Browse files Browse the repository at this point in the history
linked (for performance).  in this case, it grew larger than the
maximum text segment size; increase that size.
  • Loading branch information
deraadt committed Feb 1, 2024
1 parent ddf4db4 commit b3424f9
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions sys/arch/arm/include/vmparam.h
@@ -1,4 +1,4 @@
/* $OpenBSD: vmparam.h,v 1.19 2018/03/05 01:39:13 deraadt Exp $ */
/* $OpenBSD: vmparam.h,v 1.20 2024/02/01 00:39:57 deraadt Exp $ */
/* $NetBSD: vmparam.h,v 1.18 2003/05/21 18:04:44 thorpej Exp $ */

/*
Expand Down Expand Up @@ -46,7 +46,8 @@
#define USRSTACK VM_MAXUSER_ADDRESS
#define KERNBASE VM_MAXUSER_ADDRESS

#define MAXTSIZ (64*1024*1024) /* max text size */
#define MAXTSIZ (128*1024*1024) /* max text size */

#ifndef DFLDSIZ
#define DFLDSIZ (128*1024*1024) /* initial data size limit */
#endif
Expand Down

0 comments on commit b3424f9

Please sign in to comment.