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=d5da4f291af551c0b8b79e1d4a9b173d60e5c10e;hpb=7b5ea4fcdf2819e070665ab5610f8b48e3867c10 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__ = . ;