On 03/08/2018 07:53 PM, Jiří Zárevúcky wrote:
> I'm noticing that there are quite a few conditional parts in ia32
> linker script. As you may know, I consider unnecessary conditional
> compilation to be An Evil Thing, thus I have to ask: Is there actually
> a technical reason why we can't have the same linker script for all
> configurations?

The loader must not be loaded at the same address as the application it
is trying to load, hence there is a distinction between the loader and
an ordinary application. Also, statically and dynamically loaded stuff
is different, requires different headers and different sections.

Jakub

_______________________________________________
HelenOS-devel mailing list
[email protected]
http://lists.modry.cz/listinfo/helenos-devel

Reply via email to