[PATCH 4/4] x86 boot: Tell ld the kernel doesn't want 2MB file offset alignment.

2012-07-09 Thread Eric W. Biederman
By default ld uses 2MB pages and aligns our 3 program segments in the file on 2MB boundaries, creating unnecessarily large uncompressed vmlinux files. Solve this by passing -z max-page-size 4096 to ld. In my test x86_64 SMP test configuration with CONFIG_DEBUG_RODATA enabled, this reduces the

[PATCH 4/4] x86 boot: Tell ld the kernel doesn't want 2MB file offset alignment.

2012-07-09 Thread Eric W. Biederman
By default ld uses 2MB pages and aligns our 3 program segments in the file on 2MB boundaries, creating unnecessarily large uncompressed vmlinux files. Solve this by passing -z max-page-size 4096 to ld. In my test x86_64 SMP test configuration with CONFIG_DEBUG_RODATA enabled, this reduces the