]> oss.titaniummirror.com Git - msp430-binutils.git/blobdiff - ld/scripttempl/mcorepe.sc
Merge commit 'upstream/2.20'
[msp430-binutils.git] / ld / scripttempl / mcorepe.sc
index 6f928aadd2d5cf51d68004efa6425c204f5d8767..511fdb1f898ecd0485fde5f7753ad5d8471fa6a7 100644 (file)
@@ -47,7 +47,7 @@ fi
 cat <<EOF
 ${LIB_SEARCH_DIRS}
 
-ENTRY(_mainCRTStartup)
+${RELOCATING+ENTRY (_mainCRTStartup)}
 
 SECTIONS
 {
@@ -56,6 +56,7 @@ SECTIONS
     ${RELOCATING+ *(.init)}
     *(.text)
     ${R_TEXT}
+    ${RELOCATING+ *(.text.*)}
     *(.glue_7t)
     *(.glue_7)
     ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ;