You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 9, 2018. It is now read-only.
Works and it doesn't implicitly link to libc or crt*.o like gcc does. But, because we didn't pass a linker script, the output binary doesn't have the right memory layout.
The problem is that lld doesn't support linker scripts as well as gcc/ld. In particular it doesn't support variables (e.g. header_start = .) or expressions (e.g. LONG(0)), though it does support "offsets" like . = 0x100000. This makes it impossible to implement the multiboot header in a linker script.
Works and it doesn't implicitly link to libc or crt*.o like
gcc
does. But, because we didn't pass a linker script, the output binary doesn't have the right memory layout.The problem is that
lld
doesn't support linker scripts as well asgcc
/ld
. In particular it doesn't support variables (e.g.header_start = .
) or expressions (e.g.LONG(0)
), though it does support "offsets" like. = 0x100000
. This makes it impossible to implement the multiboot header in a linker script.Update: Check the lld branch for more details.
The text was updated successfully, but these errors were encountered: