X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Fscripttempl%2Fppcpe.sc;h=182fbe5544ec5467fc4561731afaccdca2432a51;hp=40fbe33bb79e99000f3b369fcd242583657274ab;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/scripttempl/ppcpe.sc b/ld/scripttempl/ppcpe.sc index 40fbe33..182fbe5 100644 --- a/ld/scripttempl/ppcpe.sc +++ b/ld/scripttempl/ppcpe.sc @@ -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); }