Annotation of wikisrc/projects/project/build-kernel-pie.mdwn, revision 1.4

1.1       maxv        1: [[!template id=project
                      2: 
                      3: title="Build the kernel as PIE"
                      4: 
                      5: contact="""
                      6: [tech-kern](mailto:tech-kern@NetBSD.org)
                      7: """
                      8: 
1.2       maxv        9: category="kernel"
1.1       maxv       10: difficulty="medium"
1.4     ! maxv       11: done_by="Maxime Villard"
1.1       maxv       12: 
                     13: description="""
                     14: Add a toolchain infrastructure that allows the kernel to be compiled as
                     15: Position Independent Executable (PIE). Typically, having the kernel compiled
                     16: as a kernel module itself - using the already-existing infrastructure - would
                     17: be a good start. Then, some choices and proposals can be made to optimize
                     18: performance of the kernel binary at the instruction level.
                     19: 
                     20: Deliverables:
1.3       maxv       21: 
1.1       maxv       22: * A set of Makefile changes that allow to build a PIE kernel at least on amd64
                     23:   and i386.
                     24: * If possible, an evaluation of the performance cost.
                     25: 
                     26: It may be a little difficult to test the implementation, because the kernel
                     27: won't boot. But as long as the kernel ELF binary is structurally correct it's
                     28: fine.
                     29: """
                     30: 
                     31: ]]
                     32: 

CVSweb for NetBSD wikisrc <wikimaster@NetBSD.org> software: FreeBSD-CVSweb