X-Git-Url: https://oss.titaniummirror.com/gitweb?p=msp430-binutils.git;a=blobdiff_plain;f=ld%2Fscripttempl%2Fepocpe.sc;fp=ld%2Fscripttempl%2Fepocpe.sc;h=0651c017008b18fe20efad8405e5ffb53b5f09c6;hp=eda6696b59ab43e0d8d207632e51d2061bb20553;hb=88750007d7869f178f0ba528f41efd3b74c424cf;hpb=6df9443a374e2b81278c61b8afc0a1eef7db280b diff --git a/ld/scripttempl/epocpe.sc b/ld/scripttempl/epocpe.sc index eda6696..0651c01 100644 --- a/ld/scripttempl/epocpe.sc +++ b/ld/scripttempl/epocpe.sc @@ -41,7 +41,7 @@ ${RELOCATING-OUTPUT_FORMAT(${RELOCATEABLE_OUTPUT_FORMAT})} ${LIB_SEARCH_DIRS} -ENTRY(_mainCRTStartup) +${RELOCATING+ENTRY (_mainCRTStartup)} SECTIONS { @@ -52,6 +52,7 @@ SECTIONS ${R_TEXT} *(.glue_7t) *(.glue_7) + ${RELOCATING+ *(.text.*)} ${CONSTRUCTING+ ___CTOR_LIST__ = .; __CTOR_LIST__ = . ; LONG (-1); *(.ctors); *(.ctor); LONG (0); } ${CONSTRUCTING+ ___DTOR_LIST__ = .; __DTOR_LIST__ = . ;