Initial building of the vdso.
Not actually integrating with the kernel yet.
This commit is contained in:
@@ -43,6 +43,7 @@ ccflags = $
|
||||
$warnflags
|
||||
|
||||
asflags = $
|
||||
-I${srcroot}/src/include $
|
||||
-DVERSION_MAJOR={{ version_major }} $
|
||||
-DVERSION_MINOR={{ version_minor }} $
|
||||
-DVERSION_PATCH={{ version_patch }} $
|
||||
|
||||
9
scripts/templates/exe.vdso.j2
Normal file
9
scripts/templates/exe.vdso.j2
Normal file
@@ -0,0 +1,9 @@
|
||||
{% extends "exe.default.j2" %}
|
||||
{% block variables %}
|
||||
{{ super() }}
|
||||
ccflags = $ccflags -fPIC -mcmodel=large
|
||||
ldflags = $ldflags -shared -znotext -T ${srcroot}/src/arch/x86_64/vdso.ld
|
||||
{% endblock %}
|
||||
|
||||
# vim: ft=ninja et ts=4 sts=4 sw=4
|
||||
|
||||
Reference in New Issue
Block a user