diff options
Diffstat (limited to 'gnu/usr.bin/binutils/ld/scripttempl/mmo.sc')
-rw-r--r-- | gnu/usr.bin/binutils/ld/scripttempl/mmo.sc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/usr.bin/binutils/ld/scripttempl/mmo.sc b/gnu/usr.bin/binutils/ld/scripttempl/mmo.sc index b93953db53a..643b349539e 100644 --- a/gnu/usr.bin/binutils/ld/scripttempl/mmo.sc +++ b/gnu/usr.bin/binutils/ld/scripttempl/mmo.sc @@ -55,7 +55,7 @@ SECTIONS ${RELOCATING+ PROVIDE(_etext = .);} ${RELOCATING+ PROVIDE(__etext = .);} } - ${RELOCATING+Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : . - SIZEOF (.text));} + ${RELOCATING+Main = DEFINED (Main) ? Main : (DEFINED (_start) ? _start : ADDR (.text));} .stab 0 : { *(.stab) } .stabstr 0 : { *(.stabstr) } |