File tree Expand file tree Collapse file tree 3 files changed +21
-0
lines changed
Expand file tree Collapse file tree 3 files changed +21
-0
lines changed Original file line number Diff line number Diff line change @@ -15,6 +15,7 @@ DefaultEnvironment(tools=[])
1515env = Environment (tools = ['mingw' ],
1616 AS = rtconfig .AS , ASFLAGS = rtconfig .AFLAGS ,
1717 CC = rtconfig .CC , CCFLAGS = rtconfig .CFLAGS ,
18+ CXX = rtconfig .CXX , CXXFLAGS = rtconfig .CXXFLAGS ,
1819 AR = rtconfig .AR , ARFLAGS = '-rc' ,
1920 LINK = rtconfig .LINK , LINKFLAGS = rtconfig .LFLAGS )
2021env .PrependENVPath ('PATH' , rtconfig .EXEC_PATH )
Original file line number Diff line number Diff line change @@ -78,6 +78,25 @@ SECTIONS
7878 *(.sdata .*)
7979 }
8080
81+ . = ALIGN (4 );
82+ .ctors :
83+ {
84+ PROVIDE (__ctors_start__ = .);
85+ KEEP (*(SORT (.ctors .*)))
86+ KEEP (*(.ctors ))
87+ PROVIDE (__ctors_end__ = .);
88+ }
89+
90+ .dtors :
91+ {
92+ PROVIDE (__dtors_start__ = .);
93+ KEEP (*(SORT (.dtors .*)))
94+ KEEP (*(.dtors ))
95+ PROVIDE (__dtors_end__ = .);
96+ }
97+
98+
99+
81100 .stack :
82101 {
83102 . = ALIGN (8 );
Original file line number Diff line number Diff line change 3131
3232PREFIX = 'mips-sde-elf-'
3333CC = PREFIX + 'gcc'
34+ CXX = PREFIX + 'g++'
3435AS = PREFIX + 'gcc'
3536AR = PREFIX + 'ar'
3637LINK = PREFIX + 'gcc'
You can’t perform that action at this time.
0 commit comments