Home | History | Annotate | Download | only in conf
History log of /src/sys/arch/sun2/conf/kern.ldscript
RevisionDateAuthorComments
 1.1  30-Aug-2021  christos use -ffunction-sections -fdata-sections --gc-sections with an ldscript
that keeps _start. This deletes all unused code and shrinks the RAMDISK
kernel enough to be able to boot again:

-rwxr-xr-x 1 root src 2519436 Aug 30 06:38 RAMDISK.1/netbsd*
-rwxr-xr-x 1 root src 2104440 Aug 30 07:41 RAMDISK/netbsd*

text data bss dec hex filename
1525412 686252 63552 2275216 22b790 RAMDISK.1/netbsd
1098524 686400 67008 1851932 1c421c RAMDISK/netbsd

RSS XML Feed