mirror of
https://github.com/taigrr/gopher-os
synced 2025-01-18 04:43:13 -08:00
The go compiler exposes a fully qualified symbol for kernel.Kmain that also includes the full package name (github.com/.../kernel.Kmain). Since nasm cannot work with external symbols that include slashes we use objcopy to create an alias symbol "kernel.Kmain" that points to the symbol generated by the go compiler. To use the "--add-symbol" argument we need to use objcopy 2.6+. The makefile was modified to include an additional pre-compile check for the installed objcopy version.
Description
Languages
Go
84.9%
ASL
10.2%
Assembly
4%
Makefile
0.9%