[ros-diffs] [sir_richard] 49748: [FREELDR]: Add linker script for ARM as well. We drop the relocation section as it shouldn't be needed.

sir_richard at svn.reactos.org sir_richard at svn.reactos.org
Tue Nov 23 17:21:30 UTC 2010


Author: sir_richard
Date: Tue Nov 23 17:21:30 2010
New Revision: 49748

URL: http://svn.reactos.org/svn/reactos?rev=49748&view=rev
Log:
[FREELDR]: Add linker script for ARM as well. We drop the relocation section as it shouldn't be needed.

Added:
    trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk   (with props)

Added: trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk?rev=49748&view=auto
==============================================================================
--- trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk (added)
+++ trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk [iso-8859-1] Tue Nov 23 17:21:30 2010
@@ -1,0 +1,54 @@
+OUTPUT_FORMAT(pei-arm-wince-little)
+SECTIONS
+{
+  .text  __image_base__ + __section_alignment__  : 
+  {
+    __text_start__ = .;
+    *(.init)
+    *(.text)
+    *(SORT(.text$*))
+    *(.glue_7t)
+    *(.glue_7)
+     ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
+			LONG (-1); *(.ctors); *(.ctor); LONG (0); 
+     ___DTOR_LIST__ = .; __DTOR_LIST__ = . ; 
+			LONG (-1); *(.dtors); *(.dtor);  LONG (0); 
+     *(.fini)
+    /* ??? Why is .gcc_exc here?  */
+     *(.gcc_exc)
+     __text_end__ = .;
+    *(.gcc_except_table)
+  }
+  init BLOCK(__section_alignment__) :
+  {
+    __init_start__ = . ;
+    *(init)
+    __init_end__ = . ;
+  }
+  .data BLOCK(__section_alignment__) : 
+  {
+    __data_start__ = . ;
+    *(.data)
+    *(.data2)
+    *(SORT(.data$*))
+    __data_end__ = . ;
+    __bss_start__ = . ;
+    *(.bss)
+    *(COMMON)
+    __bss_end__ = . ;
+  }
+  .rdata BLOCK(__section_alignment__) :
+  {
+    *(.rdata)
+    *(SORT(.rdata$*))
+    *(.eh_frame)
+  }
+  /DISCARD/ :
+  {
+    [ .stab ]
+    [ .stabstr ]
+	*(.reloc)
+  }
+
+}
+

Propchange: trunk/reactos/boot/freeldr/freeldr/freeldr_arm.lnk
------------------------------------------------------------------------------
    svn:eol-style = native




More information about the Ros-diffs mailing list