mirror of
https://github.com/darlinghq/darling-gdb.git
synced 2025-02-19 09:02:21 +00:00
* scripttempl/mmo.sc: Move assignment to "Main" inside .text
output section statement.
This commit is contained in:
parent
447394e370
commit
6be999b866
@ -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>
|
2010-08-25 H.J. Lu <hongjiu.lu@intel.com>
|
||||||
|
|
||||||
PR ld/11946
|
PR ld/11946
|
||||||
|
@ -60,8 +60,8 @@ SECTIONS
|
|||||||
${RELOCATING+ PROVIDE(etext = .);}
|
${RELOCATING+ PROVIDE(etext = .);}
|
||||||
${RELOCATING+ PROVIDE(_etext = .);}
|
${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) }
|
.stab 0 : { *(.stab) }
|
||||||
.stabstr 0 : { *(.stabstr) }
|
.stabstr 0 : { *(.stabstr) }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user