Add missing -Wl,--end-group and always use __start
Change-Id: I1b98114f3ca851f580a581d1707f349215405643 Signed-off-by: Anas Nashif <anas.nashif@intel.com>
This commit is contained in:
parent
99c8755010
commit
e3d4ce5eaf
1 changed files with 2 additions and 0 deletions
|
@ -48,8 +48,10 @@ linker_params()
|
|||
echo "-Wl,-Map,./${2}" >> ${1}
|
||||
echo "-L ${objtree}/include/generated" >> ${1}
|
||||
echo "-u _OffsetAbsSyms -u _ConfigAbsSyms" >> ${1}
|
||||
echo "-Wl,-e,__start" >> ${1}
|
||||
echo "-Wl,--start-group ${KBUILD_TIMO_MAIN}" >> ${1}
|
||||
echo "${objtree}/include/generated/offsets.o" >> ${1}
|
||||
echo "-Wl,--end-group" >> ${1}
|
||||
echo "${LIB_INCLUDE_DIR} ${LIBS}" >> ${1}
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue