mirror of
https://github.com/reactos/reactos.git
synced 2025-07-29 23:22:40 +00:00
- Build freeldr_arch first -- otherwise the fact you specific a file as "first = true" won't do anything, since it will only be the "first" in its sub-build.
- This is required because freeldr is a binary file, and so the first function must be the start routine. - Freeldr_startup ironically does not contain the startup code, since startup code is arch-specific, it actually lives in freeldr_arch. - Also get rid of another ARM linker hack, and define the correct base address for FreeLDR on OMAP3450. - Need a platform-specific way of specifying this. svn path=/trunk/; revision=41982
This commit is contained in:
parent
f5af0cd513
commit
4c1ac0d33e
1 changed files with 2 additions and 3 deletions
|
@ -22,10 +22,10 @@
|
||||||
<if property="ARCH" value="arm">
|
<if property="ARCH" value="arm">
|
||||||
<module name="freeldr" type="bootloader" installbase=".." installname="freeldr.sys">
|
<module name="freeldr" type="bootloader" installbase=".." installname="freeldr.sys">
|
||||||
<bootstrap installbase="loader" />
|
<bootstrap installbase="loader" />
|
||||||
|
<library>freeldr_arch</library>
|
||||||
<library>freeldr_startup</library>
|
<library>freeldr_startup</library>
|
||||||
<library>freeldr_base64k</library>
|
<library>freeldr_base64k</library>
|
||||||
<library>freeldr_base</library>
|
<library>freeldr_base</library>
|
||||||
<library>freeldr_arch</library>
|
|
||||||
<library>freeldr_main</library>
|
<library>freeldr_main</library>
|
||||||
<library>rossym</library>
|
<library>rossym</library>
|
||||||
<library>cmlib</library>
|
<library>cmlib</library>
|
||||||
|
@ -33,8 +33,7 @@
|
||||||
<library>libcntpr</library>
|
<library>libcntpr</library>
|
||||||
<group linkerset="ld">
|
<group linkerset="ld">
|
||||||
<linkerflag>-lgcc</linkerflag>
|
<linkerflag>-lgcc</linkerflag>
|
||||||
<linkerflag>-static</linkerflag>
|
<linkerflag>-Wl,--image-base=0x80FFF000</linkerflag>
|
||||||
<linkerflag>-Wl,--section-start,pagedata=0x50000</linkerflag>
|
|
||||||
</group>
|
</group>
|
||||||
</module>
|
</module>
|
||||||
</if>
|
</if>
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue