]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/scripttempl/ppcpe.sc
Imported binutils-2.20
[msp430-binutils.git] / ld / scripttempl / ppcpe.sc
index 40fbe33bb79e99000f3b369fcd242583657274ab..182fbe5544ec5467fc4561731afaccdca2432a51 100644 (file)
@@ -22,7 +22,7 @@ ${LIB_SEARCH_DIRS}
    "-u mainCRTStartup" to make sure it gets included in the link.
 */
 
-ENTRY(mainCRTStartup)
+${RELOCATING+ENTRY (mainCRTStartup)}
 
 SECTIONS
 {
@@ -32,6 +32,7 @@ SECTIONS
        {
            ${RELOCATING+ *(.init);}
            *(.text)
+           ${RELOCATING+ *(.text.*)}
            *(.gcc_except_table)
            ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; 
                        LONG (-1); *(.ctors); *(.ctor); LONG (0); }