Author: ros-arm-bringup
Date: Wed Jul 15 20:25:26 2009
New Revision: 41982
URL: http://svn.reactos.org/svn/reactos?rev=41982&view=rev
Log:
- 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.
Modified:
trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild
Modified: trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freel…
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] (original)
+++ trunk/reactos/boot/freeldr/freeldr/freeldr.rbuild [iso-8859-1] Wed Jul 15 20:25:26 2009
@@ -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>