* scripttempl/mmo.sc: Move assignment to "Main" inside .text
authorAlan Modra <amodra@gmail.com>
Tue, 31 Aug 2010 05:11:29 +0000 (05:11 +0000)
committerAlan Modra <amodra@gmail.com>
Tue, 31 Aug 2010 05:11:29 +0000 (05:11 +0000)
output section statement.

ld/ChangeLog
ld/scripttempl/mmo.sc

index ac418d19c72b17de06c7cc0308cac699e2f8831e..24cf64cd5d1749237fc1bafc2441e11f80378320 100644 (file)
@@ -1,3 +1,8 @@
+2010-08-31  Alan Modra  <amodra@gmail.com>
+
+       * scripttempl/mmo.sc: Move assignment to "Main" inside .text
+       output section statement.
+
 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
 
        PR ld/11946
index 33808846ac7e3de375c4d8b2f75d961976e0a64b..a70b312d0dcebc39b9473969406c334ad6457aee 100644 (file)
@@ -60,8 +60,8 @@ SECTIONS
     ${RELOCATING+ PROVIDE(etext = .);}
     ${RELOCATING+ PROVIDE(_etext = .);}
     ${RELOCATING+ PROVIDE(__etext = .);}
+    ${RELOCATING+Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : ADDR (.text));}
   }
-  ${RELOCATING+Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : ADDR (.text));}
 
   .stab 0 : { *(.stab) }
   .stabstr 0 : { *(.stabstr) }
This page took 0.02551 seconds and 4 git commands to generate.