- 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:
ReactOS Portable Systems Group 2009-07-15 18:25:26 +00:00
parent f5af0cd513
commit 4c1ac0d33e

View file

@ -22,10 +22,10 @@
<if property="ARCH" value="arm">
<module name="freeldr" type="bootloader" installbase=".." installname="freeldr.sys">
<bootstrap installbase="loader" />
<library>freeldr_arch</library>
<library>freeldr_startup</library>
<library>freeldr_base64k</library>
<library>freeldr_base</library>
<library>freeldr_arch</library>
<library>freeldr_main</library>
<library>rossym</library>
<library>cmlib</library>
@ -33,8 +33,7 @@
<library>libcntpr</library>
<group linkerset="ld">
<linkerflag>-lgcc</linkerflag>
<linkerflag>-static</linkerflag>
<linkerflag>-Wl,--section-start,pagedata=0x50000</linkerflag>
<linkerflag>-Wl,--image-base=0x80FFF000</linkerflag>
</group>
</module>
</if>