Module Name:    src
Committed By:   christos
Date:           Fri Dec 30 02:05:38 UTC 2022

Modified Files:
        src/doc: HACKS

Log Message:
mention binutils hack


To generate a diff of this commit:
cvs rdiff -u -r1.232 -r1.233 src/doc/HACKS

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/doc/HACKS
diff -u src/doc/HACKS:1.232 src/doc/HACKS:1.233
--- src/doc/HACKS:1.232	Sun Dec  4 17:35:15 2022
+++ src/doc/HACKS	Thu Dec 29 21:05:38 2022
@@ -1,4 +1,4 @@
-# $NetBSD: HACKS,v 1.232 2022/12/04 22:35:15 jakllsch Exp $
+# $NetBSD: HACKS,v 1.233 2022/12/30 02:05:38 christos Exp $
 #
 # This file is intended to document workarounds for currently unsolved
 # (mostly) compiler bugs.
@@ -1072,3 +1072,17 @@ descr
 	clang 13.0.0 miscompiles copy{in,out}() with -O[12]. As a result,
 	kernel cannot execute /sbin/init.
 kcah
+
+hack	Clamp max-page-size in ld to 4K when using relro to avoid 2M binary
+	bloat
+cdate	Thu Dec 29 21:02:43 EST 2022
+who	christos
+port	x86, aarch64
+file	share/mk/bsd.sys.mk: 1.309
+pr	57147
+descr
+	binutils 2.38+ fix for
+	https://sourceware.org/bugzilla/show_bug.cgi?id=28824
+	results in a 2M binary bloat when using relro because of the relro
+	segment alignment. There is no upstream fix yet.
+kcah

Reply via email to